Class AdminIdentityResource
java.lang.Object
fr.gouv.vitam.security.internal.rest.resource.AdminIdentityResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createIdentity
(IdentityInsertModel identityInsertModel, javax.ws.rs.core.UriInfo uri) linkContextToIdentity
(IdentityInsertModel identityInsertModel, javax.ws.rs.core.UriInfo uri)
-
Constructor Details
-
AdminIdentityResource
- Parameters:
identityService
-
-
-
Method Details
-
createIdentity
@POST @Consumes("application/json") public javax.ws.rs.core.Response createIdentity(IdentityInsertModel identityInsertModel, @Context javax.ws.rs.core.UriInfo uri) throws InvalidParseOperationException, CertificateException - Parameters:
identityInsertModel
-uri
-- Returns:
- Throws:
InvalidParseOperationException
CertificateException
-
linkContextToIdentity
@PUT @Produces("application/json") @Consumes("application/json") public IdentityModel linkContextToIdentity(IdentityInsertModel identityInsertModel, @Context javax.ws.rs.core.UriInfo uri) throws InvalidParseOperationException, CertificateException - Parameters:
identityInsertModel
-uri
-- Returns:
- Throws:
InvalidParseOperationException
CertificateException
-