org.jboss.seam.security
Class Role
java.lang.Object
org.jboss.seam.security.SimplePrincipal
org.jboss.seam.security.Role
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
public class Role
- extends SimplePrincipal
Represents a user role. A conditional role is a special type of role that is assigned to a user
based on the contextual state of a permission check.
- Author:
- Shane Bryzak
- See Also:
- Serialized Form
|
Constructor Summary |
Role(java.lang.String name)
|
Role(java.lang.String name,
boolean conditional)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Role
public Role(java.lang.String name)
Role
public Role(java.lang.String name,
boolean conditional)
isConditional
public boolean isConditional()
Copyright © 2011 Seam Framework. All Rights Reserved.