public class SecurityConfHandlerLocal extends SecurityConfHandler
SecurityConfHandler.SecurityConfig
PermissionNameProvider.Name
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Field and Description |
---|---|
protected Path |
securityJsonPath |
cores
appends, defaults, httpCaching, initArgs, invariants
ANY, NULL, values
TYPE
Constructor and Description |
---|
SecurityConfHandlerLocal(CoreContainer coreContainer) |
Modifier and Type | Method and Description |
---|---|
protected void |
getConf(SolrQueryResponse rsp,
String key) |
String |
getDescription()
Simple one or two line description
|
SecurityConfHandler.SecurityConfig |
getSecurityConfig(boolean getFresh)
Fetches security props from SOLR_HOME
|
protected boolean |
persistConf(SecurityConfHandler.SecurityConfig securityConfig)
Persist security.json to the source, optionally with a version
|
protected void |
securityConfEdited()
Hook where you can do stuff after a config has been edited.
|
getApis, getCategory, getListValue, getMapValue, getPermissionName, handleRequestBody, registerV2
getInitArgs, getMetricNames, getMetricRegistry, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricsSnapshot, registerMetricName
registerV1
protected Path securityJsonPath
public SecurityConfHandlerLocal(CoreContainer coreContainer)
public SecurityConfHandler.SecurityConfig getSecurityConfig(boolean getFresh)
getSecurityConfig
in class SecurityConfHandler
getFresh
- NOPprotected void getConf(SolrQueryResponse rsp, String key)
getConf
in class SecurityConfHandler
protected boolean persistConf(SecurityConfHandler.SecurityConfig securityConfig) throws IOException
SecurityConfHandler
persistConf
in class SecurityConfHandler
IOException
public String getDescription()
SolrInfoBean
getDescription
in interface SolrInfoBean
getDescription
in class SecurityConfHandler
protected void securityConfEdited()
SecurityConfHandler
securityConfEdited
in class SecurityConfHandler
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.