public final class IdentityStoreRestService extends Object
| Constructor and Description |
|---|
IdentityStoreRestService()
private constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams,
String strHeaderApplicationCode)
Creates an identity only if the identity does not already exist.
The identity is created from the provided attributes. The order to test if the identity exists: by using the provided customer id if present by using the provided connection id if present |
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,
String strHeaderApplicationCode)
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,
@HeaderParam(value="client_code")
String strHeaderApplicationCode)
formParams - form params, bodypars used for files uploadstrHeaderApplicationCode - the header client app codepublic javax.ws.rs.core.Response createIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams,
@HeaderParam(value="client_code")
String strHeaderApplicationCode)
formParams - form params, bodypars used for files uploadstrHeaderApplicationCode - the application code in the HTTP headerpublic 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 © 2019 City of Paris. All rights reserved.