Class BasicSavedRequest

java.lang.Object
com.broadleafcommerce.auth.user.session.BasicSavedRequest
All Implemented Interfaces:
Serializable, org.springframework.security.web.savedrequest.SavedRequest

public class BasicSavedRequest extends Object implements org.springframework.security.web.savedrequest.SavedRequest
Simple implementation of a SavedRequest. This implementation focuses primarily on simply storing the redirectUrl and client id values.
Author:
Jeff Fischer
See Also:
  • Constructor Details

    • BasicSavedRequest

      public BasicSavedRequest(String redirectUrl)
  • Method Details

    • getRedirectUrl

      public String getRedirectUrl()
      Specified by:
      getRedirectUrl in interface org.springframework.security.web.savedrequest.SavedRequest
    • getCookies

      public List<jakarta.servlet.http.Cookie> getCookies()
      Specified by:
      getCookies in interface org.springframework.security.web.savedrequest.SavedRequest
    • getMethod

      public String getMethod()
      Specified by:
      getMethod in interface org.springframework.security.web.savedrequest.SavedRequest
    • getHeaderValues

      public List<String> getHeaderValues(String name)
      Specified by:
      getHeaderValues in interface org.springframework.security.web.savedrequest.SavedRequest
    • getHeaderNames

      public Collection<String> getHeaderNames()
      Specified by:
      getHeaderNames in interface org.springframework.security.web.savedrequest.SavedRequest
    • getLocales

      public List<Locale> getLocales()
      Specified by:
      getLocales in interface org.springframework.security.web.savedrequest.SavedRequest
    • getParameterValues

      public String[] getParameterValues(String name)
      Specified by:
      getParameterValues in interface org.springframework.security.web.savedrequest.SavedRequest
    • getParameterMap

      public Map<String,String[]> getParameterMap()
      Specified by:
      getParameterMap in interface org.springframework.security.web.savedrequest.SavedRequest