Class SessionAuthentication

  • All Implemented Interfaces:
    java.io.Serializable, java.util.EventListener, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionBindingListener, Authentication, Authentication.LogoutAuthentication, Authentication.User

    public class SessionAuthentication
    extends AbstractUserAuthentication
    implements java.io.Serializable, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionBindingListener
    SessionAuthentication When a user has been successfully authenticated with some types of Authenticator, the Authenticator stashes a SessionAuthentication into an HttpSession to remember that the user is authenticated.
    See Also:
    Serialized Form
    • Field Detail

      • __J_AUTHENTICATED

        public static final java.lang.String __J_AUTHENTICATED
        See Also:
        Constant Field Values
    • Constructor Detail

      • SessionAuthentication

        public SessionAuthentication​(java.lang.String method,
                                     UserIdentity userIdentity,
                                     java.lang.Object credentials)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • sessionWillPassivate

        public void sessionWillPassivate​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListener
      • sessionDidActivate

        public void sessionDidActivate​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener
      • valueBound

        @Deprecated
        public void valueBound​(javax.servlet.http.HttpSessionBindingEvent event)
        Deprecated.
        Specified by:
        valueBound in interface javax.servlet.http.HttpSessionBindingListener
      • valueUnbound

        @Deprecated
        public void valueUnbound​(javax.servlet.http.HttpSessionBindingEvent event)
        Deprecated.
        Specified by:
        valueUnbound in interface javax.servlet.http.HttpSessionBindingListener