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

Variable Index

 o entries
 o name
 o owners

Constructor Index

 o AclImpl(Principal, String)

Method Index

 o addEntry(Principal, AclEntry)
 o addOwner(Principal, Principal)
 o checkPermission(Principal, Permission)
 o deleteOwner(Principal, Principal)
 o entries()
 o getName()
 o getPermissions(Principal)
 o isOwner(Principal)
 o removeEntry(Principal, AclEntry)
 o setName(Principal, String)
 o toString()
Returns a string representation of the object.

Variables

 o owners
 protected Vector owners
 o entries
 protected Vector entries
 o name
 protected String name

Constructors

 o AclImpl
 public AclImpl(Principal owner,
                String name)

Methods

 o addOwner
 public boolean addOwner(Principal caller,
                         Principal owner) throws NotOwnerException
 o deleteOwner
 public boolean deleteOwner(Principal caller,
                            Principal owner) throws NotOwnerException, LastOwnerException
 o isOwner
 public boolean isOwner(Principal owner)
 o setName
 public void setName(Principal caller,
                     String name) throws NotOwnerException
 o getName
 public String getName()
 o addEntry
 public boolean addEntry(Principal caller,
                         AclEntry entry) throws NotOwnerException
 o removeEntry
 public boolean removeEntry(Principal caller,
                            AclEntry entry) throws NotOwnerException
 o getPermissions
 public Enumeration getPermissions(Principal user)
 o entries
 public Enumeration entries()
 o checkPermission
 public boolean checkPermission(Principal principal,
                                Permission permission)
 o 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