站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

DomainConfigurator - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.security.spi.provider
Interface DomainConfigurator

All Known Implementing Classes:
BaseAuthorizationDomain, JBossPortletSecurityService, PersistentInstanceContainer, PersistentPortalObjectContainer

public interface DomainConfigurator

Main interface to configure the policy for a specified permission type and manage security of portal resources.


Method Summary
 java.util.Set getBindings(java.lang.String uri)
          Return the set of constraints for the given uri.
 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
 

Method Detail

getBindings

public java.util.Set getBindings(java.lang.String uri)
Return the set of constraints for the given uri.

Parameters:
uri -
Returns:
a set of SecurityConstraint containing the roles and actions allowed for the resource

setBindings

public void setBindings(java.lang.String uri,
                        java.util.Set bindings)
                 throws SecurityConfigurationException
Add the provided constraints to this policy configuration

Parameters:
uri -
bindings -
Throws:
SecurityConfigurationException

removeBindings

public void removeBindings(java.lang.String uri)
                    throws SecurityConfigurationException
Remove the contstraints for the provided uri

Parameters:
uri - the identifier of the secured resource
Throws:
SecurityConfigurationException