Class SessionManagementConfigurer.SessionFixationConfigurer

    • Constructor Detail

      • SessionFixationConfigurer

        public SessionFixationConfigurer()
    • Method Detail

      • changeSessionId

        public SessionManagementConfigurer<H> changeSessionId()
        Specifies that the Servlet container-provided session fixation protection should be used. When a session authenticates, the Servlet method HttpServletRequest#changeSessionId() is called to change the session ID and retain all session attributes.
        Returns:
        the SessionManagementConfigurer for further customizations
      • none

        public SessionManagementConfigurer<H> none()
        Specifies that no session fixation protection should be enabled. This may be useful when utilizing other mechanisms for protecting against session fixation. For example, if application container session fixation protection is already in use. Otherwise, this option is not recommended.
        Returns:
        the SessionManagementConfigurer for further customizations