Package org.apache.wiki.auth.acl
Class AclImpl
- java.lang.Object
-
- org.apache.wiki.auth.acl.AclImpl
-
public class AclImpl extends java.lang.Object implements Acl, java.io.Serializable
JSPWiki implementation of an Access Control List.- Since:
- 2.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AclImpl()Constructs a new AclImpl instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<AclEntry>aclEntries()booleanaddEntry(AclEntry entry)java.security.Principal[]findPrincipals(java.security.Permission permission)AclEntrygetAclEntry(java.security.Principal principal)booleanisEmpty()booleanremoveEntry(AclEntry entry)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.wiki.auth.acl.Acl
addEntry, entries, getEntry, removeEntry
-
-
-
-
Constructor Detail
-
AclImpl
public AclImpl()
Constructs a new AclImpl instance.
-
-
Method Detail
-
findPrincipals
public java.security.Principal[] findPrincipals(java.security.Permission permission)
- Specified by:
findPrincipalsin interfaceAcl
-
removeEntry
public boolean removeEntry(AclEntry entry)
- Specified by:
removeEntryin interfaceAcl
-
aclEntries
public java.util.Enumeration<AclEntry> aclEntries()
- Specified by:
aclEntriesin interfaceAcl
-
getAclEntry
public AclEntry getAclEntry(java.security.Principal principal)
- Specified by:
getAclEntryin interfaceAcl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-