Enum ReplicationServerCfgDefn.AllowUpdatesPolicy
- java.lang.Object
-
- java.lang.Enum<ReplicationServerCfgDefn.AllowUpdatesPolicy>
-
- org.forgerock.opendj.server.config.meta.ReplicationServerCfgDefn.AllowUpdatesPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<ReplicationServerCfgDefn.AllowUpdatesPolicy>
- Enclosing class:
- ReplicationServerCfgDefn
public static enum ReplicationServerCfgDefn.AllowUpdatesPolicy extends Enum<ReplicationServerCfgDefn.AllowUpdatesPolicy>
Defines the set of permissible values for the "allow-updates-policy" property.Define how to allow servers to send updates to this replication server
The replication server will only accept updates from servers allowed by the specified strategy. It will discard updates coming from servers which are not allowed, without processing them nor storing them in its changelog.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All servers can send updates.VERIFY_CERTIFICATE_FINGERPRINT
Only servers whose certificate fingerprint is listed in allow-updates-server-fingerprints can send updatesVERIFY_CERTIFICATE_KEY_USAGE
Only servers whose certificates' ExtendedKeyUsage includes 1.3.6.1.4.1.36733.2.1.10.1 can send updates
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ReplicationServerCfgDefn.AllowUpdatesPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReplicationServerCfgDefn.AllowUpdatesPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ReplicationServerCfgDefn.AllowUpdatesPolicy ALL
All servers can send updates.
-
VERIFY_CERTIFICATE_FINGERPRINT
public static final ReplicationServerCfgDefn.AllowUpdatesPolicy VERIFY_CERTIFICATE_FINGERPRINT
Only servers whose certificate fingerprint is listed in allow-updates-server-fingerprints can send updates
-
VERIFY_CERTIFICATE_KEY_USAGE
public static final ReplicationServerCfgDefn.AllowUpdatesPolicy VERIFY_CERTIFICATE_KEY_USAGE
Only servers whose certificates' ExtendedKeyUsage includes 1.3.6.1.4.1.36733.2.1.10.1 can send updates
-
-
Method Detail
-
values
public static ReplicationServerCfgDefn.AllowUpdatesPolicy[] 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 (ReplicationServerCfgDefn.AllowUpdatesPolicy c : ReplicationServerCfgDefn.AllowUpdatesPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReplicationServerCfgDefn.AllowUpdatesPolicy 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<ReplicationServerCfgDefn.AllowUpdatesPolicy>
-
-