Enum Class 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>
,java.lang.constant.Constable
- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll servers can send updates.Only servers whose certificate fingerprint is listed in allow-updates-server-fingerprints can send updatesOnly servers whose certificates' ExtendedKeyUsage includes 1.3.6.1.4.1.36733.2.1.10.1 can send updates -
Method Summary
-
Enum Constant Details
-
ALL
All servers can send updates. -
VERIFY_CERTIFICATE_FINGERPRINT
Only servers whose certificate fingerprint is listed in allow-updates-server-fingerprints can send updates -
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 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<ReplicationServerCfgDefn.AllowUpdatesPolicy>
-