public final class IdentityStoreService extends Object
| Modifier and Type | Method and Description |
|---|---|
static fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityChangeDto |
buildIdentityChange(String strClientAppCode)
Creates a basic identityChange
|
static fr.paris.lutece.plugins.identitystore.web.rs.dto.ApplicationRightsDto |
getApplicationRights(String strClientAppCode)
generate the ApplicationRightsDto of a given application
|
static IdentityAttribute |
getAttribute(String strConnectionId,
String strAttributeKey,
String strClientApplicationCode)
returns attributes from connection id
|
static Identity |
getIdentityByConnectionId(String strConnectionId,
String strClientApplicationCode)
returns identity from connection id
|
static Identity |
getIdentityByCustomerId(String strCustomerId,
String strClientApplicationCode)
returns identity from customer id
|
static fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto |
getOrCreateIdentity(fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityChangeDto identityChangeDto,
Map<String,fr.paris.lutece.portal.business.file.File> mapAttachedFiles)
Creates an identity.
|
static void |
removeIdentity(String strConnectionId,
String strClientApplicationCode)
Removes an identity from the specified connection id
|
static fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto |
updateIdentity(fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityChangeDto identityChangeDto,
Map<String,fr.paris.lutece.portal.business.file.File> mapAttachedFiles)
Updates an existing identity.
|
public static fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto getOrCreateIdentity(fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityChangeDto identityChangeDto,
Map<String,fr.paris.lutece.portal.business.file.File> mapAttachedFiles)
Identity is done, otherwise, the provided identity is used.identityChangeDto - the object IdentityChangeDto containing the information to perform the creationmapAttachedFiles - the files to createpublic static fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityChangeDto buildIdentityChange(String strClientAppCode)
strClientAppCode - client application codefr.paris.lutece.portal.service.util.AppException - if the connectionId and customerId are emptypublic static IdentityAttribute getAttribute(String strConnectionId, String strAttributeKey, String strClientApplicationCode)
strConnectionId - connection idstrAttributeKey - attribute keystrClientApplicationCode - application code who requested attributespublic static Identity getIdentityByConnectionId(String strConnectionId, String strClientApplicationCode)
strConnectionId - connection idstrClientApplicationCode - application code who requested identitypublic static Identity getIdentityByCustomerId(String strCustomerId, String strClientApplicationCode)
strCustomerId - customer idstrClientApplicationCode - application code who requested identitypublic static fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto updateIdentity(fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityChangeDto identityChangeDto,
Map<String,fr.paris.lutece.portal.business.file.File> mapAttachedFiles)
identityChangeDto - the object IdentityChangeDto containing the information to perform the creationmapAttachedFiles - the files to createpublic static void removeIdentity(String strConnectionId, String strClientApplicationCode)
strConnectionId - the connection idstrClientApplicationCode - the application codepublic static fr.paris.lutece.plugins.identitystore.web.rs.dto.ApplicationRightsDto getApplicationRights(String strClientAppCode)
strClientAppCode - the code applicationCopyright © 2018 City of Paris. All rights reserved.