org.jboss.portal.cms.security
Class AuthorizationManagerImpl
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.cms.security.AuthorizationManagerImpl
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, AuthorizationManager, PortalAuthorizationManager, PortalAuthorizationManagerFactory, org.jboss.system.Service, org.jboss.system.ServiceMBean
public class AuthorizationManagerImpl
- extends AbstractJBossService
- implements AuthorizationManager
Created on : Jan 23, 2007
- Author:
- Sohil Shah - sohil.shah@jboss.com
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 |
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 |
AuthorizationManagerImpl
public AuthorizationManagerImpl()
getProvider
public AuthorizationProvider getProvider()
- Specified by:
getProvider
in interface AuthorizationManager
- Returns:
setProvider
public void setProvider(AuthorizationProvider provider)
- Parameters:
provider
-
getJNDIName
public java.lang.String getJNDIName()
- Returns:
setJNDIName
public void setJNDIName(java.lang.String jndiName)
- Parameters:
jndiName
-
startService
public void startService()
throws java.lang.Exception
- Overrides:
startService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
getManager
public PortalAuthorizationManager getManager()
throws PortalSecurityException
- Description copied from interface:
PortalAuthorizationManagerFactory
- Return the portal authorization manager instance.
- Specified by:
getManager
in interface PortalAuthorizationManagerFactory
- Returns:
- the portal authorization manager
- Throws:
PortalSecurityException
checkPermission
public boolean checkPermission(PortalPermission permission)
throws PortalSecurityException
- Specified by:
checkPermission
in interface PortalAuthorizationManager
- Returns:
-
- Throws:
PortalSecurityException
checkPermission
public boolean checkPermission(javax.security.auth.Subject checkedSubject,
PortalPermission permission)
throws PortalSecurityException
- Specified by:
checkPermission
in interface PortalAuthorizationManager
- Returns:
-
- Throws:
PortalSecurityException
setEnforcer
protected void setEnforcer(ACLEnforcer enforcer)