public static enum GlobalCfgDefn.UnauthenticatedRequestsPolicy extends Enum<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
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 and 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.
|
Modifier and Type | Method and 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.
|
public static final GlobalCfgDefn.UnauthenticatedRequestsPolicy ALLOW
public static final GlobalCfgDefn.UnauthenticatedRequestsPolicy ALLOW_DISCOVERY
public static final GlobalCfgDefn.UnauthenticatedRequestsPolicy REJECT
public static GlobalCfgDefn.UnauthenticatedRequestsPolicy[] values()
for (GlobalCfgDefn.UnauthenticatedRequestsPolicy c : GlobalCfgDefn.UnauthenticatedRequestsPolicy.values()) System.out.println(c);
public static GlobalCfgDefn.UnauthenticatedRequestsPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<GlobalCfgDefn.UnauthenticatedRequestsPolicy>
Copyright 2010-2022 ForgeRock AS.