Interface ResponseProcessor
- All Known Implementing Classes:
ResponseProcessorImpl
public interface ResponseProcessor
Interface for a SAML response processor.
- Author:
- Martin Lindström (martin@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptionprocessSamlResponse
(String samlResponse, String relayState, ResponseProcessingInput input, org.opensaml.saml.common.assertion.ValidationContext validationContext) Processes a SAML response including signature validation and assertion decryption.
-
Method Details
-
processSamlResponse
ResponseProcessingResult processSamlResponse(String samlResponse, String relayState, ResponseProcessingInput input, org.opensaml.saml.common.assertion.ValidationContext validationContext) throws ResponseStatusErrorException, ResponseProcessingException Processes a SAML response including signature validation and assertion decryption.- Parameters:
samlResponse
- the base64 encoded SAML responserelayState
- the received relay stateinput
- the processing inputvalidationContext
- optional validation context for controlling the validation and assertion validation process- Returns:
- a result
- Throws:
ResponseStatusErrorException
- if the response indicates a non-successfulStatus
ResponseProcessingException
- for other processing errors
-