|
|||||||||
| Home >> All >> org >> mortbay >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mortbay.http
Class HashUserRealm.WrappedUser

java.lang.Objectorg.mortbay.http.HashUserRealm.User
org.mortbay.http.HashUserRealm.WrappedUser
- All Implemented Interfaces:
- java.security.Principal
- Enclosing class:
- HashUserRealm
- private class HashUserRealm.WrappedUser
- extends HashUserRealm.User
| Field Summary | |
private java.lang.String |
role
|
(package private) java.util.List |
roles
|
private java.security.Principal |
user
|
| Constructor Summary | |
(package private) |
HashUserRealm.WrappedUser(java.security.Principal user,
java.lang.String role)
|
| Method Summary | |
java.lang.String |
getName()
This method returns a String that names this
Principal. |
(package private) java.security.Principal |
getUserPrincipal()
|
boolean |
isAuthenticated()
|
boolean |
isUserInRole(java.lang.String role)
|
java.lang.String |
toString()
This method returns a String representation of this
Principal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
equals, hashCode |
| Field Detail |
user
private java.security.Principal user
role
private java.lang.String role
roles
java.util.List roles
| Constructor Detail |
HashUserRealm.WrappedUser
HashUserRealm.WrappedUser(java.security.Principal user, java.lang.String role)
| Method Detail |
getUserPrincipal
java.security.Principal getUserPrincipal()
getName
public java.lang.String getName()
- Description copied from interface:
java.security.Principal - This method returns a
Stringthat names thisPrincipal.- Specified by:
getNamein interfacejava.security.Principal- Overrides:
getNamein classHashUserRealm.User
isAuthenticated
public boolean isAuthenticated()
- Overrides:
isAuthenticatedin classHashUserRealm.User
isUserInRole
public boolean isUserInRole(java.lang.String role)
toString
public java.lang.String toString()
- Description copied from interface:
java.security.Principal - This method returns a
Stringrepresentation of thisPrincipal.- Specified by:
toStringin interfacejava.security.Principal
|
|||||||||
| Home >> All >> org >> mortbay >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC