public final class IdentityApiManagerRestClientService extends Object implements IIdentityProvider
| Constructor and Description |
|---|
IdentityApiManagerRestClientService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAuthentication(com.sun.jersey.api.client.WebResource.Builder builder,
String strAuthenticationKey)
add specific authentication to request
|
IdentityDto |
createIdentity(IdentityChangeDto identityChange,
String strAuthenticationKey)
create identity
|
InputStream |
downloadFileAttribute(String strIdConnection,
int nCustomerId,
String strAttributeKey,
String strClientAppCode,
String strAuthenticationKey) |
IdentityDto |
getIdentity(String strIdConnection,
int nCustomerId,
String strClientCode,
String strAuthenticationKey)
get identity matching connectionId and customerId for provided application
code
|
IdentityDto |
updateIdentity(IdentityChangeDto identityChange,
String strAuthenticationKey,
List<File> listFiles)
apply changes to an identity
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateIdentity, downloadFileAttribute, getIdentity, updateIdentityprotected void addAuthentication(com.sun.jersey.api.client.WebResource.Builder builder,
String strAuthenticationKey)
builder - WebResource.Builder which execute http requeststrAuthenticationKey - authentication keypublic IdentityDto getIdentity(String strIdConnection, int nCustomerId, String strClientCode, String strAuthenticationKey) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
getIdentity in interface IIdentityProviderstrIdConnection - connection Id (can be null if strCustomerId is provided)nCustomerId - customer Id (can be null if strconnection Id is provided)strClientCode - application code of calling applicationstrAuthenticationKey - client application hash codeIdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...public IdentityDto updateIdentity(IdentityChangeDto identityChange, String strAuthenticationKey, List<File> listFiles)
updateIdentity in interface IIdentityProvideridentityChange - change to apply to identitystrAuthenticationKey - client application hash codelistFiles - file list to uploadpublic InputStream downloadFileAttribute(String strIdConnection, int nCustomerId, String strAttributeKey, String strClientAppCode, String strAuthenticationKey)
downloadFileAttribute in interface IIdentityProviderstrIdConnection - connection Id (can be null if strCustomerId is provided)nCustomerId - customer Id (can be null if strconnection Id is provided)strAttributeKey - attribute Key (must match a an attribute of type file)strClientAppCode - application code of calling applicationstrAuthenticationKey - client application hash codepublic IdentityDto createIdentity(IdentityChangeDto identityChange, String strAuthenticationKey)
createIdentity in interface IIdentityProvideridentityChange - change to apply to identitystrAuthenticationKey - client application hash codeCopyright © 2016 City of Paris. All rights reserved.