public class RuleBasedAuthorizationPlugin extends Object implements AuthorizationPlugin, ConfigEditablePlugin
| Constructor and Description |
|---|
RuleBasedAuthorizationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationResponse |
authorize(AuthorizationContext context) |
void |
close() |
Map<String,Object> |
edit(Map<String,Object> latestConf,
List<CommandOperation> commands)
Operate the commands on the latest conf and return a new conf object
If there are errors in the commands , throw a SolrException.
|
void |
init(Map<String,Object> initInfo) |
public AuthorizationResponse authorize(AuthorizationContext context)
authorize in interface AuthorizationPluginpublic void init(Map<String,Object> initInfo)
init in interface AuthorizationPluginpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Map<String,Object> edit(Map<String,Object> latestConf, List<CommandOperation> commands)
ConfigEditablePluginedit in interface ConfigEditablePluginCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.