|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.re.webdav.Client.ACE
public static class Client.ACE
Represents one Access Control Entry in an Access Control List.
Field Summary | |
---|---|
boolean |
grant
Grant or deny. |
boolean |
invert
When set to true it means that the entry is valid for
principals that do not match. |
boolean |
isProtected
When set to true the entry can't be modified. |
Object |
principal
The principal can be a user or group URL, a value of type ExpandedName , which is the name of a property the resource
should have with a value that matches the current user, or a symbolic
value from the following list:
all : the current user always matches. |
ExpandedName |
privilege
The standard privileges are defined in RFC 3744. |
Constructor Summary | |
---|---|
Client.ACE()
|
|
Client.ACE(Client.ACE ace)
|
|
Client.ACE(ExpandedName principal,
boolean invert,
ExpandedName privilege,
boolean grant,
boolean isProtected)
|
|
Client.ACE(String principal,
boolean invert,
ExpandedName privilege,
boolean grant,
boolean isProtected)
|
|
Client.ACE(URL principal,
boolean invert,
ExpandedName privilege,
boolean grant,
boolean isProtected)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean grant
public boolean invert
true
it means that the entry is valid for
principals that do not match.
public boolean isProtected
true
the entry can't be modified. An attempt to
set an Access Control List without it will fail.
public Object principal
ExpandedName
, which is the name of a property the resource
should have with a value that matches the current user, or a symbolic
value from the following list:
all
: the current user always matches.authenticated
: the current user matches only if
authenticated;unauthenticated
: the current user matches only if not
authenticated.self
: the current user matches only if the resource
is the current user or a group of which the current user is a
member.
public ExpandedName privilege
checkin
,
checkout
, delete-version
, label
and uncheckout
in the namespace urn:be-re:dav
.
It also adds the aggregated privilege version
in the same
namespace. It implies the other ones.
Constructor Detail |
---|
public Client.ACE()
public Client.ACE(URL principal, boolean invert, ExpandedName privilege, boolean grant, boolean isProtected)
public Client.ACE(String principal, boolean invert, ExpandedName privilege, boolean grant, boolean isProtected)
public Client.ACE(ExpandedName principal, boolean invert, ExpandedName privilege, boolean grant, boolean isProtected)
public Client.ACE(Client.ACE ace)
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |