org.mortbay.jetty.security
Class FormAuthenticator.FormCredential

java.lang.Object
  extended by org.mortbay.jetty.security.FormAuthenticator.FormCredential
All Implemented Interfaces:
Serializable, EventListener, HttpSessionBindingListener
Enclosing class:
FormAuthenticator

private static class FormAuthenticator.FormCredential
extends Object
implements Serializable, HttpSessionBindingListener

FORM Authentication credential holder.


Field Summary
(package private)  String _jPassword
           
(package private)  String _jUserName
           
(package private)  UserRealm _realm
           
(package private)  Principal _userPrincipal
           
 
Constructor Summary
private FormAuthenticator.FormCredential()
           
 
Method Summary
(package private)  void authenticate(UserRealm realm, Request request)
           
(package private)  void authenticate(UserRealm realm, String user, String password, Request request)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 void valueBound(HttpSessionBindingEvent event)
           
 void valueUnbound(HttpSessionBindingEvent event)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_jUserName

String _jUserName

_jPassword

String _jPassword

_userPrincipal

transient Principal _userPrincipal

_realm

transient UserRealm _realm
Constructor Detail

FormAuthenticator.FormCredential

private FormAuthenticator.FormCredential()
Method Detail

authenticate

void authenticate(UserRealm realm,
                  String user,
                  String password,
                  Request request)

authenticate

void authenticate(UserRealm realm,
                  Request request)

valueBound

public void valueBound(HttpSessionBindingEvent event)
Specified by:
valueBound in interface HttpSessionBindingListener

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface HttpSessionBindingListener

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object