Interface AuthnRequestValidator
- All Known Implementing Classes:
AssertionConsumerServiceValidator,AuthnRequestEncryptCapabilitiesValidator,AuthnRequestReplayValidator,AuthnRequestSignatureValidator
public interface AuthnRequestValidator
A genric interface for performing validation of an
AuthnRequest.- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(Saml2AuthnRequestAuthenticationToken authnRequestToken) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.
-
Method Details
-
validate
void validate(Saml2AuthnRequestAuthenticationToken authnRequestToken) throws UnrecoverableSaml2IdpException, Saml2ErrorStatusException Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.The method may update the supplied token with information useful in later stages.
- Parameters:
authnRequestToken- the authentication request token- Throws:
UnrecoverableSaml2IdpException- for errors that can not be signalled back to the SAML SPSaml2ErrorStatusException- for errors that should be sent as SAML error responses
-