public interface SpecificCommunicationService
Modifier and Type | Method and Description |
---|---|
eu.eidas.auth.commons.light.ILightRequest |
getAndRemoveRequest(String tokenBase64,
Collection<eu.eidas.auth.commons.attribute.AttributeDefinition<?>> registry)
Removes the
ILightRequest from the request communication cache
using as id/key the one obtained from the BinaryLightToken . |
eu.eidas.auth.commons.light.ILightResponse |
getAndRemoveResponse(String tokenBase64,
Collection<eu.eidas.auth.commons.attribute.AttributeDefinition<?>> registry)
Removes the
ILightResponse from the response communication cache
using as id/key the one obtained from the BinaryLightToken . |
eu.eidas.auth.commons.tx.BinaryLightToken |
putRequest(eu.eidas.auth.commons.light.ILightRequest iLightRequest)
Puts the
ILightRequest in the request communication cache. |
eu.eidas.auth.commons.tx.BinaryLightToken |
putResponse(eu.eidas.auth.commons.light.ILightResponse iLightResponse)
Puts
ILightResponse in the response communication cache. |
eu.eidas.auth.commons.tx.BinaryLightToken putRequest(eu.eidas.auth.commons.light.ILightRequest iLightRequest) throws SpecificCommunicationException
ILightRequest
in the request communication cache.
Creates a BinaryLightToken
which id will be used as key for the ILightRequest
.
iLightRequest
- the request to be put in the cacheBinaryLightToken
that holds the id/key to the ILightRequest
in the cacheSpecificCommunicationException
- if the BinaryLightToken
could not be created.eu.eidas.auth.commons.light.ILightRequest getAndRemoveRequest(String tokenBase64, Collection<eu.eidas.auth.commons.attribute.AttributeDefinition<?>> registry) throws SpecificCommunicationException
ILightRequest
from the request communication cache
using as id/key the one obtained from the BinaryLightToken
.tokenBase64
- the BinaryLightToken
in Base64 that holds the id to remove the ILightRequest
registry
- the collection of attributeDefinitionsILightRequest
corresponding to the idSpecificCommunicationException
- if the id could not be obtainedeu.eidas.auth.commons.tx.BinaryLightToken putResponse(eu.eidas.auth.commons.light.ILightResponse iLightResponse) throws SpecificCommunicationException
ILightResponse
in the response communication cache.
Creates a BinaryLightToken
which id will be used as key for the ILightResponse
.
iLightResponse
- the ILightResponse
to put in the cacheBinaryLightToken
that holds the id/key to the ILightResponse
in the cacheSpecificCommunicationException
- if the BinaryLightToken
could not be created.eu.eidas.auth.commons.light.ILightResponse getAndRemoveResponse(String tokenBase64, Collection<eu.eidas.auth.commons.attribute.AttributeDefinition<?>> registry) throws SpecificCommunicationException
ILightResponse
from the response communication cache
using as id/key the one obtained from the BinaryLightToken
.tokenBase64
- the BinaryLightToken
in Base64 that holds the id to remove the ILightResponse
registry
- the collection of attributeDefinitionsILightResponse
corresponding to the idSpecificCommunicationException
- if the id could not be obtainedCopyright © 2020. All Rights Reserved.