public final class IdentityStoreRestService extends Object
| Constructor and Description |
|---|
IdentityStoreRestService()
private constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
certifyIdentityAttributes(com.sun.jersey.multipart.FormDataMultiPart formParams,
String strHeaderApplicationCode)
Certify identity attributes with formParams
|
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 |
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 application code in HttpHeaderpublic javax.ws.rs.core.Response certifyIdentityAttributes(com.sun.jersey.multipart.FormDataMultiPart formParams,
@HeaderParam(value="client_code")
String strHeaderApplicationCode)
formParams - strHeaderApplicationCode - The application code in HttpHeaderpublic 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 HttpHeaderpublic javax.ws.rs.core.Response deleteIdentity(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode)
strConnectionId - the connection IDstrClientAppCode - the client codepublic javax.ws.rs.core.Response downloadFileAttribute(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode, String strAttributeKey)
strConnectionId - connectionId (must not be empty)strClientAppCode - client application code (must not be empty)strAttributeKey - attribute key containing file (must not be empty)Copyright © 2019 City of Paris. All rights reserved.