Interface Saml2LogoutRequestResolver
public interface Saml2LogoutRequestResolver
Creates a signed SAML 2.0 Logout Request based on information from the
HttpServletRequest
and current Authentication
.
The returned logout request is suitable for sending to the asserting party based on,
for example, the location and binding specified in
RelyingPartyRegistration.getAssertingPartyDetails()
.- Since:
- 5.6
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(jakarta.servlet.http.HttpServletRequest request, Authentication authentication) Prepare to create, sign, and serialize a SAML 2.0 Logout Request.
-
Method Details
-
resolve
Saml2LogoutRequest resolve(jakarta.servlet.http.HttpServletRequest request, Authentication authentication) Prepare to create, sign, and serialize a SAML 2.0 Logout Request. By default, includes aNameID
based on theAuthentication
instance.- Parameters:
request
- the HTTP requestauthentication
- the current user- Returns:
- a signed and serialized SAML 2.0 Logout Request
-