当前页面: 
在线文档首页 > 
JBoss Seam  1.1.0 API 英文版文档
PermissionCheck (JBoss Seam API Documentation) - JBoss Seam  1.1.0 API 英文版文档
org.jboss.seam.security.rules
Class PermissionCheck
java.lang.Object
   org.jboss.seam.security.rules.PermissionCheck
org.jboss.seam.security.rules.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
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PermissionCheck
public PermissionCheck(String name,
                       String action)
getName
public String getName()
- 
 
getAction
public String getAction()
- 
 
grant
public void grant()
- 
 
isGranted
public boolean isGranted()
-