public abstract class AbstractSpecificCommunicationLoggingService extends Object implements SpecificCommunicationLoggingService
SpecificCommunicationLoggingService
to be used for logging
ILightRequest
and ILightResponse
between the specific
part and nodeModifier and Type | Method and Description |
---|---|
String |
getRequest(String lightRequestToken)
|
eu.eidas.auth.commons.light.ILightRequest |
getRequest(String tokenBase64,
Collection<eu.eidas.auth.commons.attribute.AttributeDefinition<?>> registry)
Gets the
ILightRequest from the request communication cache
using as id/key the one obtained from the BinaryLightToken . |
protected abstract String |
getRequestCacheName()
Gets the request cache name specific to the implementation
|
String |
getResponse(String tokenBase64)
|
eu.eidas.auth.commons.light.ILightResponse |
getResponse(String tokenBase64,
Collection<eu.eidas.auth.commons.attribute.AttributeDefinition<?>> registry)
Gets the
ILightResponse from the response communication cache
using as id/key the one obtained from the BinaryLightToken . |
protected abstract String |
getResponseCacheName()
Gets the response cache name specific to the implementation
|
public eu.eidas.auth.commons.light.ILightRequest getRequest(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
.getRequest
in interface SpecificCommunicationLoggingService
tokenBase64
- the BinaryLightToken
in Base64 that holds the id to get the ILightRequest
registry
- the collection of attributeDefinitionsILightRequest
corresponding to the idSpecificCommunicationException
- if the id could not be obtainedpublic String getRequest(String lightRequestToken) throws SpecificCommunicationException
getRequest
in interface SpecificCommunicationLoggingService
lightRequestToken
- the BinaryLightToken
in Base64 that holds the id to get the ILightRequest
String
, corresponding to the tokenBase64SpecificCommunicationException
- if the id could not be obtainedpublic eu.eidas.auth.commons.light.ILightResponse getResponse(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
.getResponse
in interface SpecificCommunicationLoggingService
tokenBase64
- the BinaryLightToken
in Base64 that holds the id to get the ILightResponse
registry
- the collection of attributeDefinitionsILightResponse
corresponding to the idSpecificCommunicationException
- if the id could not be obtainedpublic String getResponse(String tokenBase64) throws SpecificCommunicationException
getResponse
in interface SpecificCommunicationLoggingService
tokenBase64
- the BinaryLightToken
in Base64 that holds the id to get the ILightResponse
String
, corresponding to the tokenBase64SpecificCommunicationException
- if the id could not be obtainedprotected abstract String getRequestCacheName()
protected abstract String getResponseCacheName()
Copyright © 2020. All Rights Reserved.