Class IdentityServiceExtended
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v3.web.service.IdentityService
-
- fr.paris.lutece.plugins.identitystore.v3.web.service.IdentityServiceExtended
-
public class IdentityServiceExtended extends fr.paris.lutece.plugins.identitystore.v3.web.service.IdentityService
-
-
Constructor Summary
Constructors Constructor Description IdentityServiceExtended()IdentityServiceExtended(fr.paris.lutece.plugins.identitystore.v3.web.service.IIdentityTransportProvider transportProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponseimportIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)import an identityfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponsemergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Merge two identities.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponseuncertifyIdentity(String strCustomerId, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Dé-certification d'une identité.
Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de ses attributs avec le processus défini par la property :identitystore.identity.uncertify.processus(par défaut : "dec", qui correspond au niveau le plus faible de certification (auto-déclaratif))fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponseunMergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Unmerge two identities.-
Methods inherited from class fr.paris.lutece.plugins.identitystore.v3.web.service.IdentityService
createIdentity, deleteIdentity, exportIdentities, getIdentity, getIdentityByConnectionId, getIdentityByCustomerId, getIdentityHistory, getUpdatedIdentities, searchIdentities, searchIdentityHistory, setExternalAttributesSourceList, setTransportProvider, updateIdentity
-
-
-
-
Method Detail
-
importIdentity
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse importIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionimport an identity- Parameters:
identityChange- change to apply to identitystrClientCode- client code of calling applicationauthor- the author of the request- Returns:
- identity filled according to application rights for user identified by connection id
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
mergeIdentities
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponse mergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionMerge two identities.- Parameters:
identityMerge- the request containing the master cuid, the secondary cuid, and a list of attribute to be taken from the secondary identity and put on the master identity.strClientCode- client code of calling applicationauthor- the author of the request- Returns:
- IdentityMergeResponse
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
unMergeIdentities
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponse unMergeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionUnmerge two identities.- Parameters:
identityMerge- the request containing the master cuid, the secondary cuidstrClientCode- client code of calling applicationauthor- the author of the request- Returns:
- IdentityMergeResponse
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
uncertifyIdentity
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse uncertifyIdentity(String strCustomerId, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
Dé-certification d'une identité.
Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de ses attributs avec le processus défini par la property :identitystore.identity.uncertify.processus(par défaut : "dec", qui correspond au niveau le plus faible de certification (auto-déclaratif))- Parameters:
strCustomerId- the customer IDstrClientCode- client code of calling applicationauthor- the author of the request- Returns:
- IdentityChangeResponse
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
-