Class OpenSaml5AuthenticationProvider.ResponseValidator
java.lang.Object
org.springframework.security.saml2.provider.service.authentication.OpenSaml5AuthenticationProvider.ResponseValidator
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken,Saml2ResponseValidatorResult>
- Enclosing class:
- OpenSaml5AuthenticationProvider
public static final class OpenSaml5AuthenticationProvider.ResponseValidator
extends Object
implements org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken,Saml2ResponseValidatorResult>
A composite response validator that confirms a
SUCCESS status, that there
is at least one assertion, and any other configured converters-
Constructor Summary
ConstructorsConstructorDescriptionResponseValidator(org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken, Saml2ResponseValidatorResult>... validators) -
Method Summary
Modifier and TypeMethodDescriptionconvert(OpenSaml5AuthenticationProvider.ResponseToken responseToken) withDefaults(org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken, Saml2ResponseValidatorResult>... validators) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
ResponseValidator
@SafeVarargs public ResponseValidator(org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken, Saml2ResponseValidatorResult>... validators)
-
-
Method Details
-
withDefaults
-
withDefaults
@SafeVarargs public static OpenSaml5AuthenticationProvider.ResponseValidator withDefaults(org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken, Saml2ResponseValidatorResult>... validators) -
convert
public Saml2ResponseValidatorResult convert(OpenSaml5AuthenticationProvider.ResponseToken responseToken) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken,Saml2ResponseValidatorResult>
-