jsdsi
Class AclEntry

java.lang.Object
  |
  +--jsdsi.Obj
        |
        +--jsdsi.AclEntry

public class AclEntry
extends Obj

An ACL entry that specifies a permission (the Tag) and a set of principals (the Subject) that may access the object protected by this entry's ACL.

Author:
Sameer Ajmani
See Also:
Acl

Constructor Summary
AclEntry(Subject s, Tag t, boolean p, Validity v, java.lang.String c)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getComment()
           
 boolean getPropagate()
           
 Subject getSubject()
           
 Tag getTag()
           
 Validity getValidity()
           
 int hashCode()
           
(package private) static AclEntry parseAclEntry(SexpList l)
           
 SexpList toSexp()
           
 
Methods inherited from class jsdsi.Obj
parseObj, parseObj, toByteArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AclEntry

public AclEntry(Subject s,
                Tag t,
                boolean p,
                Validity v,
                java.lang.String c)
Method Detail

getSubject

public Subject getSubject()

getTag

public Tag getTag()

getPropagate

public boolean getPropagate()

getValidity

public Validity getValidity()

getComment

public java.lang.String getComment()

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in class Obj

toSexp

public SexpList toSexp()
Specified by:
toSexp in class Obj

parseAclEntry

static AclEntry parseAclEntry(SexpList l)
                       throws SexpParseException
SexpParseException