org.eclipse.jetty.security.authentication
Class SessionAuthentication

java.lang.Object
  extended by org.eclipse.jetty.security.UserAuthentication
      extended by org.eclipse.jetty.security.authentication.SessionAuthentication
All Implemented Interfaces:
Serializable, EventListener, HttpSessionAttributeListener, Authentication, Authentication.User

public class SessionAuthentication
extends UserAuthentication
implements HttpSessionAttributeListener, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.Authentication
Authentication.Challenge, Authentication.Deferred, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
 
Field Summary
static String __J_AUTHENTICATED
           
 
Fields inherited from interface org.eclipse.jetty.server.Authentication
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
 
Constructor Summary
SessionAuthentication(HttpSession session, Authenticator authenticator, UserIdentity userIdentity)
           
 
Method Summary
 void attributeAdded(HttpSessionBindingEvent event)
          Notification that an attribute has been added to a session.
 void attributeRemoved(HttpSessionBindingEvent event)
          Notification that an attribute has been removed from a session.
 void attributeReplaced(HttpSessionBindingEvent event)
          Notification that an attribute has been replaced in a session.
 void logout()
           
 String toString()
           
 
Methods inherited from class org.eclipse.jetty.security.UserAuthentication
getAuthMethod, getUserIdentity, isUserInRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__J_AUTHENTICATED

public static final String __J_AUTHENTICATED
See Also:
Constant Field Values
Constructor Detail

SessionAuthentication

public SessionAuthentication(HttpSession session,
                             Authenticator authenticator,
                             UserIdentity userIdentity)
Method Detail

attributeAdded

public void attributeAdded(HttpSessionBindingEvent event)
Description copied from interface: HttpSessionAttributeListener
Notification that an attribute has been added to a session. Called after the attribute is added.

Specified by:
attributeAdded in interface HttpSessionAttributeListener

attributeRemoved

public void attributeRemoved(HttpSessionBindingEvent event)
Description copied from interface: HttpSessionAttributeListener
Notification that an attribute has been removed from a session. Called after the attribute is removed.

Specified by:
attributeRemoved in interface HttpSessionAttributeListener

attributeReplaced

public void attributeReplaced(HttpSessionBindingEvent event)
Description copied from interface: HttpSessionAttributeListener
Notification that an attribute has been replaced in a session. Called after the attribute is replaced.

Specified by:
attributeReplaced in interface HttpSessionAttributeListener

logout

public void logout()
Specified by:
logout in interface Authentication.User
Overrides:
logout in class UserAuthentication

toString

public String toString()
Overrides:
toString in class UserAuthentication


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.