public class IdentityService extends Object
| Constructor and Description |
|---|
IdentityService()
Simple Constructor
|
IdentityService(IIdentityTransportProvider transportProvider)
Constructor with IIdentityTransportProvider in parameters
|
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
certifyAttributes(fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityChangeDto identityChange,
String strCertifierCode)
certify attributes from an identity
|
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
createIdentity(fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityChangeDto identityChange)
Creates an identity only if the identity does not already exist.
|
void |
deleteIdentity(String strConnectionId,
String strApplicationCode)
Deletes an identity from the specified connectionId
|
InputStream |
downloadFileAttribute(String strConnectionId,
String strCustomerId,
String strAttributeKey,
String strClientAppCode) |
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
getIdentity(String strConnectionId,
String strCustomerId,
String strApplicationCode)
get identity matching connectionId and customerId for provided application code
|
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
getIdentityByConnectionId(String strConnectionId,
String strApplicationCode)
get identity matching connectionId for provided application code
|
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
getIdentityByCustomerId(String strCustomerId,
String strApplicationCode)
get identity matching customerId for provided application code
|
void |
setTransportProvider(IIdentityTransportProvider transportProvider)
setter of transportProvider parameter
|
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
updateIdentity(fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityChangeDto identityChange,
Map<String,org.apache.commons.fileupload.FileItem> mapFiles)
apply changes to an identity
|
public IdentityService()
public IdentityService(IIdentityTransportProvider transportProvider)
transportProvider - IIdentityTransportProviderpublic void setTransportProvider(IIdentityTransportProvider transportProvider)
transportProvider - IIdentityTransportProviderpublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto getIdentityByConnectionId(String strConnectionId, String strApplicationCode) throws fr.paris.lutece.portal.service.util.AppException, fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strConnectionId - connection IdstrApplicationCode - application code of calling applicationfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto getIdentityByCustomerId(String strCustomerId, String strApplicationCode) throws fr.paris.lutece.portal.service.util.AppException, fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strCustomerId - customer IdstrApplicationCode - application code of calling applicationfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto getIdentity(String strConnectionId, String strCustomerId, String strApplicationCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strConnectionId - connection Id (can be null if strCustomerId is provided)strCustomerId - customer Id (can be null if strConnectionId is provided)strApplicationCode - application code of calling applicationfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto updateIdentity(fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityChangeDto identityChange,
Map<String,org.apache.commons.fileupload.FileItem> mapFiles)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityChange - change to apply to identitymapFiles - fileitem map to uploadfr.paris.lutece.portal.service.util.AppException - if error occured while updating identityfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto createIdentity(fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityChangeDto identityChange)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityChange - change to apply to identityfr.paris.lutece.portal.service.util.AppException - if error occured while updating identityfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void deleteIdentity(String strConnectionId, String strApplicationCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strConnectionId - the connection idstrApplicationCode - the application codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic InputStream downloadFileAttribute(String strConnectionId, String strCustomerId, String strAttributeKey, String strClientAppCode)
strConnectionId - connection Id (can be null if strCustomerId is provided)strCustomerId - customer Id (can be null if strConnectionId is provided)strAttributeKey - attribute Key (must match a an attribute of type file)strClientAppCode - application code of calling applicationfr.paris.lutece.portal.service.util.AppException - if error occured while retrieving file attributefr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parameterspublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto certifyAttributes(fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityChangeDto identityChange,
String strCertifierCode)
throws fr.paris.lutece.portal.service.util.AppException,
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityChange - change to apply to identitystrCertifierCode - the certifier code IDfr.paris.lutece.portal.service.util.AppException - if error occured while updating identityfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionCopyright © 2023 City of Paris. All rights reserved.