public class DashboardIdentityUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
DashboardIdentity |
convertToDashboardIdentity(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identity)
return an dashboardIdentity from a identityDto
|
DashboardIdentity |
convertToDashboardIdentity(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identity,
fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.ApplicationRightsDto applicationRightsDto)
return an dashboardIdentity from a identityDto
|
fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto |
convertToIdentityDto(DashboardIdentity dashboardIdentity,
boolean bOnlyMandatory)
return an identityDto from a DashboardIdentity
|
void |
filterByCertifier(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identity)
Drop attributes from IdentityDto if there is a certificate.
|
fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto |
getIdentityDto(String strConnectionId)
return IdentityDto from strConnectionId
|
static DashboardIdentityUtils |
getInstance() |
void |
populateDashboardIdentity(DashboardIdentity identity,
javax.servlet.http.HttpServletRequest request)
populaite DashboardIdentity from the request
|
void |
updateIdentity(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identityDto)
Update Identity from an IdentityDto.
|
public static DashboardIdentityUtils getInstance()
public DashboardIdentity convertToDashboardIdentity(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identity)
identity - identityDto to convertpublic DashboardIdentity convertToDashboardIdentity(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identity, fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.ApplicationRightsDto applicationRightsDto)
identity - identityDto to convertapplicationRightsDto - The App rightspublic fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto convertToIdentityDto(DashboardIdentity dashboardIdentity, boolean bOnlyMandatory)
dashboardIdentity - dashboardIdentity to convertbOnlyMandatory - true the IdentitityDTO must contains only Mandatory informationspublic void populateDashboardIdentity(DashboardIdentity identity, javax.servlet.http.HttpServletRequest request)
identity - the DashboardIdentityrequest - the HttpServletRequestpublic void filterByCertifier(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identity)
identity - public fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto getIdentityDto(String strConnectionId)
strConnectionId - user connection idfr.paris.lutece.portal.service.security.UserNotSignedExceptionpublic void updateIdentity(fr.paris.lutece.plugins.identitystore.v2.web.rs.dto.IdentityDto identityDto)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException,
fr.paris.lutece.portal.service.util.AppException
identityDto - identity Data transfer Objectfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - the identity not found exceptionfr.paris.lutece.portal.service.util.AppException - the app exceptionCopyright © 2022 City of Paris. All rights reserved.