Interface SignResponseProcessor
- All Known Implementing Classes:
DefaultSignResponseProcessor
public interface SignResponseProcessor
Interface for sign response processing.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptionGets the processing configuration that this processor is configured with.se.idsec.signservice.integration.SignatureResultprocessSignResponse(String signResponse, SignatureSessionState sessionState, IntegrationServiceConfiguration config, se.idsec.signservice.integration.SignResponseProcessingParameters parameters) Processes the supplied SignResponse according to the supplied processing parameters and the session state.
-
Method Details
-
processSignResponse
@Nonnull se.idsec.signservice.integration.SignatureResult processSignResponse(@Nonnull String signResponse, @Nonnull SignatureSessionState sessionState, @Nonnull IntegrationServiceConfiguration config, @Nullable se.idsec.signservice.integration.SignResponseProcessingParameters parameters) throws se.idsec.signservice.integration.SignResponseCancelStatusException, se.idsec.signservice.integration.SignResponseErrorStatusException, se.idsec.signservice.integration.core.error.SignServiceIntegrationException Processes the supplied SignResponse according to the supplied processing parameters and the session state.- Parameters:
signResponse- the encoded SignResponse messagesessionState- the stateconfig- the policy configurationparameters- optional processing parameters- Returns:
- a signature response
- Throws:
se.idsec.signservice.integration.SignResponseCancelStatusException- if the user cancelled the operationse.idsec.signservice.integration.SignResponseErrorStatusException- if the sign service reported an errorse.idsec.signservice.integration.core.error.SignServiceIntegrationException- for processing and validation errors
-
getProcessingConfiguration
Gets the processing configuration that this processor is configured with.- Returns:
- the processing configuration
-