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

PermissionHandler (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 API 英文版文档


org.jboss.seam.security
Class PermissionHandler

java.lang.Object
  extended by org.jboss.seam.security.PermissionHandler

public class PermissionHandler
extends Object

Author:
shane_bryzak

Constructor Summary
PermissionHandler(Class cls)
           
 
Method Summary
 void aclCheck(Object obj, String action)
          Performs an ACL permission check against the currently authenticated principal.
 String getPermissionName()
           
 String getProviderName(String action)
           
 boolean supportsAclCheck(String action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionHandler

public PermissionHandler(Class cls)
Method Detail

getPermissionName

public String getPermissionName()

getProviderName

public String getProviderName(String action)

supportsAclCheck

public boolean supportsAclCheck(String action)

aclCheck

public void aclCheck(Object obj,
                     String action)
Performs an ACL permission check against the currently authenticated principal. A SecurityException is thrown if the currently authenticated user does not have the necessary permission for the specified object.

Parameters:
obj - Object The object to be checked
action - String The action