public class CachingPrincipal extends BasicPrincipal
Constructor and Description |
---|
CachingPrincipal()
Zero-arg constructor for serialization.
|
CachingPrincipal(java.lang.String name)
Creates a new caching principal.
|
Modifier and Type | Method and Description |
---|---|
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.
|
equals, getName, hashCode, toString