All Packages Class Hierarchy This Package Previous Next Index
Class jnfs.security.acl.AclImpl
java.lang.Object
|
+----jnfs.security.acl.AclImpl
- public class AclImpl
- extends Object
- implements Acl, Serializable
An implementaion of an Acl.
- Version:
- $Id: AclImpl.java,v 1.7 1997/05/20 19:17:02 mjr Exp $
- Author:
- Michael John Radwin
- See Also:
- Acl
-
entries
-
-
name
-
-
owners
-
-
AclImpl(Principal, String)
-
-
addEntry(Principal, AclEntry)
-
-
addOwner(Principal, Principal)
-
-
checkPermission(Principal, Permission)
-
-
deleteOwner(Principal, Principal)
-
-
entries()
-
-
getName()
-
-
getPermissions(Principal)
-
-
isOwner(Principal)
-
-
removeEntry(Principal, AclEntry)
-
-
setName(Principal, String)
-
-
toString()
- Returns a string representation of the object.
owners
protected Vector owners
entries
protected Vector entries
name
protected String name
AclImpl
public AclImpl(Principal owner,
String name)
addOwner
public boolean addOwner(Principal caller,
Principal owner) throws NotOwnerException
deleteOwner
public boolean deleteOwner(Principal caller,
Principal owner) throws NotOwnerException, LastOwnerException
isOwner
public boolean isOwner(Principal owner)
setName
public void setName(Principal caller,
String name) throws NotOwnerException
getName
public String getName()
addEntry
public boolean addEntry(Principal caller,
AclEntry entry) throws NotOwnerException
removeEntry
public boolean removeEntry(Principal caller,
AclEntry entry) throws NotOwnerException
getPermissions
public Enumeration getPermissions(Principal user)
entries
public Enumeration entries()
checkPermission
public boolean checkPermission(Principal principal,
Permission permission)
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index