com.opensymphony.user.adapter.jetty
Class OSUserPrincipal

java.lang.Object
  extended bycom.opensymphony.user.adapter.jetty.OSUserPrincipal
All Implemented Interfaces:
java.security.Principal, org.mortbay.http.UserPrincipal

public class OSUserPrincipal
extends java.lang.Object
implements org.mortbay.http.UserPrincipal

DOCUMENT ME!

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

Constructor Summary
OSUserPrincipal(User user, java.lang.String password)
           
 
Method Summary
 java.lang.String getName()
           
 boolean isAuthenticated()
           
 boolean isUserInRole(java.lang.String group)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

OSUserPrincipal

public OSUserPrincipal(User user,
                       java.lang.String password)
Method Detail

isAuthenticated

public boolean isAuthenticated()
Specified by:
isAuthenticated in interface org.mortbay.http.UserPrincipal

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

isUserInRole

public boolean isUserInRole(java.lang.String group)
Specified by:
isUserInRole in interface org.mortbay.http.UserPrincipal

See www.opensymphony.com for more information.