jsdsi
Class Acl

java.lang.Object
  extended byjsdsi.Obj
      extended byjsdsi.Acl
All Implemented Interfaces:
java.io.Serializable

public class Acl
extends Obj

An access control list (ACL) that restricts access to an object on the local system. The ACL contains a set of ACL entries that specify which principals may access the object and how.

Version:
$Revision: 1.3.2.1 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani, Sean Radford
See Also:
AclEntry, Serialized Form

Field Summary
 
Fields inherited from class jsdsi.Obj
_obj
 
Constructor Summary
Acl(AclEntry[] e)
          Constructs a new Acl from given AclEntrys.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 AclEntry[] getEntries()
          Returns an array of AclEntrys.
 int hashCode()
           
 SexpList toSexp()
          Converts this Acl to an SecpList.
 
Methods inherited from class jsdsi.Obj
parseObj, parseObj, readResolve, toByteArray, toString, toString, toTransport
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Acl

public Acl(AclEntry[] e)
Constructs a new Acl from given AclEntrys.

Parameters:
e - array of AclEntrys to create a new Acl from.
Method Detail

getEntries

public AclEntry[] getEntries()
Returns an array of AclEntrys.

Returns:
an array of AclEntrys.
See Also:
AclEntry

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class Obj
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Specified by:
hashCode in class Obj
See Also:
Object.hashCode()

toSexp

public SexpList toSexp()
Converts this Acl to an SecpList.

Specified by:
toSexp in class Obj
Returns:
an SecpList that represents this Acl.


Copyright © 2002-2006 JSDSI. All Rights Reserved.