public class IdentityService extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
IdentityService()
Constructor initialize identity provider
|
| Modifier and Type | Method and Description |
|---|---|
IdentityDto |
createIdentity(IdentityChangeDto identityChange,
String strAuthenticationKey)
create identity
|
InputStream |
downloadFileAttribute(String strConnectionId,
int nCustomerId,
String strAttributeKey,
String strClientAppCode,
String strAuthenticationKey) |
IdentityDto |
getIdentity(int nCustomerId,
String strApplicationCode,
String strHash)
get identity matching customerId for provided application code
|
IdentityDto |
getIdentity(String strConnectionId,
int nCustomerId,
String strApplicationCode,
String strHash)
get identity matching connectionId and customerId for provided application
code
|
IdentityDto |
getIdentity(String strConnectionId,
String strApplicationCode,
String strHash)
get identity matching connectionId for provided application code
|
static IdentityService |
instance()
Instance.
|
IdentityDto |
updateIdentity(IdentityChangeDto identityChange,
String strAuthenticationKey,
List<File> listFiles)
apply changes to an identity
|
protected IdentityService()
public static IdentityService instance()
public IdentityDto getIdentity(String strConnectionId, String strApplicationCode, String strHash) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
strConnectionId - connection IdstrApplicationCode - application code of calling applicationstrHash - 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 getIdentity(int nCustomerId, String strApplicationCode, String strHash) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
nCustomerId - customer IdstrApplicationCode - application code of calling applicationstrHash - 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 getIdentity(String strConnectionId, int nCustomerId, String strApplicationCode, String strHash) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
strConnectionId - connection Id (can be null if strCustomerId is provided)nCustomerId - customer Id (can be null if strconnection Id is provided)strApplicationCode - application code of calling applicationstrHash - 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) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
identityChange - change to apply to identitystrAuthenticationKey - client authentication keylistFiles - file list to uploadfr.paris.lutece.portal.service.util.AppException - if error occured while updating identityIdentityNotFoundException - if no identity found for input parameterspublic IdentityDto createIdentity(IdentityChangeDto identityChange, String strAuthenticationKey) throws fr.paris.lutece.portal.service.util.AppException
identityChange - change to apply to identitystrAuthenticationKey - client application hash codefr.paris.lutece.portal.service.util.AppException - if error occured while updating identitypublic InputStream downloadFileAttribute(String strConnectionId, int nCustomerId, String strAttributeKey, String strClientAppCode, String strAuthenticationKey)
strConnectionId - 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 codefr.paris.lutece.portal.service.util.AppException - if error occured while retrieving file attributeIdentityNotFoundException - if no identity found for input parametersCopyright © 2016 City of Paris. All rights reserved.