Enum 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>
- 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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.REJECT
Disallows all unauthenticated requests except for Bind and StartTLS requests.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static GlobalCfgDefn.UnauthenticatedRequestsPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static GlobalCfgDefn.UnauthenticatedRequestsPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW
public static final GlobalCfgDefn.UnauthenticatedRequestsPolicy ALLOW
Allows all unauthenticated requests, subject to privileges and ACIs.
-
ALLOW_DISCOVERY
public static final GlobalCfgDefn.UnauthenticatedRequestsPolicy 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
public static final GlobalCfgDefn.UnauthenticatedRequestsPolicy REJECT
Disallows all unauthenticated requests except for Bind and StartTLS requests.
-
-
Method Detail
-
values
public static GlobalCfgDefn.UnauthenticatedRequestsPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlobalCfgDefn.UnauthenticatedRequestsPolicy c : GlobalCfgDefn.UnauthenticatedRequestsPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalCfgDefn.UnauthenticatedRequestsPolicy valueOf(String name)
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
-
toString
public String toString()
- Overrides:
toString
in classEnum<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
-
-