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

PortalPolicyConfigurationFactory - JBOSS Portal 2.2 API 英文版文档


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

java.lang.Object
  extended byjavax.security.jacc.PolicyConfigurationFactory
      extended byorg.jboss.portal.security.impl.jacc.PortalPolicyConfigurationFactory

public final class PortalPolicyConfigurationFactory
extends javax.security.jacc.PolicyConfigurationFactory

Ripoff of the appserver's factory.

This is needed to a temp. workaround until we can fix the appserver's DelegatingPolicy to acomodate the features we need in the portal.


Constructor Summary
PortalPolicyConfigurationFactory(PortalJaccPolicy policy)
          Build the JACC policy configuration state machine from the jacc-policy-config-states.xml file.
 
Method Summary
 javax.security.jacc.PolicyConfiguration getPolicyConfiguration(java.lang.String contextID, boolean remove)
           
 boolean inService(java.lang.String contextID)
           
 
Methods inherited from class javax.security.jacc.PolicyConfigurationFactory
getPolicyConfigurationFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalPolicyConfigurationFactory

public PortalPolicyConfigurationFactory(PortalJaccPolicy policy)
Build the JACC policy configuration state machine from the jacc-policy-config-states.xml file.

Method Detail

getPolicyConfiguration

public javax.security.jacc.PolicyConfiguration getPolicyConfiguration(java.lang.String contextID,
                                                                      boolean remove)
                                                               throws javax.security.jacc.PolicyContextException
Throws:
javax.security.jacc.PolicyContextException

inService

public boolean inService(java.lang.String contextID)
                  throws javax.security.jacc.PolicyContextException
Throws:
javax.security.jacc.PolicyContextException