|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.jspwiki.auth.acl.AclImpl
public class AclImpl
JSPWiki implementation of an Access Control List.
| Constructor Summary | |
|---|---|
AclImpl()
Constructs a new AclImpl instance. |
|
| Method Summary | |
|---|---|
boolean |
addEntry(AclEntry entry)
Adds an ACL entry to this ACL. |
Enumeration |
entries()
Returns an enumeration of the entries in this ACL. |
Principal[] |
findPrincipals(Permission permission)
Returns all Principal objects assigned a given Permission in the access control list. |
AclEntry |
getEntry(Principal principal)
Returns an AclEntry for a supplied Principal, or null if
the Principal does not have a matching AclEntry. |
boolean |
isEmpty()
Returns true, if this Acl is empty. |
boolean |
removeEntry(AclEntry entry)
Removes an ACL entry from this ACL. |
String |
toString()
Returns a string representation of the contents of this Acl. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AclImpl()
| Method Detail |
|---|
public Principal[] findPrincipals(Permission permission)
findPrincipals in interface Aclpermission - the permission to search for
public boolean addEntry(AclEntry entry)
addEntry in interface Aclentry - - the ACL entry to be added to this ACL
public boolean removeEntry(AclEntry entry)
removeEntry in interface Aclentry - the ACL entry to be removed from this ACL
public Enumeration entries()
entries in interface Aclpublic AclEntry getEntry(Principal principal)
null if
the Principal does not have a matching AclEntry.
getEntry in interface Aclprincipal - the principal to search for
nullpublic String toString()
toString in interface AcltoString in class Objectpublic boolean isEmpty()
true, if this Acl is empty.
isEmpty in interface Acl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||