public final class IdentityTransportApiManagerRest extends Object implements IIdentityTransportProvider
| Constructor and Description |
|---|
IdentityTransportApiManagerRest()
Simple Constructor
|
| 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.
|
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.ResponseDto |
deleteIdentity(String strIdConnection,
String strClientCode)
Deletes an identity from the specified connectionId
|
InputStream |
downloadFileAttribute(String strIdConnection,
String strCustomerId,
String strAttributeKey,
String strClientAppCode) |
fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto |
getIdentity(String strIdConnection,
String strCustomerId,
String strClientCode)
get identity matching connectionId and customerId for provided application code
|
void |
setApiManagerCredentials(String strApiManagerCredentials)
Sets the API Manager credentials
|
void |
setApiManagerEndPoint(String strApiManagerEndPoint)
setter of apiManagerEndPoint
|
void |
setHttpTransport(IHttpTransportProvider httpTransport)
setter of httpTransport
|
void |
setIdentityStoreEndPoint(String strIdentityStoreEndPoint)
setter of identityStoreEndPoint
|
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> mapFileItem)
apply changes to an identity
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcertifyAttributes, createIdentity, deleteIdentity, downloadFileAttribute, getIdentity, updateIdentitypublic IdentityTransportApiManagerRest()
public void setApiManagerEndPoint(String strApiManagerEndPoint)
strApiManagerEndPoint - value to usepublic void setApiManagerCredentials(String strApiManagerCredentials)
strApiManagerCredentials - the API Manager credentialspublic void setIdentityStoreEndPoint(String strIdentityStoreEndPoint)
strIdentityStoreEndPoint - value to usepublic void setHttpTransport(IHttpTransportProvider httpTransport)
httpTransport - IHttpTransportProvider to usepublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.IdentityDto getIdentity(String strIdConnection, String strCustomerId, String strClientCode) throws fr.paris.lutece.portal.service.util.AppException, fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
getIdentity in interface IIdentityTransportProviderstrIdConnection - connection Id (can be null if strCustomerId is provided)strCustomerId - customer Id (can be null if strConnectionId is provided)strClientCode - application code of calling applicationfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...fr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parameterspublic 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> mapFileItem)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
updateIdentity in interface IIdentityTransportProvideridentityChange - change to apply to identitymapFileItem - file map to uploadfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic InputStream downloadFileAttribute(String strIdConnection, String strCustomerId, String strAttributeKey, String strClientAppCode)
downloadFileAttribute in interface IIdentityTransportProviderstrIdConnection - 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 applicationpublic 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
createIdentity in interface IIdentityTransportProvideridentityChange - change to apply to identityfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v1.web.rs.dto.ResponseDto deleteIdentity(String strIdConnection, String strClientCode) throws fr.paris.lutece.portal.service.util.AppException, fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
deleteIdentity in interface IIdentityTransportProviderstrIdConnection - the connection idstrClientCode - the application codeResponseDto objectfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionfr.paris.lutece.portal.service.util.AppException - if inconsistent parameters provided, or errors occurs...fr.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.plugins.identitystore.web.exception.IdentityStoreException
IIdentityTransportProvidercertifyAttributes in interface IIdentityTransportProvideridentityChange - change to apply to identitystrCertifierCode - the certifier code IDfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionCopyright © 2023 City of Paris. All rights reserved.