Package org.apache.solr.security
Class PublicKeyAPI
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.security.PublicKeyAPI
-
@Path("/node/key") public class PublicKeyAPI extends JerseyResource
V2 API for fetching the public key of the receiving node.This API is analogous to the v1 /admin/info/key endpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicKeyAPI.PublicKeyResponse
-
Field Summary
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description PublicKeyAPI(SolrNodeKeyPair nodeKeyPair)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyAPI.PublicKeyResponse
getPublicKey()
-
Methods inherited from class org.apache.solr.api.JerseyResource
instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
PublicKeyAPI
@Inject public PublicKeyAPI(SolrNodeKeyPair nodeKeyPair)
-
-
Method Detail
-
getPublicKey
@GET @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public PublicKeyAPI.PublicKeyResponse getPublicKey()
-
-