站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

PermissionCheck (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.security
Class PermissionCheck

java.lang.Object
  extended by 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()
           
 
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()

isGranted

public boolean isGranted()