Package org.apache.solr.security
Class PublicKeyHandler
- java.lang.Object
- 
- org.apache.solr.handler.RequestHandlerBase
- 
- org.apache.solr.security.PublicKeyHandler
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- ApiSupport,- SolrInfoBean,- NestedRequestHandler,- SolrMetricProducer,- SolrRequestHandler,- PermissionNameProvider
 
 public class PublicKeyHandler extends RequestHandlerBase 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBaseRequestHandlerBase.HandlerMetrics
 - 
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProviderPermissionNameProvider.Name
 - 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBeanSolrInfoBean.Category, SolrInfoBean.Group
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringPATH- 
Fields inherited from class org.apache.solr.handler.RequestHandlerBaseaggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, solrMetricsContext
 - 
Fields inherited from interface org.apache.solr.security.PermissionNameProviderANY, NULL, values
 - 
Fields inherited from interface org.apache.solr.request.SolrRequestHandlerTYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description PublicKeyHandler()PublicKeyHandler(SolrNodeKeyPair nodeKeyPair)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Api>getApis()Returns any (non-JAX-RS annotated) APIs associated with this request handler.SolrInfoBean.CategorygetCategory()Category of this componentStringgetDescription()Simple one or two line descriptionCollection<Class<? extends JerseyResource>>getJerseyResources()Returns any JAX-RS annotated v2 APIs associated with this request handler.CryptoKeys.RSAKeyPairgetKeyPair()PermissionNameProvider.NamegetPermissionName(AuthorizationContext request)voidhandleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)BooleanregisterV2()Whether this request handler must be made available at the /v2/ path- 
Methods inherited from class org.apache.solr.handler.RequestHandlerBasegetInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, normalizeReceivedException, processErrorMetricsOnException, setPluginInfo
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.api.ApiSupportregisterV1
 - 
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducerclose
 
- 
 
- 
- 
- 
Field Detail- 
PATHpublic static final String PATH - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PublicKeyHandlerpublic PublicKeyHandler() 
 - 
PublicKeyHandlerpublic PublicKeyHandler(SolrNodeKeyPair nodeKeyPair) 
 
- 
 - 
Method Detail- 
getKeyPairpublic CryptoKeys.RSAKeyPair getKeyPair() 
 - 
handleRequestBodypublic void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception - Specified by:
- handleRequestBodyin class- RequestHandlerBase
- Throws:
- Exception
 
 - 
getDescriptionpublic String getDescription() Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
- getDescriptionin interface- SolrInfoBean
- Specified by:
- getDescriptionin class- RequestHandlerBase
 
 - 
getCategorypublic SolrInfoBean.Category getCategory() Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
- getCategoryin interface- SolrInfoBean
- Overrides:
- getCategoryin class- RequestHandlerBase
 
 - 
getPermissionNamepublic PermissionNameProvider.Name getPermissionName(AuthorizationContext request) 
 - 
registerV2public Boolean registerV2() Description copied from interface:ApiSupportWhether this request handler must be made available at the /v2/ path
 - 
getApispublic Collection<Api> getApis() Description copied from interface:ApiSupportReturns any (non-JAX-RS annotated) APIs associated with this request handler.- Specified by:
- getApisin interface- ApiSupport
- Overrides:
- getApisin class- RequestHandlerBase
- See Also:
- ApiSupport.getJerseyResources()
 
 - 
getJerseyResourcespublic Collection<Class<? extends JerseyResource>> getJerseyResources() Description copied from interface:ApiSupportReturns any JAX-RS annotated v2 APIs associated with this request handler.- See Also:
- ApiSupport.getApis()
 
 
- 
 
-