Class IdentityResource

java.lang.Object
fr.gouv.vitam.security.internal.rest.resource.IdentityResource

@Path("/v1/api/identity") public class IdentityResource extends Object
  • Constructor Details

    • IdentityResource

      public IdentityResource(IdentityService identityService)
      Parameters:
      identityService -
  • Method Details

    • findIdentityByCertificate

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

      @GET @Path("context/{contextId}") @Produces("application/json") public javax.ws.rs.core.Response contextIsUsed(@PathParam("contextId") 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()