Class IdentityStoreRestService

java.lang.Object
fr.paris.lutece.plugins.identitystore.v2.web.rs.IdentityStoreRestService

@Path("/rest/identitystore/v2/identity") public final class IdentityStoreRestService extends Object
REST service for channel resource
  • Constructor Summary

    Constructors
    Constructor
    Description
    private constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    getIdentity(String strConnectionId, String strCustomerId, String strHeaderClientAppCode, String strQueryClientAppCode)
    Gives Identity from a connectionId or customerID either connectionId or customerId must be provided if connectionId AND customerId are provided, they must be consistent otherwise an AppException is thrown

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdentityStoreRestService

      public IdentityStoreRestService()
      private constructor
  • Method Details

    • getIdentity

      @GET @Produces("application/json") public javax.ws.rs.core.Response getIdentity(@QueryParam("connection_id") String strConnectionId, @QueryParam("customer_id") String strCustomerId, @HeaderParam("client_code") String strHeaderClientAppCode, @QueryParam("client_code") String strQueryClientAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      Gives Identity from a connectionId or customerID either connectionId or customerId must be provided if connectionId AND customerId are provided, they must be consistent otherwise an AppException is thrown
      Parameters:
      strConnectionId - connection ID
      strCustomerId - customerID
      strHeaderClientAppCode - client code
      strQueryClientAppCode - client code, will be removed, use Header parameter instead
      Returns:
      the identity
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException