Class IdentityStoreRestService
java.lang.Object
fr.paris.lutece.plugins.identitystore.v1.web.rs.IdentityStoreRestService
REST service for channel resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetIdentity(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
-
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 IDstrCustomerId- customerIDstrHeaderClientAppCode- client codestrQueryClientAppCode- client code, will be removed, use Header parameter instead- Returns:
- the identity
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-