Package org.apache.solr.security
Class GetPublicKey
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.security.GetPublicKey
-
- All Implemented Interfaces:
GetPublicKeyApi
public class GetPublicKey extends JerseyResource implements GetPublicKeyApi
V2 API implementation to fetch the public key of the receiving node.This API is analogous to the v1 /admin/info/key endpoint.
-
-
Field Summary
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description GetPublicKey(SolrNodeKeyPair nodeKeyPair)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyResponse
getPublicKey()
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
GetPublicKey
@Inject public GetPublicKey(SolrNodeKeyPair nodeKeyPair)
-
-
Method Detail
-
getPublicKey
public PublicKeyResponse getPublicKey()
- Specified by:
getPublicKey
in interfaceGetPublicKeyApi
-
-