Class AclImpl

java.lang.Object
org.apache.wiki.auth.acl.AclImpl
All Implemented Interfaces:
Serializable, org.apache.wiki.api.core.Acl, Acl

public class AclImpl extends Object implements Acl, Serializable
JSPWiki implementation of an Access Control List.
Since:
2.3
See Also:
  • Constructor Details

    • AclImpl

      public AclImpl()
      Constructs a new AclImpl instance.
  • Method Details

    • findPrincipals

      public Principal[] findPrincipals(Permission permission)
      Specified by:
      findPrincipals in interface org.apache.wiki.api.core.Acl
    • addEntry

      public boolean addEntry(org.apache.wiki.api.core.AclEntry entry)
      Specified by:
      addEntry in interface org.apache.wiki.api.core.Acl
    • removeEntry

      public boolean removeEntry(org.apache.wiki.api.core.AclEntry entry)
      Specified by:
      removeEntry in interface org.apache.wiki.api.core.Acl
    • aclEntries

      public Enumeration<org.apache.wiki.api.core.AclEntry> aclEntries()
      Specified by:
      aclEntries in interface org.apache.wiki.api.core.Acl
    • getAclEntry

      public org.apache.wiki.api.core.AclEntry getAclEntry(Principal principal)
      Specified by:
      getAclEntry in interface org.apache.wiki.api.core.Acl
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.apache.wiki.api.core.Acl
    • toString

      public String toString()
      Overrides:
      toString in class Object