
public interface AclManager
| Modifier and Type | Method and Description |
|---|---|
Acl |
getPermissions(WikiPage page)
Returns the access control list for the page.
|
void |
initialize(WikiEngine engine,
Properties props)
Initializes the AclManager with a supplied wiki engine and properties.
|
Acl |
parseAcl(WikiPage page,
String ruleLine)
A helper method for parsing textual AccessControlLists.
|
void |
setPermissions(WikiPage page,
Acl acl)
Sets the access control list for the page and persists it.
|
void initialize(WikiEngine engine, Properties props)
engine - the wiki engineprops - the initialization propertiesAcl parseAcl(WikiPage page, 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(WikiPage page)
page - the wiki pagevoid setPermissions(WikiPage page, Acl acl) throws WikiSecurityException
page - the wiki pageacl - the access control listWikiSecurityException - if the ACL cannot be set or persistedCopyright © 2001-2018 The Apache Software Foundation. All rights reserved.