Class ModifyNoAuthPluginSecurityConfigAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.ModifyNoAuthPluginSecurityConfigAPI
-
public class ModifyNoAuthPluginSecurityConfigAPI extends Object
V2 API for POST requests received when no authentication plugin is active.Solr's security APIs only supports authc config modifications once an Authentication 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 ModifyNoAuthPluginSecurityConfigAPI(SecurityConfHandler securityConfHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateAuthenticationConfig(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
ModifyNoAuthPluginSecurityConfigAPI
public ModifyNoAuthPluginSecurityConfigAPI(SecurityConfHandler securityConfHandler)
-
-
Method Detail
-
updateAuthenticationConfig
public void updateAuthenticationConfig(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-