| org.apache.lenya.ac.PolicyManager
All known Subclasses: org.apache.lenya.cms.ac.SitemapPolicyManager,
PolicyManager | public interface PolicyManager extends Component(Code) | | A policy manager.
version: $Id: PolicyManager.java 479620 2006-11-27 14:02:13Z andreas $ |
accreditableAdded | void accreditableAdded(AccreditableManager manager, Accreditable accreditable) throws AccessControlException(Code) | | Called when an accreditable was added. Used to create the admin interface
policy. This method get invoked, when e.g. a new user is added. The user
always should be able to edit her profile. Therefore the method normally
grant inherit edit rights to the user profile page.
Parameters: manager - The accreditable manager the accreditable belonged to. Parameters: accreditable - The accreditable that was removed. throws: AccessControlException - when something went wrong. |
accreditableRemoved | void accreditableRemoved(AccreditableManager manager, Accreditable accreditable) throws AccessControlException(Code) | | Called when an accreditable was removed. Used to clean up the policies
and to remove the admin interface policy.
Parameters: manager - The accreditable manager the accreditable belonged to. Parameters: accreditable - The accreditable that was removed. throws: AccessControlException - when something went wrong. |
|
|