public final class IdentityStoreRestService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_BIRTH_COUNTRY_INSEE_CODE |
static String |
PARAM_BIRTH_COUNTRY_LABEL |
static String |
PARAM_BIRTH_DATE |
static String |
PARAM_BIRTH_NAME |
static String |
PARAM_BIRTH_PLACE_INSEE_CODE |
static String |
PARAM_BIRTH_PLACE_LABEL |
static String |
PARAM_BIRTH_ZIP_CODE |
static String |
PARAM_EMAIL |
static String |
PARAM_FIRST_NAMES |
static String |
PARAM_GENDER |
static String |
PARAM_MOBILE |
static String |
PARAM_USAGE_NAME |
| Constructor and Description |
|---|
IdentityStoreRestService()
private constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
certifyIdentityAttributes(String strHeaderApplicationCode,
org.glassfish.jersey.media.multipart.FormDataMultiPart formParams)
certify identity attributes
|
javax.ws.rs.core.Response |
createIdentity(String strHeaderApplicationCode,
org.glassfish.jersey.media.multipart.FormDataMultiPart formParams)
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 |
searchIdentities(String strJsonAttributeValues,
String strHeaderClientAppCode,
String strQueryClientAppCode)
Searches Identities from a list of values for a series of attributes
|
javax.ws.rs.core.Response |
updateIdentity(String strHeaderApplicationCode,
org.glassfish.jersey.media.multipart.FormDataMultiPart formParams)
update identity method
|
public static final String PARAM_BIRTH_NAME
public static final String PARAM_USAGE_NAME
public static final String PARAM_FIRST_NAMES
public static final String PARAM_GENDER
public static final String PARAM_BIRTH_DATE
public static final String PARAM_BIRTH_PLACE_LABEL
public static final String PARAM_BIRTH_PLACE_INSEE_CODE
public static final String PARAM_BIRTH_ZIP_CODE
public static final String PARAM_BIRTH_COUNTRY_LABEL
public static final String PARAM_BIRTH_COUNTRY_INSEE_CODE
public static final String PARAM_EMAIL
public static final String PARAM_MOBILE
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response getIdentity(@QueryParam(value="connection_id")
String strConnectionId,
@QueryParam(value="customer_id")
String strCustomerId,
@HeaderParam(value="client_code")
String strHeaderClientAppCode,
@QueryParam(value="client_code")
String strQueryClientAppCode)
strHeaderClientAppCode - client codestrQueryClientAppCode - client code, will be removed, use Header parameter instead@POST
@Path(value="/update")
@Consumes(value="multipart/form-data")
public javax.ws.rs.core.Response updateIdentity(@HeaderParam(value="client_code")
String strHeaderApplicationCode,
org.glassfish.jersey.media.multipart.FormDataMultiPart formParams)
strHeaderApplicationCode - The client app code in headerformParams - form params, bodypars used for files upload@POST
@Path(value="/certify")
public javax.ws.rs.core.Response certifyIdentityAttributes(@HeaderParam(value="client_code")
String strHeaderApplicationCode,
org.glassfish.jersey.media.multipart.FormDataMultiPart formParams)
strHeaderApplicationCode - formParams - @POST
@Path(value="/create")
@Consumes(value="multipart/form-data")
public javax.ws.rs.core.Response createIdentity(@HeaderParam(value="client_code")
String strHeaderApplicationCode,
org.glassfish.jersey.media.multipart.FormDataMultiPart formParams)
strHeaderApplicationCode - formParams - form params, bodypars used for files upload@DELETE
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteIdentity(@QueryParam(value="connection_id")
String strConnectionId,
@HeaderParam(value="client_code")
String strHeaderClientAppCode,
@QueryParam(value="client_code")
String strQueryClientAppCode)
strConnectionId - the connection IDstrHeaderClientAppCode - the client codestrQueryClientAppCode - the client code in query@GET
@Path(value="/file")
public javax.ws.rs.core.Response downloadFileAttribute(@QueryParam(value="connection_id")
String strConnectionId,
@HeaderParam(value="client_code")
String strHeaderClientAppCode,
@QueryParam(value="client_code")
String strQueryClientAppCode,
@QueryParam(value="attribute_key")
String strAttributeKey)
strConnectionId - connectionId (must not be empty)strHeaderClientAppCode - client application code (must not be empty)strQueryClientAppCode - client application code in querystrAttributeKey - attribute key containing file (must not be empty)@GET
@Path(value="/apprights")
@Produces(value="application/json")
public javax.ws.rs.core.Response getApplicationRights(@HeaderParam(value="client_code")
String strClientAppCode)
strClientAppCode - client code from header@POST @Path(value="/search") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response searchIdentities(String strJsonAttributeValues, @HeaderParam(value="client_code") String strHeaderClientAppCode, @QueryParam(value="client_code") String strQueryClientAppCode)
strHeaderClientAppCode - client codestrQueryClientAppCode - client code, will be removed, use Header parameter insteadCopyright © 2023 City of Paris. All rights reserved.