public final class IdentityStoreRestService extends Object
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
Creates an identity only if the identity does not already exist.
The identity is created from the provided attributes. |
javax.ws.rs.core.Response |
deleteIdentity(String strConnectionId,
String strHeaderClientAppCode,
String strQueryClientAppCode)
Deletes an identity from the specified connectionId
|
javax.ws.rs.core.Response |
downloadFileAttribute(String strConnectionId,
String strHeaderClientAppCode,
String strQueryClientAppCode,
String strAttributeKey)
returns requested file matching attributeKey / connectionId if application is authorized
|
javax.ws.rs.core.Response |
getApplicationRights(String strClientAppCode)
Gives list of application rights according to its application code, it miss must be consistent otherwise an AppException is thrown
|
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
|
javax.ws.rs.core.Response |
updateIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
update identity method
|
public javax.ws.rs.core.Response getIdentity(String strConnectionId, String strCustomerId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode)
strConnectionId
- connection IDstrCustomerId
- customerIDstrHeaderClientAppCode
- client codestrQueryClientAppCode
- client code, will be removed, use Header parameter insteadpublic javax.ws.rs.core.Response updateIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
formParams
- form params, bodypars used for files uploadpublic javax.ws.rs.core.Response createIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
formParams
- form params, bodypars used for files uploadpublic javax.ws.rs.core.Response deleteIdentity(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode)
strConnectionId
- the connection IDstrHeaderClientAppCode
- the client code from headerstrQueryClientAppCode
- the client code from querypublic javax.ws.rs.core.Response downloadFileAttribute(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode, String strAttributeKey)
strConnectionId
- connectionId (must not be empty)strHeaderClientAppCode
- the client code from headerstrQueryClientAppCode
- the client code from querystrAttributeKey
- attribute key containing file (must not be empty)public javax.ws.rs.core.Response getApplicationRights(@HeaderParam(value="client_code") String strClientAppCode)
strClientAppCode
- client code from headerCopyright © 2018 City of Paris. All rights reserved.