Interface Saml2LogoutRequestRepository
-
- All Known Implementing Classes:
HttpSessionLogoutRequestRepository
public interface Saml2LogoutRequestRepositoryImplementations of this interface are responsible for the persistence ofSaml2LogoutRequestbetween requests.Used by the
Saml2RelyingPartyInitiatedLogoutSuccessHandlerfor persisting the Logout Request before it initiates the SAML 2.0 SLO flow. As well, used byOpenSamlLogoutResponseHandlerfor resolving the Logout Request associated with that Logout Response.- Since:
- 5.6
- See Also:
Saml2LogoutRequest,HttpSessionLogoutRequestRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Saml2LogoutRequestloadLogoutRequest(javax.servlet.http.HttpServletRequest request)Returns theSaml2LogoutRequestassociated to the providedHttpServletRequestornullif not available.Saml2LogoutRequestremoveLogoutRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Removes and returns theSaml2LogoutRequestassociated to the providedHttpServletRequestandHttpServletResponseor if not available returnsnull.voidsaveLogoutRequest(Saml2LogoutRequest logoutRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Persists theSaml2LogoutRequestassociating it to the providedHttpServletRequestand/orHttpServletResponse.
-
-
-
Method Detail
-
loadLogoutRequest
Saml2LogoutRequest loadLogoutRequest(javax.servlet.http.HttpServletRequest request)
Returns theSaml2LogoutRequestassociated to the providedHttpServletRequestornullif not available.- Parameters:
request- theHttpServletRequest- Returns:
- the
Saml2LogoutRequestornullif not available
-
saveLogoutRequest
void saveLogoutRequest(Saml2LogoutRequest logoutRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Persists theSaml2LogoutRequestassociating it to the providedHttpServletRequestand/orHttpServletResponse.- Parameters:
logoutRequest- theSaml2LogoutRequestrequest- theHttpServletRequestresponse- theHttpServletResponse
-
removeLogoutRequest
Saml2LogoutRequest removeLogoutRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes and returns theSaml2LogoutRequestassociated to the providedHttpServletRequestandHttpServletResponseor if not available returnsnull.- Parameters:
request- theHttpServletRequestresponse- theHttpServletResponse- Returns:
- the
Saml2LogoutRequestornullif not available
-
-