|
|||||||||
| 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
Interface UserPrincipal

- All Superinterfaces:
- java.security.Principal
- public interface UserPrincipal
- extends java.security.Principal
User Principal. Extends the security principal with a method to check if the user is in a role.
- Version:
- $Id: UserPrincipal.java,v 1.7 2002/05/07 14:29:18 gregwilkins Exp $
| Method Summary | |
boolean |
isAuthenticated()
Check authentication status. |
boolean |
isUserInRole(java.lang.String role)
Check if the user is in a role. |
| Methods inherited from interface java.security.Principal |
equals, getName, hashCode, toString |
| Method Detail |
isAuthenticated
public boolean isAuthenticated()
- Check authentication status.
Implementations of this method may adorn the calling context to
assoicate it with the authenticated principal (eg ThreadLocals). If
such context associations are made, they should be considered valid
until a UserRealm.deAuthenticate(UserPrincipal) call is made for this
UserPrincipal.
isUserInRole
public boolean isUserInRole(java.lang.String role)
- Check if the user is in a role.
|
|||||||||
| Home >> All >> org >> mortbay >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC