Class OpenSaml3LogoutRequestResolver
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.web.authentication.logout.OpenSaml3LogoutRequestResolver
-
- All Implemented Interfaces:
Saml2LogoutRequestResolver
public final class OpenSaml3LogoutRequestResolver extends java.lang.Object implements Saml2LogoutRequestResolver
Deprecated.Because OpenSAML 3 has reached End-of-Life, please update toOpenSaml4LogoutRequestResolver
ASaml2LogoutRequestResolver
for resolving SAML 2.0 Logout Requests with OpenSAML 3- Since:
- 5.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenSaml3LogoutRequestResolver.LogoutRequestParameters
Deprecated.
-
Constructor Summary
Constructors Constructor Description OpenSaml3LogoutRequestResolver(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver)
Deprecated.Construct aOpenSaml3LogoutRequestResolver
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Saml2LogoutRequest
resolve(javax.servlet.http.HttpServletRequest request, org.springframework.security.core.Authentication authentication)
Deprecated.Prepare to create, sign, and serialize a SAML 2.0 Logout Request.void
setClock(java.time.Clock clock)
Deprecated.Use thisClock
for generating the issuedDateTime
void
setParametersConsumer(java.util.function.Consumer<OpenSaml3LogoutRequestResolver.LogoutRequestParameters> parametersConsumer)
Deprecated.Set aConsumer
for modifying the OpenSAMLLogoutRequest
-
-
-
Constructor Detail
-
OpenSaml3LogoutRequestResolver
public OpenSaml3LogoutRequestResolver(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver)
Deprecated.Construct aOpenSaml3LogoutRequestResolver
-
-
Method Detail
-
resolve
public Saml2LogoutRequest resolve(javax.servlet.http.HttpServletRequest request, org.springframework.security.core.Authentication authentication)
Deprecated.Prepare to create, sign, and serialize a SAML 2.0 Logout Request. By default, includes aNameID
based on theAuthentication
instance.- Specified by:
resolve
in interfaceSaml2LogoutRequestResolver
- Parameters:
request
- the HTTP requestauthentication
- the current user- Returns:
- a signed and serialized SAML 2.0 Logout Request
-
setParametersConsumer
public void setParametersConsumer(java.util.function.Consumer<OpenSaml3LogoutRequestResolver.LogoutRequestParameters> parametersConsumer)
Deprecated.Set aConsumer
for modifying the OpenSAMLLogoutRequest
- Parameters:
parametersConsumer
- a consumer that accepts anOpenSaml3LogoutRequestResolver.LogoutRequestParameters
-
setClock
public void setClock(java.time.Clock clock)
Deprecated.Use thisClock
for generating the issuedDateTime
- Parameters:
clock
- theClock
to use
-
-