|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.portal.common.system.AbstractJBossService org.jboss.portal.portlet.impl.security.JBossPortletSecurityService
Service that configures security for portlets
Field Summary | |
protected JBossAuthorizationDomainRegistry |
authorizationDomainRegistry
. |
protected PortalAuthorizationManagerFactory |
portalAuthorizationManagerFactory
. |
protected EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap |
securityConstraintsMap
. |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, 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 |
Constructor Summary | |
JBossPortletSecurityService()
|
Method Summary | |
PortalPermission |
createPermission(java.lang.String uri,
java.util.Collection actions)
|
PortalPermission |
createPermission(java.lang.String uri,
java.lang.String action)
|
PortalPermission |
createPermissionContainer(PortalPermissionCollection collection)
|
protected void |
createService()
|
protected void |
destroyService()
|
AuthorizationDomain |
getAuthorizationDomain()
|
JBossAuthorizationDomainRegistry |
getAuthorizationDomainRegistry()
|
java.util.Set |
getBindings(java.lang.String uri)
Return the set of constraints for the given uri. |
DomainConfigurator |
getConfigurator()
The domain configurator. |
PortalPermission |
getPermission(java.lang.String roleName,
java.lang.String uri)
Load a permission from the repository. |
PermissionFactory |
getPermissionFactory()
The permission repository. |
PermissionRepository |
getPermissionRepository()
The permission factory. |
PortalAuthorizationManagerFactory |
getPortalAuthorizationManagerFactory()
|
java.lang.String |
getType()
The domain type. |
void |
removeBindings(java.lang.String uri)
Remove the contstraints for the provided uri |
void |
setAuthorizationDomainRegistry(JBossAuthorizationDomainRegistry authorizationDomainRegistry)
|
void |
setBindings(java.lang.String uri,
java.util.Set bindings)
Add the provided constraints to this policy configuration |
void |
setPortalAuthorizationManagerFactory(PortalAuthorizationManagerFactory portalAuthorizationManagerFactory)
|
protected void |
startService()
|
protected void |
stopService()
|
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService |
create, destroy, getState, getStateString, start, stop |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
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 |
Field Detail |
protected EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap securityConstraintsMap
protected PortalAuthorizationManagerFactory portalAuthorizationManagerFactory
protected JBossAuthorizationDomainRegistry authorizationDomainRegistry
Constructor Detail |
public JBossPortletSecurityService()
Method Detail |
public AuthorizationDomain getAuthorizationDomain()
getAuthorizationDomain
in interface PortletSecurityService
public java.lang.String getType()
AuthorizationDomain
getType
in interface AuthorizationDomain
public DomainConfigurator getConfigurator()
AuthorizationDomain
getConfigurator
in interface AuthorizationDomain
public PermissionRepository getPermissionRepository()
AuthorizationDomain
getPermissionRepository
in interface AuthorizationDomain
public PermissionFactory getPermissionFactory()
AuthorizationDomain
getPermissionFactory
in interface AuthorizationDomain
public java.util.Set getBindings(java.lang.String uri)
DomainConfigurator
getBindings
in interface DomainConfigurator
uri
-
public void setBindings(java.lang.String uri, java.util.Set bindings) throws SecurityConfigurationException
DomainConfigurator
setBindings
in interface DomainConfigurator
uri
- bindings
-
SecurityConfigurationException
public void removeBindings(java.lang.String uri) throws SecurityConfigurationException
DomainConfigurator
removeBindings
in interface DomainConfigurator
uri
- the identifier of the secured resource
SecurityConfigurationException
public PortalPermission getPermission(java.lang.String roleName, java.lang.String uri) throws PortalSecurityException
PermissionRepository
getPermission
in interface PermissionRepository
PortalSecurityException
public PortalPermission createPermissionContainer(PortalPermissionCollection collection) throws PortalSecurityException
createPermissionContainer
in interface PermissionFactory
PortalSecurityException
public PortalPermission createPermission(java.lang.String uri, java.lang.String action) throws PortalSecurityException
createPermission
in interface PermissionFactory
PortalSecurityException
public PortalPermission createPermission(java.lang.String uri, java.util.Collection actions) throws PortalSecurityException
createPermission
in interface PermissionFactory
PortalSecurityException
protected void createService() throws java.lang.Exception
java.lang.Exception
protected void destroyService() throws java.lang.Exception
java.lang.Exception
protected void startService() throws java.lang.Exception
java.lang.Exception
protected void stopService() throws java.lang.Exception
java.lang.Exception
public JBossAuthorizationDomainRegistry getAuthorizationDomainRegistry()
public void setAuthorizationDomainRegistry(JBossAuthorizationDomainRegistry authorizationDomainRegistry)
public PortalAuthorizationManagerFactory getPortalAuthorizationManagerFactory()
public void setPortalAuthorizationManagerFactory(PortalAuthorizationManagerFactory portalAuthorizationManagerFactory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |