Interface Saml2AuthenticationRequestRepository<T extends AbstractSaml2AuthenticationRequest>

Type Parameters:
T - the type of SAML 2.0 Authentication Request
All Known Implementing Classes:
HttpSessionSaml2AuthenticationRequestRepository

public interface Saml2AuthenticationRequestRepository<T extends AbstractSaml2AuthenticationRequest>
Since:
5.6
  • Method Summary

    Modifier and Type
    Method
    Description
    loadAuthenticationRequest(jakarta.servlet.http.HttpServletRequest request)
    Loads the AbstractSaml2AuthenticationRequest from the request
    removeAuthenticationRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Removes the authentication request using the HttpServletRequest and HttpServletResponse
    void
    saveAuthenticationRequest(T authenticationRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Saves the current authentication request using the HttpServletRequest and HttpServletResponse
  • Method Details

    • loadAuthenticationRequest

      T loadAuthenticationRequest(jakarta.servlet.http.HttpServletRequest request)
      Loads the AbstractSaml2AuthenticationRequest from the request
      Parameters:
      request - the current request
      Returns:
      the AbstractSaml2AuthenticationRequest or null if it is not present
    • saveAuthenticationRequest

      void saveAuthenticationRequest(T authenticationRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Saves the current authentication request using the HttpServletRequest and HttpServletResponse
      Parameters:
      authenticationRequest - the AbstractSaml2AuthenticationRequest
      request - the current request
      response - the current response
    • removeAuthenticationRequest

      T removeAuthenticationRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Removes the authentication request using the HttpServletRequest and HttpServletResponse
      Parameters:
      request - the current request
      response - the current response
      Returns:
      the removed AbstractSaml2AuthenticationRequest or null if it is not present