当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
JaccPortalPolicyConfigurator - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.security.impl.jacc
Class JaccPortalPolicyConfigurator
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.common.system.AbstractJBossService
org.jboss.portal.security.impl.jacc.JaccPortalPolicyConfigurator
- All Implemented Interfaces:
- ConfigListener, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public final class JaccPortalPolicyConfigurator
- extends AbstractJBossService
- implements ConfigListener
The bridging class between the portal policy configurator, and the jacc policy enforcement.
This ConfifListener
takes policy configuration chage events and updates the
appropriate JACC permissions with them.
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaccPortalPolicyConfigurator
public JaccPortalPolicyConfigurator()
setJBossSecurityProvider
public void setJBossSecurityProvider(JBossSecurityProvider provider)
getJBossSecurityProvider
public JBossSecurityProvider getJBossSecurityProvider()
getPortalPolicyConfig
public PortalPolicyConfig getPortalPolicyConfig()
setPortalPolicyConfig
public void setPortalPolicyConfig(PortalPolicyConfig config)
getPermissionFactory
public PortalPermissionFactory getPermissionFactory()
setPermissionFactory
public void setPermissionFactory(PortalPermissionFactory permissionFactory)
resourceAdded
public void resourceAdded(java.lang.String permissionType,
java.lang.String uri,
java.util.Set constraints)
- A resource has been added to the configuration. The method implementation can modify the constraints argument.
- Specified by:
resourceAdded
in interface ConfigListener
- Parameters:
uri
- constraints
- the set of constraints applied to this resource
resourceModified
public void resourceModified(java.lang.String permissionType,
java.lang.String uri,
java.util.Set constraints)
- A resource has been modified. The method implementation can modify the constraints argument.
- Specified by:
resourceModified
in interface ConfigListener
- Parameters:
uri
- constraints
- the set of constraints applied to this resource
resourceRemoved
public void resourceRemoved(java.lang.String permissionType,
java.lang.String uri)
- A resource has been removed from the configuration.
- Specified by:
resourceRemoved
in interface ConfigListener
- Parameters:
uri
-
startService
public void startService()
throws java.lang.Exception
- Throws:
java.lang.Exception