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

JACCPortalAuthorizationManager - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.security.impl.jacc
Class JACCPortalAuthorizationManager

java.lang.Object
  extended byorg.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager
All Implemented Interfaces:
PortalAuthorizationManager

public class JACCPortalAuthorizationManager
extends java.lang.Object
implements PortalAuthorizationManager

Portal Authorization Manager based on JACC Has deep integration with the JBossSX Jacc Layer.

Since:
Jan 30, 2006
Author:
Anil Saldhana, Julien Viet

Field Summary
private  JACCPortalAuthorizationManagerFactory factory
          .
private static org.jboss.logging.Logger log
          .
private  javax.security.jacc.PolicyConfigurationFactory pcf
          .
private static boolean trace
          .
 
Constructor Summary
JACCPortalAuthorizationManager(JACCPortalAuthorizationManagerFactory factory)
           
 
Method Summary
 boolean checkPermission(PortalPermission permission)
           
 void checkRoleConfig(java.lang.String contextID, java.lang.String roleName)
           
 boolean internalCheckPermission(PortalPermission permission)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.jboss.logging.Logger log
.


trace

private static final boolean trace
.


factory

private final JACCPortalAuthorizationManagerFactory factory
.


pcf

private javax.security.jacc.PolicyConfigurationFactory pcf
.

Constructor Detail

JACCPortalAuthorizationManager

public JACCPortalAuthorizationManager(JACCPortalAuthorizationManagerFactory factory)
Method Detail

checkRoleConfig

public void checkRoleConfig(java.lang.String contextID,
                            java.lang.String roleName)
                     throws java.lang.Exception
Throws:
java.lang.Exception

internalCheckPermission

public boolean internalCheckPermission(PortalPermission permission)
                                throws java.lang.Exception
Throws:
java.lang.Exception

checkPermission

public boolean checkPermission(PortalPermission permission)
                        throws PortalSecurityException
Specified by:
checkPermission in interface PortalAuthorizationManager
Parameters:
permission -
Returns:
Throws:
PortalSecurityException