public class EncryptedIdentityDto
extends fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
Decorator of a IdentityDto
in order to encrypt attributes
The encrypted attributes are :
Constructor and Description |
---|
EncryptedIdentityDto(fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto identityDto,
String strEncryptionKey)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Map<String,fr.paris.lutece.plugins.identitystore.web.rs.dto.AttributeDto> |
getAttributes() |
String |
getConnectionId() |
String |
getCustomerId() |
void |
setAttributes(Map<String,fr.paris.lutece.plugins.identitystore.web.rs.dto.AttributeDto> mapAttributes) |
void |
setConnectionId(String connectionId) |
void |
setCustomerId(String strCustomerId) |
public EncryptedIdentityDto(fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto identityDto, String strEncryptionKey)
identityDto
- the IdentityDto
to encryptstrEncryptionKey
- the encryption key used to encrypt the IdentityDto
fr.paris.lutece.portal.service.util.AppException
- if there is an error during the encryptionpublic Map<String,fr.paris.lutece.plugins.identitystore.web.rs.dto.AttributeDto> getAttributes()
getAttributes
in class fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
public void setAttributes(Map<String,fr.paris.lutece.plugins.identitystore.web.rs.dto.AttributeDto> mapAttributes)
setAttributes
in class fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
public String getConnectionId()
getConnectionId
in class fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
public void setConnectionId(String connectionId)
setConnectionId
in class fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
public String getCustomerId()
getCustomerId
in class fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
public void setCustomerId(String strCustomerId)
setCustomerId
in class fr.paris.lutece.plugins.identitystore.web.rs.dto.IdentityDto
Copyright © 2017 City of Paris. All rights reserved.