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.permission
Class PermissionCheck

    java.lang.Object
      org.jboss.seam.security.permission.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(Object target, String action)`

Method Summary
`String` | `getAction()`
`String` | `getName()` Deprecated.
`Set<String>` | `getRequirements()`
`Object` | `getTarget()`
`void` | `grant()`
`boolean` | `hasRequirements()`
`boolean` | `isGranted()`
`void` | `require(String requirement)`
`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(Object target,
                           String action)

Method Detail

### getTarget

    public Object getTarget()

### getName

    @Deprecated
    public String getName()

  Deprecated.

### getAction

    public String getAction()

### require

    public void require(String requirement)

### grant

    public void grant()

### revoke

    public void revoke()

### isGranted

    public boolean isGranted()

### hasRequirements

    public boolean hasRequirements()

### getRequirements

    public Set<String> getRequirements()

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.