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

PortalPolicy - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.security
Interface PortalPolicy


public interface PortalPolicy

Interface for authorization decissions.


Method Summary
 boolean implies(PortalSubject subject, PortalPermission permission)
          Return true if the specified permission is implied for the specific subject.
 

Method Detail

implies

public boolean implies(PortalSubject subject,
                       PortalPermission permission)
Return true if the specified permission is implied for the specific subject.

Parameters:
subject - the currently authenticated subject
permission - the permission to check
Returns:
true when the permission is granted