|
|||||||||
| 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 | |
|---|---|
DomainConfigurator |
getConfigurator()
The domain configurator. |
java.lang.String |
getCriteriaURI(java.lang.String name,
java.lang.String value)
|
IdentityServiceController |
getIdentityServiceController()
|
MembershipModule |
getMembershipModule()
|
PermissionFactory |
getPermissionFactory()
The permission repository. |
PermissionRepository |
getPermissionRepository()
The permission factory. |
java.lang.String |
getRoleURI(java.lang.String roleId)
|
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 |
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.ServiceMBeanSupportjava.lang.Exceptionpublic DomainConfigurator getConfigurator()
AuthorizationDomain
getConfigurator in interface AuthorizationDomainpublic PermissionFactory getPermissionFactory()
AuthorizationDomain
getPermissionFactory in interface AuthorizationDomainpublic PermissionRepository getPermissionRepository()
AuthorizationDomain
getPermissionRepository in interface AuthorizationDomainpublic java.lang.String getType()
AuthorizationDomain
getType in interface AuthorizationDomain
public void setSecurityBindings(java.lang.String uri,
java.util.Set securityBindings)
throws SecurityConfigurationException
DomainConfigurator
setSecurityBindings in interface DomainConfiguratorSecurityConfigurationException
public void removeSecurityBindings(java.lang.String uri)
throws SecurityConfigurationException
DomainConfigurator
removeSecurityBindings in interface DomainConfiguratoruri - the identifier of the secured resource
SecurityConfigurationExceptionpublic java.util.Set getSecurityBindings(java.lang.String uri)
DomainConfigurator
getSecurityBindings in interface DomainConfiguratorpublic java.lang.String getUserURI(java.lang.String userId)
getUserURI in interface AuthorizationProviderpublic java.lang.String getRoleURI(java.lang.String roleId)
getRoleURI in interface AuthorizationProviderroleId -
public java.lang.String getCriteriaURI(java.lang.String name,
java.lang.String value)
getCriteriaURI in interface AuthorizationProvidername - value -
public MembershipModule getMembershipModule()
getMembershipModule in interface AuthorizationProviderpublic IdentityServiceController getIdentityServiceController()
public void setIdentityServiceController(IdentityServiceController identityServiceController)
identityServiceController -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||