@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum EntryRight extends java.lang.Enum<EntryRight>
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Enum Constant and Description |
---|
ADD
The entry right that indicates that the user has sufficient permission to
add a subordinate of the target entry.
|
DELETE
The entry right that indicates that the user has sufficient permission to
delete the target entry.
|
PROXY
The entry right that indicates that the user has sufficient permission to
perform operations involving proxied authorization with the entry.
|
READ
The entry right that indicates that the user has sufficient permission to
perform read operations with the entry.
|
WRITE
The entry right that indicates that the user has sufficient permission to
perform write operations with the entry.
|
Modifier and Type | Method and Description |
---|---|
static EntryRight |
forName(java.lang.String name)
Retrieves the entry right for the specified name.
|
java.lang.String |
getName()
Retrieves the name of this entry right.
|
java.lang.String |
toString()
Retrieves a string representation of this entry right.
|
static EntryRight |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntryRight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryRight ADD
public static final EntryRight DELETE
public static final EntryRight READ
public static final EntryRight WRITE
public static final EntryRight PROXY
public static EntryRight[] values()
for (EntryRight c : EntryRight.values()) System.out.println(c);
public static EntryRight valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getName()
@Nullable public static EntryRight forName(@NotNull java.lang.String name)
name
- The name for which to retrieve the corresponding entry right.null
if there is no such
right.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<EntryRight>