Enum AttributeRight
- All Implemented Interfaces:
Serializable,Comparable<AttributeRight>,java.lang.constant.Constable
This enum contains the set of possible attribute-level rights that may be
described for an attribute in an entry retrieved with the get effective
rights control.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe attribute right that indicates that the user has sufficient permission to make comparisons against the value of the specified attribute.The attribute right that indicates that the user has sufficient permission to perform operations involving proxied authorization with the attribute.The attribute right that indicates that the user has sufficient permission to read the values of the specified attribute.The attribute right that indicates that the user has sufficient permission to perform search operations that target the associated attribute.The attribute right that indicates that the user has sufficient permission to add his or her own DN to the set of values for the specified attribute.The attribute right that indicates that the user has sufficient permission to remove his or her own DN from the set of values for the specified attribute.The attribute right that indicates that the user has sufficient permission to alter the values of the specified attribute. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeRightRetrieves the attribute right for the specified name.getName()Retrieves the name of this attribute right.toString()Retrieves a string representation of this attribute right.static AttributeRightReturns the enum constant of this type with the specified name.static AttributeRight[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEARCH
The attribute right that indicates that the user has sufficient permission to perform search operations that target the associated attribute. -
READ
The attribute right that indicates that the user has sufficient permission to read the values of the specified attribute. -
COMPARE
The attribute right that indicates that the user has sufficient permission to make comparisons against the value of the specified attribute. -
WRITE
The attribute right that indicates that the user has sufficient permission to alter the values of the specified attribute. -
SELFWRITE_ADD
The attribute right that indicates that the user has sufficient permission to add his or her own DN to the set of values for the specified attribute. -
SELFWRITE_DELETE
The attribute right that indicates that the user has sufficient permission to remove his or her own DN from the set of values for the specified attribute. -
PROXY
The attribute right that indicates that the user has sufficient permission to perform operations involving proxied authorization with the attribute.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Retrieves the name of this attribute right.- Returns:
- The name of this attribute right.
-
forName
Retrieves the attribute right for the specified name.- Parameters:
name- The name for which to retrieve the corresponding attribute right.- Returns:
- The requested attribute right, or
nullif there is no such right.
-
toString
Retrieves a string representation of this attribute right.- Overrides:
toStringin classEnum<AttributeRight>- Returns:
- A string representation of this attribute right.
-