public interface AclManager extends Initializable
| Modifier and Type | Method and Description |
|---|---|
Acl |
getPermissions(Page page)
Returns the access control list for the page.
|
Acl |
parseAcl(Page page,
java.lang.String ruleLine)
A helper method for parsing textual AccessControlLists.
|
void |
setPermissions(Page page,
Acl acl)
Sets the access control list for the page and persists it.
|
initializeAcl parseAcl(Page page, java.lang.String ruleLine) throws WikiSecurityException
page - The current wiki page. If the page already has an ACL, it will be used as a basis for this ACL in order to avoid the
creation of a new one.ruleLine - The rule line, as described above.WikiSecurityException - if the ruleLine was faulty somehow.Acl getPermissions(Page page)
page - the wiki pagevoid setPermissions(Page page, Acl acl) throws WikiSecurityException
page - the wiki pageacl - the access control listWikiSecurityException - if the ACL cannot be set or persistedCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.