|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jrun.servlet.security.AuthenticatedPrincipal
Represents an authenticated user. Once a user has been authenticated by JRun through the StandardSecurityFilter and JAAS, the user will be placed in ServletUsers.
| Method Summary | |
boolean |
equals(java.lang.Object o)
Determine if this AuthenticatedPrincipal equals the given AuthenticatedPrincipal |
java.lang.String |
getAuthType()
Returns the type of authentication (i.e. |
protected java.lang.Object |
getContextId()
|
java.lang.String |
getName()
Returns the name of the authenticated user |
boolean |
invalid()
See if the principal is invalid. |
boolean |
isUserInRole(java.lang.String role,
java.lang.String servletName)
|
void |
logoff()
Log off user from the web application. |
protected void |
setAuthType(java.lang.String type)
Sets the type of authentication used to authenticate the user (i.e. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
hashCode |
| Method Detail |
public java.lang.String getName()
getName in interface java.security.Principalprotected void setAuthType(java.lang.String type)
type - The authentication typepublic java.lang.String getAuthType()
protected java.lang.Object getContextId()
public void logoff()
public boolean invalid()
public boolean isUserInRole(java.lang.String role,
java.lang.String servletName)
public boolean equals(java.lang.Object o)
equals in interface java.security.Principalequals in class java.lang.Objectpublic java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||