Class ModifyNoAuthzPluginSecurityConfigAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.ModifyNoAuthzPluginSecurityConfigAPI
-
public class ModifyNoAuthzPluginSecurityConfigAPI extends Object
V2 API for POST requests received when no authorization plugin is active.Solr's security APIs only supports authz config modifications once an Authorization plugin is in place. So this API serves solely as a placeholder that allows
SecurityConfHandler
to return a helpful error message (instead of the opaque 404 that users would get without this API).
-
-
Constructor Summary
Constructors Constructor Description ModifyNoAuthzPluginSecurityConfigAPI(SecurityConfHandler securityConfHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateAuthorizationConfig(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
ModifyNoAuthzPluginSecurityConfigAPI
public ModifyNoAuthzPluginSecurityConfigAPI(SecurityConfHandler securityConfHandler)
-
-
Method Detail
-
updateAuthorizationConfig
public void updateAuthorizationConfig(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-