Package org.apache.solr.security
Interface ConfigEditablePlugin
-
- All Known Implementing Classes:
BasicAuthPlugin
,ExternalRoleRuleBasedAuthorizationPlugin
,MultiAuthPlugin
,MultiAuthRuleBasedAuthorizationPlugin
,RuleBasedAuthorizationPlugin
,RuleBasedAuthorizationPluginBase
,Sha256AuthenticationProvider
public interface ConfigEditablePlugin
An interface to be implemented by a Plugin whose Configuration is runtime editable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
edit(Map<String,Object> latestConf, List<org.apache.solr.common.util.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.
-
-
-
Method Detail
-
edit
Map<String,Object> edit(Map<String,Object> latestConf, List<org.apache.solr.common.util.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. return a null if no changes are to be made as a result of this edit. It is the responsibility of the implementation to ensure that the returned config is valid . The framework does no validation of the data
-
-