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)
           
 void attributeRemoved(HttpSessionBindingEvent event)
           
 void attributeReplaced(HttpSessionBindingEvent event)
           
 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)
Specified by:
attributeAdded in interface HttpSessionAttributeListener

attributeRemoved

public void attributeRemoved(HttpSessionBindingEvent event)
Specified by:
attributeRemoved in interface HttpSessionAttributeListener

attributeReplaced

public void attributeReplaced(HttpSessionBindingEvent event)
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.