processSamlResponse
ResponseProcessingResult processSamlResponse(String samlResponse,
String relayState,
ResponseProcessingInput input,
PeerMetadataResolver peerMetadataResolver,
ValidationContext validationContext)
throws ResponseStatusErrorException,
ResponseProcessingException
Processes a SAML response including signature validation and assertion decryption.
- Parameters:
samlResponse - the base64 encoded SAML response
relayState - the received relay state
input - the processing input
peerMetadataResolver - a resolver for finding the peer metadata entry
validationContext - optional validation context for controlling the validation and assertion validation process
- Returns:
- a result
- Throws:
ResponseStatusErrorException - if the response indicates a non-successful Status
ResponseProcessingException - for other processing errors