public class AdminFilePathFilter extends ReflectiveFilePathFilter
FilePathFilter that allows admins to whitelist specific file access.
This class is just a glue, and the real logic happens inside AdminWhitelistRule
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminFilePathFilter.ChannelConfiguratorImpl |
| Modifier and Type | Field and Description |
|---|---|
static double |
ORDINAL
Local user preference should have higher priority than random FilePathFilters that
plugins might provide.
|
UNRESTRICTED| Constructor and Description |
|---|
AdminFilePathFilter(AdminWhitelistRule rule) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
op(String op,
File path) |
create, delete, mkdirs, read, stat, symlink, writecurrent, installTo, installTo, uninstallFrompublic static final double ORDINAL
public AdminFilePathFilter(AdminWhitelistRule rule)
protected boolean op(String op, File path) throws SecurityException
op in class ReflectiveFilePathFilterop - Name of the operation.SecurityExceptionCopyright © 2019. All rights reserved.