Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security
Class Role

    java.lang.Object
      org.jboss.seam.security.SimplePrincipal
          org.jboss.seam.security.Role

All Implemented Interfaces:
  Serializable, 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(String name)`
`Role(String name, boolean conditional)`

Method Summary
`boolean` | `isConditional()`

Methods inherited from class org.jboss.seam.security.SimplePrincipal
`equals, getName, hashCode, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Role

    public Role(String name)

### Role

    public Role(String name,
                boolean conditional)

Method Detail

### isConditional

    public boolean isConditional()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.