Class OpenSamlLogoutResponseValidator
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.logout.OpenSamlLogoutResponseValidator
-
- All Implemented Interfaces:
Saml2LogoutResponseValidator
public class OpenSamlLogoutResponseValidator extends java.lang.Object implements Saml2LogoutResponseValidator
ASaml2LogoutResponseValidatorthat authenticates a SAML 2.0 Logout Responses received from a SAML 2.0 Asserting Party using OpenSAML.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description OpenSamlLogoutResponseValidator()Constructs aOpenSamlLogoutRequestValidator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Saml2LogoutValidatorResultvalidate(Saml2LogoutResponseValidatorParameters parameters)Authenticates the SAML 2.0 Logout Response received from the SAML 2.0 Asserting Party.
-
-
-
Constructor Detail
-
OpenSamlLogoutResponseValidator
public OpenSamlLogoutResponseValidator()
Constructs aOpenSamlLogoutRequestValidator
-
-
Method Detail
-
validate
public Saml2LogoutValidatorResult validate(Saml2LogoutResponseValidatorParameters parameters)
Authenticates the SAML 2.0 Logout Response received from the SAML 2.0 Asserting Party. By default, verifies the signature, validates the issuer, destination, and status. It also ensures that it aligns with the given logout request.- Specified by:
validatein interfaceSaml2LogoutResponseValidator- Parameters:
parameters- theSaml2LogoutResponseValidatorParametersneeded- Returns:
- the authentication result
-
-