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, write
current, installTo, installTo, uninstallFrom
public static final double ORDINAL
public AdminFilePathFilter(AdminWhitelistRule rule)
protected boolean op(String op, File path) throws SecurityException
op
in class ReflectiveFilePathFilter
op
- Name of the operation.SecurityException
Copyright © 2015. All rights reserved.