|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.test.security.BaseAuthorizationDomain
Constructor Summary | |
BaseAuthorizationDomain()
|
Method Summary | |
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. |
PermissionRepository |
getPermissionRepository()
The permission factory. |
void |
removeBindings(java.lang.String uri)
Remove the contstraints for the provided uri |
void |
setBindings(java.lang.String uri,
java.util.Set bindings)
Add the provided constraints to this policy configuration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.portal.security.spi.provider.AuthorizationDomain |
getPermissionFactory, getType |
Constructor Detail |
public BaseAuthorizationDomain()
Method Detail |
public DomainConfigurator getConfigurator()
AuthorizationDomain
getConfigurator
in interface AuthorizationDomain
public PermissionRepository getPermissionRepository()
AuthorizationDomain
getPermissionRepository
in interface AuthorizationDomain
public PortalPermission getPermission(java.lang.String roleName, java.lang.String uri) throws PortalSecurityException
PermissionRepository
getPermission
in interface PermissionRepository
PortalSecurityException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |