Package org.forgerock.opendj.ldap
Enum Class DereferenceAliasesPolicy
- All Implemented Interfaces:
Serializable
,Comparable<DereferenceAliasesPolicy>
,java.lang.constant.Constable
A Search operation alias dereferencing policy as defined in RFC 4511 section
4.5.1.3 is used to indicate whether alias entries (as defined in RFC 4512)
are to be dereferenced during stages of a Search operation. The act of
dereferencing an alias includes recursively dereferencing aliases that refer
to aliases.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDereference aliases both in searching and in locating the base object of a Search operation.Dereference aliases in locating the base object of a Search operation, but not when searching subordinates of the base object.While searching subordinates of the base object, dereference any alias within the scope of the Search operation.Do not dereference aliases in searching or in locating the base object of a Search operation. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<DereferenceAliasesPolicy>
Returns an unmodifiable list containing the set of available alias dereferencing policies indexed on their integer value as defined in RFC 4511 section 4.5.1.toString()
static DereferenceAliasesPolicy
valueOf
(int intValue) Returns the alias dereferencing policy having the specified integer value as defined in RFC 4511 section 4.5.1.static DereferenceAliasesPolicy
Returns the enum constant of this class with the specified name.static DereferenceAliasesPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEVER
Do not dereference aliases in searching or in locating the base object of a Search operation. -
IN_SEARCHING
While searching subordinates of the base object, dereference any alias within the scope of the Search operation. Dereferenced objects become the vertices of further search scopes where the Search operation is also applied. If the search scope isWHOLE_SUBTREE
, the Search continues in the subtree(s) of any dereferenced object. If the search scope isSINGLE_LEVEL
, the search is applied to any dereferenced objects and is not applied to their subordinates. -
FINDING_BASE
Dereference aliases in locating the base object of a Search operation, but not when searching subordinates of the base object. -
ALWAYS
Dereference aliases both in searching and in locating the base object of a Search operation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Returns the alias dereferencing policy having the specified integer value as defined in RFC 4511 section 4.5.1.- Parameters:
intValue
- The integer value of the alias dereferencing policy.- Returns:
- The dereference aliases policy, or
null
if there was no alias dereferencing policy associated withintValue
.
-
immutableValues
Returns an unmodifiable list containing the set of available alias dereferencing policies indexed on their integer value as defined in RFC 4511 section 4.5.1.- Returns:
- An unmodifiable list containing the set of available alias dereferencing policies.
-
toString
- Overrides:
toString
in classEnum<DereferenceAliasesPolicy>
-