Enum Class GlobalCfgDefn.UnauthenticatedRequestsPolicy
java.lang.Object
java.lang.Enum<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
org.forgerock.opendj.server.config.meta.GlobalCfgDefn.UnauthenticatedRequestsPolicy
- All Implemented Interfaces:
Serializable
,Comparable<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
,java.lang.constant.Constable
- Enclosing class:
- GlobalCfgDefn
public static enum GlobalCfgDefn.UnauthenticatedRequestsPolicy
extends Enum<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
Defines the set of permissible values for the "unauthenticated-requests-policy" property.
Controls how the directory server should handle requests received from a client that has not yet been authenticated, whose last authentication attempt was unsuccessful, or whose last authentication attempt used anonymous authentication.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAllows all unauthenticated requests, subject to privileges and ACIs.Disallows all unauthenticated requests except for Bind and StartTLS requests, and base object searches of the root DSE.Disallows all unauthenticated requests except for Bind and StartTLS requests. -
Method Summary
-
Enum Constant Details
-
ALLOW
Allows all unauthenticated requests, subject to privileges and ACIs. -
ALLOW_DISCOVERY
Disallows all unauthenticated requests except for Bind and StartTLS requests, and base object searches of the root DSE. Use this setting in order to support service discovery and keep-alive requests which typically target the root DSE. -
REJECT
Disallows all unauthenticated requests except for Bind and StartTLS requests.
-
-
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
-
toString
- Overrides:
toString
in classEnum<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
-