Class IdentityResource
java.lang.Object
fr.gouv.vitam.security.internal.rest.resource.IdentityResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
javax.ws.rs.core.Response
contextIsUsed
(String contextId) findIdentityByCertificate
(byte[] certificate)
-
Constructor Details
-
IdentityResource
- 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()
-