|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.cms.security.AuthorizationProviderImpl
public class AuthorizationProviderImpl
Created on : Jan 23, 2007
Field Summary |
---|
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 | |
---|---|
AuthorizationProviderImpl()
|
Method Summary | |
---|---|
java.lang.String |
getCmsRootUserName()
|
DomainConfigurator |
getConfigurator()
The domain configurator. |
java.lang.String |
getCriteriaURI(java.lang.String name,
java.lang.String value)
|
java.lang.String |
getDefaultAdminRole()
|
IdentityServiceController |
getIdentityServiceController()
|
MembershipModule |
getMembershipModule()
|
PermissionFactory |
getPermissionFactory()
The permission repository. |
PermissionRepository |
getPermissionRepository()
The permission factory. |
java.lang.String |
getRoleURI(java.lang.String roleId)
|
User |
getRoot()
|
java.util.Set |
getSecurityBindings(java.lang.String uri)
Return the set of constraints for the given uri. |
java.lang.String |
getType()
The domain type. |
java.lang.String |
getUserURI(java.lang.String userId)
|
void |
removeSecurityBindings(java.lang.String uri)
Remove the contstraints for the provided uri |
void |
setCmsRootUserName(java.lang.String cmsRootUserName)
|
void |
setIdentityServiceController(IdentityServiceController identityServiceController)
|
void |
setSecurityBindings(java.lang.String uri,
java.util.Set securityBindings)
Add the provided constraints to this policy configuration |
void |
startService()
|
Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService |
---|
create, destroy, getState, getStateString, start, stop |
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 |
Constructor Detail |
---|
public AuthorizationProviderImpl()
Method Detail |
---|
public void startService() throws java.lang.Exception
startService
in class org.jboss.system.ServiceMBeanSupport
java.lang.Exception
public DomainConfigurator getConfigurator()
AuthorizationDomain
getConfigurator
in interface AuthorizationDomain
public PermissionFactory getPermissionFactory()
AuthorizationDomain
getPermissionFactory
in interface AuthorizationDomain
public PermissionRepository getPermissionRepository()
AuthorizationDomain
getPermissionRepository
in interface AuthorizationDomain
public java.lang.String getType()
AuthorizationDomain
getType
in interface AuthorizationDomain
public java.lang.String getCmsRootUserName()
public void setCmsRootUserName(java.lang.String cmsRootUserName)
cmsRootUserName
- public void setSecurityBindings(java.lang.String uri, java.util.Set securityBindings) throws SecurityConfigurationException
DomainConfigurator
setSecurityBindings
in interface DomainConfigurator
SecurityConfigurationException
public void removeSecurityBindings(java.lang.String uri) throws SecurityConfigurationException
DomainConfigurator
removeSecurityBindings
in interface DomainConfigurator
uri
- the identifier of the secured resource
SecurityConfigurationException
public java.util.Set getSecurityBindings(java.lang.String uri)
DomainConfigurator
getSecurityBindings
in interface DomainConfigurator
public User getRoot()
getRoot
in interface AuthorizationProvider
public java.lang.String getDefaultAdminRole()
getDefaultAdminRole
in interface AuthorizationProvider
public java.lang.String getUserURI(java.lang.String userId)
getUserURI
in interface AuthorizationProvider
public java.lang.String getRoleURI(java.lang.String roleId)
getRoleURI
in interface AuthorizationProvider
roleId
-
public java.lang.String getCriteriaURI(java.lang.String name, java.lang.String value)
getCriteriaURI
in interface AuthorizationProvider
name
- value
-
public MembershipModule getMembershipModule()
getMembershipModule
in interface AuthorizationProvider
public IdentityServiceController getIdentityServiceController()
public void setIdentityServiceController(IdentityServiceController identityServiceController)
identityServiceController
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |