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

Authorizer (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.security.authorizer
Interface Authorizer

All Known Implementing Classes:
AccessControllerAuthorizer, JbpmIdentityAuthorizer, RolesAuthorizer

public interface Authorizer

defines the interface for plugging in authorization mechanisms into jBPM.

If Authroization implementations need the current authenticated user, they can look that up via Authentication.getAuthenticatedActorId().


Method Summary
 void checkPermission(java.security.Permission permission, ProcessDefinition processDefinition, Token token)
          verify if the currently authenticated has the given permission.
 

Method Detail

checkPermission

public void checkPermission(java.security.Permission permission,
                            ProcessDefinition processDefinition,
                            Token token)
                     throws java.security.AccessControlException
verify if the currently authenticated has the given permission.

Throws:
java.security.AccessControlException - if the current authenticated actor is not authorized.


Version : jbpm-3.0.4