Class OpenSaml5AuthenticationProvider.DestinationValidator
java.lang.Object
org.springframework.security.saml2.provider.service.authentication.OpenSaml5AuthenticationProvider.DestinationValidator
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken,Saml2ResponseValidatorResult>
- Enclosing class:
- OpenSaml5AuthenticationProvider
public static final class OpenSaml5AuthenticationProvider.DestinationValidator
extends Object
implements org.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken,Saml2ResponseValidatorResult>
A response validator that compares the
Destination value to the configured
RelyingPartyRegistration.getAssertionConsumerServiceLocation()- Since:
- 6.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(OpenSaml5AuthenticationProvider.ResponseToken responseToken) 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
-
DestinationValidator
public DestinationValidator()
-
-
Method Details
-
convert
@NonNull public Saml2ResponseValidatorResult convert(OpenSaml5AuthenticationProvider.ResponseToken responseToken) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<OpenSaml5AuthenticationProvider.ResponseToken,Saml2ResponseValidatorResult>
-