Class Saml2LogoutRequestValidatorParameters
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.logout.Saml2LogoutRequestValidatorParameters
-
public class Saml2LogoutRequestValidatorParameters extends java.lang.Object
A holder of the parameters needed to invokeSaml2LogoutRequestValidator
- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description Saml2LogoutRequestValidatorParameters(Saml2LogoutRequest request, RelyingPartyRegistration registration, Authentication authentication)
Construct aSaml2LogoutRequestValidatorParameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
getAuthentication()
The currentAuthentication
Saml2LogoutRequest
getLogoutRequest()
The SAML 2.0 Logout Request sent by the asserting partyRelyingPartyRegistration
getRelyingPartyRegistration()
TheRelyingPartyRegistration
representing this relying party
-
-
-
Constructor Detail
-
Saml2LogoutRequestValidatorParameters
public Saml2LogoutRequestValidatorParameters(Saml2LogoutRequest request, RelyingPartyRegistration registration, Authentication authentication)
Construct aSaml2LogoutRequestValidatorParameters
- Parameters:
request
- the SAML 2.0 Logout Request received from the asserting partyregistration
- the associatedRelyingPartyRegistration
authentication
- the current user
-
-
Method Detail
-
getLogoutRequest
public Saml2LogoutRequest getLogoutRequest()
The SAML 2.0 Logout Request sent by the asserting party- Returns:
- the logout request
-
getRelyingPartyRegistration
public RelyingPartyRegistration getRelyingPartyRegistration()
TheRelyingPartyRegistration
representing this relying party- Returns:
- the relying party
-
getAuthentication
public Authentication getAuthentication()
The currentAuthentication
- Returns:
- the authenticated user
-
-