Class IdentityResource


  • @Path("/v1/api/identity")
    public class IdentityResource
    extends java.lang.Object
    • Constructor Detail

      • IdentityResource

        public IdentityResource​(IdentityService identityService)
        Parameters:
        identityService -
    • Method Detail

      • findIdentityByCertificate

        @GET
        @Consumes("application/octet-stream")
        @Produces("application/json")
        public IdentityModel findIdentityByCertificate​(byte[] certificate)
                                                throws InvalidParseOperationException,
                                                       java.security.cert.CertificateException
        Parameters:
        certificate -
        Returns:
        Throws:
        java.security.cert.CertificateException
        InvalidParseOperationException
      • contextIsUsed

        @GET
        @Path("context/{contextId}")
        @Produces("application/json")
        public javax.ws.rs.core.Response contextIsUsed​(@PathParam("contextId")
                                                       java.lang.String contextId)
        Parameters:
        contextId -
        Returns:
        true if context is used
      • checkCertificatesExpiration

        @GET
        @Path("/check-expiration")
        @Produces("application/json")
        public javax.ws.rs.core.Response checkCertificatesExpiration()