Package org.springframework.security.web.savedrequest
Classes related to the caching of an
HttpServletRequest
which requires
authentication. While the user is logging in, the request is cached (using the
RequestCache implementation) by the ExceptionTranslationFilter. Once the user has been
authenticated, the original request is restored following a redirect to a matching URL,
and the RequestCache
is queried to obtain the original (matching) request.-
Interface Summary Interface Description RequestCache Implements "saved request" logic, allowing a single request to be retrieved and restarted after redirecting to an authentication mechanism.SavedRequest Encapsulates the functionality required of a cached request for both an authentication mechanism (typically form-based login) to redirect to the original URL and for a RequestCache to build a wrapped request, reproducing the original request data. -
Class Summary Class Description CookieRequestCache An Implementation ofRequestCache
which saves the original request URI in a cookie.DefaultSavedRequest Represents central information from aHttpServletRequest
.DefaultSavedRequest.Builder Enumerator<T> Adapter that wraps anEnumeration
around a Java 2 collectionIterator
.FastHttpDateFormat Utility class to generate HTTP dates.HttpSessionRequestCache RequestCache
which stores theSavedRequest
in the HttpSession.NullRequestCache Null implementation of RequestCache.RequestCacheAwareFilter Responsible for reconstituting the saved request if one is cached and it matches the current request.SavedCookie Stores off the values of a cookie in a serializable holderSimpleSavedRequest A Bean implementation of SavedRequest