Class SecurityContextRequestPostProcessorSupport


  • public class SecurityContextRequestPostProcessorSupport
    extends Object
    Not visible in springframework (and method not static)
    • Constructor Detail

      • SecurityContextRequestPostProcessorSupport

        public SecurityContextRequestPostProcessorSupport()
    • Method Detail

      • save

        public static final void save​(org.springframework.security.core.Authentication authentication,
                                      javax.servlet.http.HttpServletRequest request)
        Saves the specified Authentication into an empty SecurityContext using the SecurityContextRepository.
        Parameters:
        authentication - the Authentication to save
        request - the HttpServletRequest to use
      • save

        public static final void save​(org.springframework.security.core.context.SecurityContext securityContext,
                                      javax.servlet.http.HttpServletRequest request)
        Saves the SecurityContext using the SecurityContextRepository
        Parameters:
        securityContext - the SecurityContext to save
        request - the HttpServletRequest to use