Class AdminIdentityResource
- java.lang.Object
-
- fr.gouv.vitam.security.internal.rest.resource.AdminIdentityResource
-
@Path("/v1/api/identity") public class AdminIdentityResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AdminIdentityResource(IdentityService identityService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createIdentity(IdentityInsertModel identityInsertModel, javax.ws.rs.core.UriInfo uri)
IdentityModel
linkContextToIdentity(IdentityInsertModel identityInsertModel, javax.ws.rs.core.UriInfo uri)
-
-
-
Constructor Detail
-
AdminIdentityResource
public AdminIdentityResource(IdentityService identityService)
- Parameters:
identityService
-
-
-
Method Detail
-
createIdentity
@POST @Consumes("application/json") public javax.ws.rs.core.Response createIdentity(IdentityInsertModel identityInsertModel, @Context javax.ws.rs.core.UriInfo uri) throws InvalidParseOperationException, java.security.cert.CertificateException
- Parameters:
identityInsertModel
-uri
-- Returns:
- Throws:
InvalidParseOperationException
java.security.cert.CertificateException
-
linkContextToIdentity
@PUT @Produces("application/json") @Consumes("application/json") public IdentityModel linkContextToIdentity(IdentityInsertModel identityInsertModel, @Context javax.ws.rs.core.UriInfo uri) throws InvalidParseOperationException, java.security.cert.CertificateException
- Parameters:
identityInsertModel
-uri
-- Returns:
- Throws:
InvalidParseOperationException
java.security.cert.CertificateException
-
-