Class IdentityStoreRestService


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getIdentity​(java.lang.String strConnectionId, java.lang.String strCustomerId, java.lang.String strHeaderClientAppCode, java.lang.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 Detail

      • IdentityStoreRestService

        public IdentityStoreRestService()
        private constructor
    • Method Detail

      • getIdentity

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getIdentity​(@QueryParam("connection_id")
                                                     java.lang.String strConnectionId,
                                                     @QueryParam("customer_id")
                                                     java.lang.String strCustomerId,
                                                     @HeaderParam("client_code")
                                                     java.lang.String strHeaderClientAppCode,
                                                     @QueryParam("client_code")
                                                     java.lang.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