|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.security.BasicPrincipal
com.caucho.server.security.CachingPrincipal
public class CachingPrincipal
Principal which caches the roles.
| Constructor Summary | |
|---|---|
CachingPrincipal()
Zero-arg constructor for serialization. |
|
CachingPrincipal(java.lang.String name)
Creates a new caching principal. |
|
| Method Summary | |
|---|---|
void |
addRole(java.lang.String role)
Sets the boolean for the role. |
java.lang.Boolean |
isInRole(java.lang.String role)
Returns the boolean for the role. |
| Methods inherited from class com.caucho.security.BasicPrincipal |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CachingPrincipal()
public CachingPrincipal(java.lang.String name)
| Method Detail |
|---|
public java.lang.Boolean isInRole(java.lang.String role)
public void addRole(java.lang.String role)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||