| org.apache.lenya.cms.ac.DocumentPolicyManagerWrapper
DocumentPolicyManagerWrapper | public class DocumentPolicyManagerWrapper extends AbstractLogEnabled implements InheritingPolicyManager,Serviceable,Configurable,Disposable(Code) | | A PolicyManager which is capable of mapping all URLs of a document to the
appropriate canonical URL, e.g. /foo/bar_de.print.html is
mapped to /foo/bar .
|
Method Summary | |
public void | accreditableAdded(AccreditableManager manager, Accreditable accreditable) | public void | accreditableRemoved(AccreditableManager manager, Accreditable accreditable) | public Policy | buildSubtreePolicy(AccreditableManager controller, String url) | public void | configure(Configuration configuration) | public void | dispose() | public Credential[] | getCredentials(AccreditableManager controller, String url) | public Role[] | getGrantedRoles(AccreditableManager accreditableManager, Identity identity, String url) | public Policy[] | getPolicies(AccreditableManager controller, String url) | public Policy | getPolicy(AccreditableManager controller, String url) | public InheritingPolicyManager | getPolicyManager() | protected String | getPolicyURL(String webappUrl) Returns the URI which is used to obtain the policy for a webapp URL.
Parameters: webappUrl - The web application URL. | protected String | getPolicyUrlCorrect(String webappUrl) Returns the URI which is used to obtain the policy for a webapp URL.
Parameters: webappUrl - The web application URL. | protected String | getPolicyUrlFast(String webappUrl) | protected Publication | getPublication(String url) Returns the publication for a certain URL.
Parameters: url - The webapp url. | protected ServiceManager | getServiceManager() Returns the service manager. | public void | saveSubtreePolicy(String url, Policy policy) | public void | service(ServiceManager manager) | public void | setPolicyManager(InheritingPolicyManager _policyManager) | protected String | strip(String strippedUrl, char delimiter) |
DocumentPolicyManagerWrapper | public DocumentPolicyManagerWrapper()(Code) | | Ctor.
|
configure | public void configure(Configuration configuration) throws ConfigurationException(Code) | | See Also: org.apache.avalon.framework.configuration.Configurable.configure(org.apache.avalon.framework.configuration.Configuration) |
dispose | public void dispose()(Code) | | See Also: org.apache.avalon.framework.activity.Disposable.dispose |
getServiceManager | protected ServiceManager getServiceManager()(Code) | | Returns the service manager.
A service manager. |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
|
|