|
||||||||||
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
Field Summary | |
private java.util.Map |
repository
. |
Constructor Summary | |
BaseAuthorizationDomain()
|
Method Summary | |
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. |
java.util.Set |
getSecurityBindings(java.lang.String uri)
Return the set of constraints for the given uri. |
void |
removeSecurityBindings(java.lang.String uri)
Remove the contstraints for the provided uri |
void |
setSecurityBindings(java.lang.String uri,
java.util.Set securityBindings)
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 |
Field Detail |
private java.util.Map repository
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 getSecurityBindings(java.lang.String uri)
DomainConfigurator
getSecurityBindings
in interface DomainConfigurator
uri
-
public void setSecurityBindings(java.lang.String uri, java.util.Set securityBindings) throws SecurityConfigurationException
DomainConfigurator
setSecurityBindings
in interface DomainConfigurator
uri
- securityBindings
-
SecurityConfigurationException
public void removeSecurityBindings(java.lang.String uri) throws SecurityConfigurationException
DomainConfigurator
removeSecurityBindings
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 |