|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdsi.Obj jsdsi.AclEntry
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.
Acl
,
Serialized FormField Summary |
Fields inherited from class jsdsi.Obj |
_obj |
Constructor Summary | |
AclEntry(Subject s,
Tag t,
boolean p,
Validity v,
java.lang.String c)
Creates a new AclEntry from a given subject, tag,
delegation bit, validity, and comment. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getComment()
Returns the comment of this AclEntry
(may be null ). |
boolean |
getPropagate()
Returns the delegation bit of this AclEntry 's auth. |
Subject |
getSubject()
Returns the subject of this AclEntry . |
Tag |
getTag()
Returns the tag of this AclEntry 's auth. |
Validity |
getValidity()
Returns the validity of this AclEntry
(may be null ). |
int |
hashCode()
|
SexpList |
toSexp()
Returns an SexpList that represents this
AclEntry . |
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 |
public AclEntry(Subject s, Tag t, boolean p, Validity v, java.lang.String c)
AclEntry
from a given subject, tag,
delegation bit, validity, and comment.
s
- subject of this AclEntry
.t
- tag of this AclEntry
.p
- delegation bit of this AclEntry
.v
- validity of this AclEntry
.c
- comment of this AclEntry
.Method Detail |
public Subject getSubject()
AclEntry
.
AclEntry
.public Tag getTag()
AclEntry
's auth.
AclEntry
's auth.public boolean getPropagate()
AclEntry
's auth.
AclEntry
' auth.public Validity getValidity()
AclEntry
(may be null
).
AclEntry
.public java.lang.String getComment()
AclEntry
(may be null
).
AclEntry
.public boolean equals(java.lang.Object o)
equals
in class Obj
Object.equals(Object)
public int hashCode()
hashCode
in class Obj
Object.hashCode()
public SexpList toSexp()
SexpList
that represents this
AclEntry
.
toSexp
in class Obj
SexpList
that represents this SDSI-object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |