com.opensymphony.user.adapter.jetty
Class OSUserRealm

java.lang.Object
  extended bycom.opensymphony.user.adapter.jetty.OSUserRealm
All Implemented Interfaces:
org.mortbay.http.UserRealm

public class OSUserRealm
extends java.lang.Object
implements org.mortbay.http.UserRealm

DOCUMENT ME!

Version:
$Revision: 1.1.1.1 $
Author:
$author$

Field Summary
 
Fields inherited from interface org.mortbay.http.UserRealm
__UserRole
 
Constructor Summary
OSUserRealm()
           
 
Method Summary
 org.mortbay.http.UserPrincipal authenticate(java.lang.String username, java.lang.Object password, org.mortbay.http.HttpRequest httpRequest)
           
 org.mortbay.http.UserPrincipal authenticate(java.lang.String username, java.lang.String password, org.mortbay.http.HttpRequest httpRequest)
           
 void disassociate(org.mortbay.http.UserPrincipal userPrincipal)
           
 void dissassociate(org.mortbay.http.UserPrincipal userPrincipal)
           
 java.lang.String getName()
           
 org.mortbay.http.UserPrincipal popRole(org.mortbay.http.UserPrincipal userPrincipal)
           
 org.mortbay.http.UserPrincipal pushRole(org.mortbay.http.UserPrincipal userPrincipal, java.lang.String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSUserRealm

public OSUserRealm()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.mortbay.http.UserRealm

authenticate

public org.mortbay.http.UserPrincipal authenticate(java.lang.String username,
                                                   java.lang.Object password,
                                                   org.mortbay.http.HttpRequest httpRequest)
Specified by:
authenticate in interface org.mortbay.http.UserRealm

authenticate

public org.mortbay.http.UserPrincipal authenticate(java.lang.String username,
                                                   java.lang.String password,
                                                   org.mortbay.http.HttpRequest httpRequest)

disassociate

public void disassociate(org.mortbay.http.UserPrincipal userPrincipal)
Specified by:
disassociate in interface org.mortbay.http.UserRealm

dissassociate

public void dissassociate(org.mortbay.http.UserPrincipal userPrincipal)

popRole

public org.mortbay.http.UserPrincipal popRole(org.mortbay.http.UserPrincipal userPrincipal)
Specified by:
popRole in interface org.mortbay.http.UserRealm

pushRole

public org.mortbay.http.UserPrincipal pushRole(org.mortbay.http.UserPrincipal userPrincipal,
                                               java.lang.String role)
Specified by:
pushRole in interface org.mortbay.http.UserRealm

See www.opensymphony.com for more information.