Uses of Class
org.forgerock.util.Option
-
Packages that use Option Package Description org.forgerock.opendj.discovery Contains the Service Discovery Mechanisms and APIs.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.schema Classes and interfaces for constructing and querying LDAP schemas.org.forgerock.opendj.rest2ldap APIs for implementing REST to LDAP gateways.org.forgerock.opendj.rest2ldap.schema This package contains LDAP schema syntaxes and matching rules for JSON based attributes.org.forgerock.opendj.security An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF basedKeyStoreservice.org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.util Provides common interfaces and classes.org.opends.server.schema Contains implementations of various Directory Server schema elements. -
-
Uses of Option in org.forgerock.opendj.discovery
Fields in org.forgerock.opendj.discovery declared as Option Modifier and Type Field Description static Option<BindRequest>ReplicationServiceDiscoveryMechanism. BIND_REQUESTThe bind request to use to perform service discovery when connecting to servers.static Option<Set<com.forgerock.opendj.util.HostPort>>ReplicationServiceDiscoveryMechanism. BOOTSTRAP_REPLICATION_SERVERSThe addresses of one or more replication servers within the topology which this server should connect to in order to discover the rest of the topology.static Option<Duration>PeriodicServiceDiscoveryMechanism. DISCOVERY_INTERVALInterval between two replication server configuration discovery queries.static Option<Duration>PeriodicServiceDiscoveryMechanism. DISCOVERY_INTERVALInterval between two replication server configuration discovery queries.static Option<Supplier<ScheduledExecutorService>>PeriodicServiceDiscoveryMechanism. EXECUTOR_SERVICEThe scheduled executor service where service discovery is scheduled.static Option<Supplier<ScheduledExecutorService>>PeriodicServiceDiscoveryMechanism. EXECUTOR_SERVICEThe scheduled executor service where service discovery is scheduled.static Option<String>ReplicationServiceDiscoveryMechanism. PRIMARY_GROUP_IDReplication domain group ID of preferred directory server replicas.static Option<Set<com.forgerock.opendj.util.HostPort>>StaticServiceDiscoveryMechanism. PRIMARY_SERVERSSpecifies a list of servers that will be used in preference to secondary servers when available.static Option<Set<com.forgerock.opendj.util.HostPort>>StaticServiceDiscoveryMechanism. SECONDARY_SERVERSSpecifies a list of servers that will be used in place of primary servers when all primary servers are unavailable. -
Uses of Option in org.forgerock.opendj.ldap
Fields in org.forgerock.opendj.ldap declared as Option Modifier and Type Field Description static Option<AttributeFilter>Entries. ATTRIBUTE_FILTERSelects which attributes will be compared.static Option<BindRequest>LdapConnectionFactory. AUTHN_BIND_REQUESTConfigures the connection factory to return pre-authenticated connections using the specifiedBindRequest.static Option<Supplier<BindRequest>>LdapConnectionFactory. AUTHN_BIND_REQUEST_FACTORYConfigures the connection factory to return pre-authenticated connections usingBindRequestprovided by the specifiedSupplier.static Option<Integer>CommonLdapOptions. BUFFER_SIZESize of the buffer used when reading/writing data from/to the network.static Option<Integer>CommonLdapOptions. BUFFER_SIZESize of the buffer used when reading/writing data from/to the network.static Option<Integer>CommonLdapOptions. BUFFER_SIZESize of the buffer used when reading/writing data from/to the network.static Option<Integer>LdapServer. CONNECT_MAX_BACKLOGSpecifies the maximum queue length for incoming connections requests.static Option<Duration>CommonLdapOptions. CONNECT_TIMEOUTSpecifies the connect timeout.static Option<Duration>CommonLdapOptions. CONNECT_TIMEOUTSpecifies the connect timeout.static Option<Duration>CommonLdapOptions. CONNECT_TIMEOUTSpecifies the connect timeout.static Option<Duration>LdapClients. CONNECTION_POOL_IDLE_TIMEOUTThe time interval after which idle connections can be closed, shrinking the connection pool towards theminimum size.static Option<Integer>LdapClients. CONNECTION_POOL_MAX_SIZEThe maximum size for the connection pool.static Option<Integer>LdapClients. CONNECTION_POOL_MIN_SIZEThe minimum size for the connection pool.static Option<ScheduledExecutorService>LdapClients. CONNECTION_POOL_SCHEDULERSpecifies the scheduler which will be used for periodically checking idle connections and timed-out connection attempts.static Option<DecodeOptions>CommonLdapOptions. DECODE_OPTIONSSets the decoding options which will be used to control how requests and responses are decoded.static Option<DecodeOptions>CommonLdapOptions. DECODE_OPTIONSSets the decoding options which will be used to control how requests and responses are decoded.static Option<DecodeOptions>CommonLdapOptions. DECODE_OPTIONSSets the decoding options which will be used to control how requests and responses are decoded.static Option<Entries.DiffStrategy>Entries. DIFF_STRATEGYDefines the strategy to use to compute changes.static Option<BindRequest>LdapClients. LDAP_CLIENT_AUTHN_BIND_REQUESTConfigures theBindRequestused for pre-authenticated connection or availability check made by load-balancers.static Option<Supplier<BindRequest>>LdapClients. LDAP_CLIENT_AUTHN_BIND_REQUEST_FACTORYConfigures theBindRequestsupplier used for pre-authenticated connection or availability checks made by load-balancersstatic Option<Boolean>LdapClients. LDAP_CLIENT_ENABLE_PRE_AUTHENTICATIONConfigures whether the connection factory must return pre-authenticated connections.static Option<Boolean>LdapClients. LDAP_CLIENT_KEEP_ALIVE_ENABLEDConfigures the connection factory to periodically send keep-alives to the Directory Server.static Option<Duration>LdapClients. LDAP_CLIENT_KEEP_ALIVE_INTERVALSpecifies the time between successive keep-alives (default interval is 300 seconds).static Option<ScheduledExecutorService>LdapClients. LDAP_CLIENT_KEEP_ALIVE_SCHEDULERSpecifies the scheduler which will be used for periodically sending keep-alives.static Option<SearchRequest>LdapClients. LDAP_CLIENT_KEEP_ALIVE_SEARCH_REQUESTSpecifies the parameters of the search request that will be used for keep-alives.static Option<Duration>LdapClients. LDAP_CLIENT_KEEP_ALIVE_TIMEOUTSpecifies the timeout for keep-alives, after which the remote Directory Server will be deemed to be disconnected (default timeout is 3 seconds).static Option<Duration>LdapClients. LDAP_CLIENT_REQUEST_TIMEOUTSpecifies the operation timeout.static Option<Boolean>LdapClients. LDAP_CLIENT_SSL_USE_STARTTLSSpecifies whether SSL or StartTLS should be used for securing connections when an SSL context is specified.static Option<Duration>LdapClients. LOAD_BALANCER_AVAILABILITY_CHECK_INTERVALSpecifies the time between successive availability check requests (default interval is 5 seconds).static Option<SearchRequest>LdapClients. LOAD_BALANCER_AVAILABILITY_CHECK_SEARCH_REQUESTSpecifies the parameters of the search request that will be used for availability check.static Option<Duration>LdapClients. LOAD_BALANCER_AVAILABILITY_CHECK_TIMEOUTSpecifies the timeout for availability checks, after which the remote Directory Server will be deemed to be unavailable (default timeout is 3 seconds).static Option<Collection<Dn>>LdapClients. LOAD_BALANCER_BASE_DNSSpecifies the base DN(s) for the data that the ldap service handles.static Option<LoadBalancerEventListener>LdapClients. LOAD_BALANCER_EVENT_LISTENERSpecifies the event listener which should be notified whenever a load-balanced LDAP client changes state from online to offline or vice-versa.static Option<IntUnaryOperator>LdapClients. LOAD_BALANCER_IDLE_SERVER_SELECTORSpecifies a function to chose a server when all servers are idle.static Option<Set<Dn>>LdapClients. LOAD_BALANCER_PARTITION_BASE_DNSSpecifies partition base DNs.static Option<ScheduledExecutorService>LdapClients. LOAD_BALANCER_SCHEDULERSpecifies the scheduler which will be used for periodically reconnecting to offline LDAP clients.static Option<Integer>LdapServer. MAX_CONCURRENT_REQUESTSSpecifies the maximum number of concurrent requests per connection.static Option<Integer>CommonLdapOptions. MAX_MSG_SIZE_IN_BYTESSpecifies the maximum request size in bytes for incoming LDAP messages.static Option<Integer>CommonLdapOptions. MAX_MSG_SIZE_IN_BYTESSpecifies the maximum request size in bytes for incoming LDAP messages.static Option<Integer>CommonLdapOptions. MAX_MSG_SIZE_IN_BYTESSpecifies the maximum request size in bytes for incoming LDAP messages.static Option<IntConsumer>CommonLdapOptions. PROBE_BYTES_READCallback invoked each time this server read bytes from the network.static Option<IntConsumer>CommonLdapOptions. PROBE_BYTES_READCallback invoked each time this server read bytes from the network.static Option<IntConsumer>CommonLdapOptions. PROBE_BYTES_READCallback invoked each time this server read bytes from the network.static Option<IntConsumer>CommonLdapOptions. PROBE_BYTES_WRITTENCallback invoked each time this server write bytes to the network.static Option<IntConsumer>CommonLdapOptions. PROBE_BYTES_WRITTENCallback invoked each time this server write bytes to the network.static Option<IntConsumer>CommonLdapOptions. PROBE_BYTES_WRITTENCallback invoked each time this server write bytes to the network.static Option<ProxyProtocolHeader>CommonLdapOptions. PROXY_PROTOCOL_HEADER_CLIENTEnables the proxy protocol for client connections using the provided proxy header.static Option<ProxyProtocolHeader>CommonLdapOptions. PROXY_PROTOCOL_HEADER_CLIENTEnables the proxy protocol for client connections using the provided proxy header.static Option<ProxyProtocolHeader>CommonLdapOptions. PROXY_PROTOCOL_HEADER_CLIENTEnables the proxy protocol for client connections using the provided proxy header.static Option<Set<AddressMask>>CommonLdapOptions. PROXY_PROTOCOL_SERVER_ALLOWED_CLIENTSSpecifies the clients that are allowed to access the server and that should use proxy protocol.static Option<Set<AddressMask>>CommonLdapOptions. PROXY_PROTOCOL_SERVER_ALLOWED_CLIENTSSpecifies the clients that are allowed to access the server and that should use proxy protocol.static Option<Set<AddressMask>>CommonLdapOptions. PROXY_PROTOCOL_SERVER_ALLOWED_CLIENTSSpecifies the clients that are allowed to access the server and that should use proxy protocol.static Option<Boolean>CommonLdapOptions. PROXY_PROTOCOL_SERVER_ENABLEDIndicates if the proxy protocol is enabled on the server .static Option<Boolean>CommonLdapOptions. PROXY_PROTOCOL_SERVER_ENABLEDIndicates if the proxy protocol is enabled on the server .static Option<Boolean>CommonLdapOptions. PROXY_PROTOCOL_SERVER_ENABLEDIndicates if the proxy protocol is enabled on the server .static Option<Entries.ReplaceStrategy>Entries. REPLACE_STRATEGYDefines the strategy to use to generate changes.static Option<Integer>CommonLdapOptions. SELECTOR_THREAD_COUNTSpecifies the number of threads which will be used to handle incoming network events.static Option<Integer>CommonLdapOptions. SELECTOR_THREAD_COUNTSpecifies the number of threads which will be used to handle incoming network events.static Option<Integer>CommonLdapOptions. SELECTOR_THREAD_COUNTSpecifies the number of threads which will be used to handle incoming network events.static Option<String>CommonLdapOptions. SELECTOR_THREAD_NAMESpecifies the thread name used for selector threads.static Option<String>CommonLdapOptions. SELECTOR_THREAD_NAMESpecifies the thread name used for selector threads.static Option<String>CommonLdapOptions. SELECTOR_THREAD_NAMESpecifies the thread name used for selector threads.static Option<Boolean>CommonLdapOptions. SO_KEEPALIVESpecifies the value of theSO_KEEPALIVEsocket option for new connections.static Option<Boolean>CommonLdapOptions. SO_KEEPALIVESpecifies the value of theSO_KEEPALIVEsocket option for new connections.static Option<Boolean>CommonLdapOptions. SO_KEEPALIVESpecifies the value of theSO_KEEPALIVEsocket option for new connections.static Option<Integer>CommonLdapOptions. SO_LINGER_IN_SECONDSSpecifies the value of theSO_LINGERsocket option for new connections.static Option<Integer>CommonLdapOptions. SO_LINGER_IN_SECONDSSpecifies the value of theSO_LINGERsocket option for new connections.static Option<Integer>CommonLdapOptions. SO_LINGER_IN_SECONDSSpecifies the value of theSO_LINGERsocket option for new connections.static Option<Boolean>CommonLdapOptions. SO_REUSE_ADDRESSSpecifies the value of theSO_REUSEADDRsocket option for new connections.static Option<Boolean>CommonLdapOptions. SO_REUSE_ADDRESSSpecifies the value of theSO_REUSEADDRsocket option for new connections.static Option<Boolean>CommonLdapOptions. SO_REUSE_ADDRESSSpecifies the value of theSO_REUSEADDRsocket option for new connections.static Option<SslOptions>CommonLdapOptions. SSL_OPTIONSSpecifies the options to use for the SSL support ornullif SSL is disabled.static Option<SslOptions>CommonLdapOptions. SSL_OPTIONSSpecifies the options to use for the SSL support ornullif SSL is disabled.static Option<SslOptions>CommonLdapOptions. SSL_OPTIONSSpecifies the options to use for the SSL support ornullif SSL is disabled.static Option<Boolean>LdapConnectionFactory. SSL_USE_STARTTLSSpecifies whether SSL or StartTLS should be used for securing connections when an SSL context is specified.static Option<Boolean>CommonLdapOptions. TCP_NO_DELAYSpecifies the value of theTCP_NODELAYsocket option for new connections.static Option<Boolean>CommonLdapOptions. TCP_NO_DELAYSpecifies the value of theTCP_NODELAYsocket option for new connections.static Option<Boolean>CommonLdapOptions. TCP_NO_DELAYSpecifies the value of theTCP_NODELAYsocket option for new connections.static Option<String>CommonLdapOptions. TRANSPORTSpecifies the name of the transport implementation to be used.static Option<String>CommonLdapOptions. TRANSPORTSpecifies the name of the transport implementation to be used.static Option<String>CommonLdapOptions. TRANSPORTSpecifies the name of the transport implementation to be used.static Option<Duration>CommonLdapOptions. WRITE_TIMEOUTMaximum time allowed for write operations to complete.static Option<Duration>CommonLdapOptions. WRITE_TIMEOUTMaximum time allowed for write operations to complete.static Option<Duration>CommonLdapOptions. WRITE_TIMEOUTMaximum time allowed for write operations to complete. -
Uses of Option in org.forgerock.opendj.ldap.schema
Fields in org.forgerock.opendj.ldap.schema declared as Option Modifier and Type Field Description static Option<Boolean>SchemaOptions. ALLOW_ATTRIBUTE_TYPES_WITH_NO_SUP_OR_SYNTAXSpecifies whether the schema should allow attribute type definitions that do not declare a superior attribute type or syntax.static Option<Boolean>SchemaOptions. ALLOW_MALFORMED_CERTIFICATESSpecifies whether the Certificate syntax should allow values which do not conform to the X.509 specifications.static Option<Boolean>SchemaOptions. ALLOW_MALFORMED_JPEG_PHOTOSSpecifies whether the JPEG Photo syntax should allow values which do not conform to the JFIF or Exif specifications.static Option<Boolean>SchemaOptions. ALLOW_MALFORMED_NAMES_AND_OPTIONSSpecifies whether the schema should allow certain illegal characters in OIDs and attribute options.static Option<Boolean>SchemaOptions. ALLOW_NON_STANDARD_TELEPHONE_NUMBERSSpecifies whether the Telephone Number syntax should allow values which do not conform to the E.123 international telephone number format.static Option<Boolean>SchemaOptions. ALLOW_ZERO_LENGTH_DIRECTORY_STRINGSSpecifies whether zero-length values will be allowed by the Directory String syntax.static Option<String>SchemaOptions. DEFAULT_MATCHING_RULE_OIDSpecifies the OID of the default matching rule which will be used when parsing unrecognized attributes.static Option<String>SchemaOptions. DEFAULT_SYNTAX_OIDSpecifies the OID of the default syntax which will be used when parsing unrecognized attributes.static Option<Boolean>SchemaOptions. STRICT_FORMAT_FOR_BOOLEANIndicates whether boolean values are required to strictly comply with the standard definition for this syntax.static Option<Boolean>SchemaOptions. STRICT_FORMAT_FOR_COUNTRY_STRINGSIndicates whether country code values are required to strictly comply with the standard definition for this syntax.static Option<Boolean>SchemaOptions. STRIP_UPPER_BOUND_FOR_ATTRIBUTE_TYPEIndicates whether the minimum upper bound value should be stripped from the Attribute Type Syntax Description.static Option<Function<String,MatchingRuleImpl>>SchemaOptions. UNKNOWN_MATCHING_RULE_HANDLERSpecifies the unknown matching rule handler which will be invoked when a non-strict schema is queried about an unknown matching rule.Methods in org.forgerock.opendj.ldap.schema with parameters of type Option Modifier and Type Method Description <T> TSchema. getOption(Option<T> option)Returns the value associated to the providedOptionor the option default value, if there is no such option in this schema.<T> SchemaBuilderSchemaBuilder. setOption(Option<T> option, T value)Sets a schema option overriding any previous values for the option. -
Uses of Option in org.forgerock.opendj.rest2ldap
Fields in org.forgerock.opendj.rest2ldap declared as Option Modifier and Type Field Description static Option<DecodeOptions>Rest2Ldap. DECODE_OPTIONSSpecifies the LDAP decoding options which should be used when decoding LDAP DNs, attribute types, and controls.static Option<Boolean>Rest2Ldap. LOAD_SCHEMASpecifies whether the LDAP schema should be loaded from the LDAP server before being able to serve requests.static Option<Integer>Rest2Ldap. LOCAL_SORT_MAX_ENTRIESSpecifies the maximum number of entries supported by the local sort mechanism.static Option<String>Rest2Ldap. MVCC_ATTRIBUTESpecifies the name of the LDAP attribute which should be used for multi-version concurrency control (MVCC) ifenabled.static Option<ReadOnUpdatePolicy>Rest2Ldap. READ_ON_UPDATE_POLICYSpecifies the policy which should be used in order to read an entry before it is deleted, or after it is added or modified.static Option<Boolean>Rest2Ldap. RETURN_NULL_FOR_MISSING_PROPERTIESSpecifies whether Rest2Ldap should represent missing JSON property values usingnull.static Option<ScheduledExecutorService>Rest2Ldap. SCHEDULERSpecifies the scheduler which will be used for periodically detecting changes to LDAP schema.static Option<Duration>Rest2Ldap. SCHEMA_RELOAD_INTERVALSpecifies the interval between successive attempts to detect changes in LDAP schema.static Option<Duration>Rest2Ldap. SCHEMA_RETRY_INTERVALSpecifies the interval between failed attempts to load the remote schema.static Option<Boolean>Rest2Ldap. USE_MVCCSpecifies whether Rest2Ldap should support multi-version concurrency control (MVCC) through the use of an MVCC LDAPattributesuch as "etag".static Option<Boolean>Rest2Ldap. USE_PERMISSIVE_MODIFYSpecifies whether Rest2Ldap should perform LDAP modify operations using the LDAP permissive modify control.static Option<Boolean>Rest2Ldap. USE_SERVER_SIDE_SORT_FOR_JSONSpecifies whether Rest2Ldap should use server side sort control for LDAP attribute containing JSON.static Option<Boolean>Rest2Ldap. USE_SUBTREE_DELETESpecifies whether Rest2Ldap should perform LDAP delete operations using the LDAP subtree delete control.static Option<Scheduler>Rest2Ldap. WORKER_SCHEDULERSpecifies theScheduleron which promise notifications and callbacks will be performed. -
Uses of Option in org.forgerock.opendj.rest2ldap.schema
Fields in org.forgerock.opendj.rest2ldap.schema declared as Option Modifier and Type Field Description static Option<Boolean>JsonSchema. CASE_SENSITIVE_STRINGSMatching rule option controlling whether JSON string comparisons should be case-sensitive.static Option<Boolean>JsonSchema. IGNORE_WHITE_SPACEMatching rule option controlling whether JSON string comparisons should ignore white-space.static Option<Collection<String>>JsonSchema. INDEXED_FIELD_PATTERNSMatching rule option controlling which JSON fields should be indexed by the matching rule.static Option<JsonSchema.ValidationPolicy>JsonSchema. VALIDATION_POLICYSchema option controlling syntax validation for JSON based attributes. -
Uses of Option in org.forgerock.opendj.security
Fields in org.forgerock.opendj.security declared as Option Modifier and Type Field Description static Option<KeyStoreObjectCache>KeyStoreParameters. CACHEThe caching mechanism that the key store will use.static Option<ExternalKeyWrappingStrategy>KeyStoreParameters. EXTERNAL_KEY_WRAPPING_STRATEGYAn alternative external mechanism for wrapping private and secret keys in the key store.static Option<Factory<char[]>>KeyStoreParameters. GLOBAL_PASSWORDThe optional password which is used to protect all private and secret keys.static Option<Integer>KeyStoreParameters. PBKDF2_ITERATIONSThe number of iterations to use when deriving encryption keys from passwords using PBKDF2.static Option<Integer>KeyStoreParameters. PBKDF2_SALT_SIZEThe number of random bytes to use as the salt when deriving encryption keys from passwords using PBKDF2. -
Uses of Option in org.forgerock.secrets
Fields in org.forgerock.secrets declared as Option Modifier and Type Field Description static Option<Clock>SecretStore. CLOCKSpecifies the clock to use when making time comparisons.static Option<Boolean>SecretsTrustManager. ENABLE_REVOCATION_CHECKINGWhether the trust manager should perform recovation checking or not.static Option<String>SecretsKeyManager. KEY_MANAGER_ALGORITHMThe algorithm of the underlyingX509ExtendedKeyManagerimplementation to use.static Option<Duration>SecretStore. LEASE_EXPIRY_DURATIONOption used to specify how long secrets from a store should be used before being refreshed.static Option<EnumSet<PKIXRevocationChecker.Option>>SecretsTrustManager. REVOCATION_OPTIONSThe options to pass to the revocation checker, if revocation checking is enabled.static Option<String>SecretsTrustManager. TRUST_MANAGER_ALGORITHMAlgorithm to use for looking up the underlying X509ExtendedTrustManager. -
Uses of Option in org.forgerock.util
Methods in org.forgerock.util that return Option Modifier and Type Method Description static <T> Option<T>Option. of(Class<T> type, T defaultValue)Defines an option with the provided type and default value.static <T> Option<T>Option. withDefault(T defaultValue)Defines a boolean option with the provided default value.static <E extends Enum<E>,T extends E>
Option<E>Option. withDefault(T defaultValue)Defines a boolean option with the provided default value.Methods in org.forgerock.util with parameters of type Option Modifier and Type Method Description <T> TOptions. get(Option<T> option)Returns the value associated with the provided option, or its default value if the option has not been configured.<T> OptionsOptions. reset(Option<T> option)Resets an option to its default behavior.<T> OptionsOptions. set(Option<T> option, T value)Sets an option to the provided value. -
Uses of Option in org.opends.server.schema
Methods in org.opends.server.schema with parameters of type Option Modifier and Type Method Description <T> voidSchemaHandler. updateSchemaOption(Option<T> option, T newValue)Updates the schema option if the new value differs from the old value.
-