Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security
Class PermissionCheck

    java.lang.Object
      org.jboss.seam.security.PermissionCheck

    public class PermissionCheck

extends Object

Used to assert permission requirements into a WorkingMemory when evaluating a @Restrict expression. The consequence of the rule is responsible for granting the permission.

Author:
  Shane Bryzak

Constructor Summary
`PermissionCheck(String name, String action)`

Method Summary
`String` | `getAction()`
`String` | `getName()`
`void` | `grant()`
`boolean` | `isGranted()`
`void` | `revoke()`

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

Constructor Detail

### PermissionCheck

    public PermissionCheck(String name,
                           String action)

Method Detail

### getName

    public String getName()

### getAction

    public String getAction()

### grant

    public void grant()

### revoke

    public void revoke()

### isGranted

    public boolean isGranted()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD