Package fr.gouv.vitam.security.internal.rest.resource

# Class AdminIdentityResource

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

@Path("/v1/api/identity") public class AdminIdentityResource extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AdminIdentityResource(IdentityService identityService)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  `createIdentity(IdentityInsertModel identityInsertModel, jakarta.ws.rs.core.UriInfo uri)`
  `IdentityModel`
  `linkContextToIdentity(IdentityInsertModel identityInsertModel, jakarta.ws.rs.core.UriInfo uri)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AdminIdentityResource

    public AdminIdentityResource(IdentityService identityService)
    Parameters:
      `identityService` -

- ## Method Details

  - ### createIdentity

    @POST @Consumes("application/json") public jakarta.ws.rs.core.Response createIdentity(IdentityInsertModel identityInsertModel, @Context jakarta.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 jakarta.ws.rs.core.UriInfo uri) throws InvalidParseOperationException, CertificateException
    Parameters:
      `identityInsertModel` -
      `uri` -
    Returns:
    Throws:
      `InvalidParseOperationException`
      `CertificateException`