|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ecyrd.jspwiki.auth.acl.DefaultAclManager
public class DefaultAclManager
Default implementation that parses Acls from wiki page markup.
Constructor Summary | |
---|---|
DefaultAclManager()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAclManager()
Method Detail |
---|
public void initialize(WikiEngine engine, Properties props)
initialize
in interface AclManager
engine
- the wiki engineprops
- the initialization propertiesAclManager.initialize(com.ecyrd.jspwiki.WikiEngine,
java.util.Properties)
public Acl parseAcl(WikiPage page, String ruleLine) throws WikiSecurityException
parseAcl
in interface AclManager
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.
WikiSecurityException
public Acl getPermissions(WikiPage page)
getPermissions
in interface AclManager
page
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |