Class InfinispanClientRuntimeConfig
- java.lang.Object
-
- io.quarkus.infinispan.client.runtime.InfinispanClientRuntimeConfig
-
@ConfigRoot(name="infinispan-client", phase=RUN_TIME) public class InfinispanClientRuntimeConfig extends Object
- Author:
- Katia Aresti
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInfinispanClientRuntimeConfig.RemoteCacheConfig
-
Field Summary
Fields Modifier and Type Field Description (package private) Optional<String>authCallbackHandlerSpecifies aCallbackHandlerto be used during the authentication handshake.(package private) Optional<String>authClientSubjectSets client subject, necessary for those SASL mechanisms which require it to access client credentials.(package private) Optional<String>authPasswordDeprecated.passwordshould be used to configure the credentials password.(package private) Optional<String>authRealmSets realm used by authentication(package private) Optional<String>authServerNameSets server name used by authentication(package private) Optional<String>authUsernameDeprecated.usernameshould be used to configure the credentials username.(package private) Map<String,InfinispanClientRuntimeConfig.RemoteCacheConfig>cacheConfigures caches from the client with the provided configuration.(package private) Optional<String>clientIntelligenceSets client intelligence used by authentication Available values: * `BASIC` - Means that the client doesn't handle server topology changes and therefore will only use the list of servers supplied at configuration time.Optional<String>hostsSets the host name/port to connect to.(package private) Optional<String>passwordSets password used by authentication.(package private) Optional<String>saslMechanismSets SASL mechanism used by authentication.Optional<String>serverListDeprecated.hostsshould be used to configure the list or uri for an uri connection string.(package private) Optional<List<String>>sslCiphersConfigures the ciphers.(package private) Optional<String>sslProtocolConfigures the secure socket protocol.(package private) Optional<String>sslProviderSets the ssl provider.(package private) Optional<String>trustStoreSpecifies the filename of a truststore to use to create theSSLContext.(package private) Optional<String>trustStorePasswordSpecifies the password needed to open the truststore You also need to specify a trustStore.(package private) Optional<String>trustStoreTypeSpecifies the type of the truststore, such as JKS or JCEKS.Optional<String>uriSets the URI of the running Infinispan server to connect to.(package private) Optional<Boolean>useAuthEnables or disables authentication.(package private) Optional<String>usernameSets username used by authentication.(package private) Optional<Boolean>useSchemaRegistrationEnables or disables Protobuf generated schemas upload to the server.
-
Constructor Summary
Constructors Constructor Description InfinispanClientRuntimeConfig()
-
-
-
Field Detail
-
uri
@ConfigItem public Optional<String> uri
-
hosts
@ConfigItem public Optional<String> hosts
Sets the host name/port to connect to. Each one is separated by a semicolon (eg. host1:11222;host2:11222).
-
serverList
@ConfigItem @Deprecated public Optional<String> serverList
Deprecated.hostsshould be used to configure the list or uri for an uri connection string.Sets the host name/port to connect to. Each one is separated by a semicolon (eg. host1:11222;host2:11222).
-
useSchemaRegistration
@ConfigItem(defaultValue="true") Optional<Boolean> useSchemaRegistration
Enables or disables Protobuf generated schemas upload to the server. Set it to 'false' when you need to handle the lifecycle of the Protobuf Schemas on Server side yourself. Default is 'true'.
-
clientIntelligence
@ConfigItem(defaultValue="HASH_DISTRIBUTION_AWARE") Optional<String> clientIntelligence
Sets client intelligence used by authentication Available values: * `BASIC` - Means that the client doesn't handle server topology changes and therefore will only use the list of servers supplied at configuration time. * `TOPOLOGY_AWARE` - Use this provider if you don't want the client to present any certificates to the remote TLS host. * `HASH_DISTRIBUTION_AWARE` - Like `TOPOLOGY_AWARE` but with the additional advantage that each request involving keys will be routed to the server who is the primary owner which improves performance greatly. This is the default.
-
useAuth
@ConfigItem(defaultValue="true") Optional<Boolean> useAuth
Enables or disables authentication. Set it to false when connecting to an Infinispan Server without authentication. deployments. Default is 'true'.
-
username
@ConfigItem Optional<String> username
Sets username used by authentication.
-
authUsername
@ConfigItem @Deprecated Optional<String> authUsername
Deprecated.usernameshould be used to configure the credentials username.Sets username used by authentication.
-
password
@ConfigItem Optional<String> password
Sets password used by authentication.
-
authPassword
@ConfigItem @Deprecated Optional<String> authPassword
Deprecated.passwordshould be used to configure the credentials password.Sets password used by authentication
-
authRealm
@ConfigItem(defaultValue="default") Optional<String> authRealm
Sets realm used by authentication
-
authServerName
@ConfigItem(defaultValue="infinispan") Optional<String> authServerName
Sets server name used by authentication
-
authClientSubject
@ConfigItem Optional<String> authClientSubject
Sets client subject, necessary for those SASL mechanisms which require it to access client credentials.
-
authCallbackHandler
@ConfigItem Optional<String> authCallbackHandler
Specifies aCallbackHandlerto be used during the authentication handshake. TheCallbacks that need to be handled are specific to the chosen SASL mechanism.
-
saslMechanism
@ConfigItem(defaultValue="DIGEST-MD5") Optional<String> saslMechanism
Sets SASL mechanism used by authentication. Available values: * `DIGEST-MD5` - Uses the MD5 hashing algorithm in addition to nonces to encrypt credentials. This is the default. * `EXTERNAL` - Uses client certificates to provide valid identities to Infinispan Server and enable encryption. * `PLAIN` - Sends credentials in plain text (unencrypted) over the wire in a way that is similar to HTTP BASIC authentication. You should use `PLAIN` authentication only in combination with TLS encryption.
-
trustStore
@ConfigItem Optional<String> trustStore
Specifies the filename of a truststore to use to create theSSLContext. You also need to specify a trustStorePassword. Setting this property implicitly enables SSL/TLS.
-
trustStorePassword
@ConfigItem Optional<String> trustStorePassword
Specifies the password needed to open the truststore You also need to specify a trustStore. Setting this property implicitly enables SSL/TLS.
-
trustStoreType
@ConfigItem Optional<String> trustStoreType
Specifies the type of the truststore, such as JKS or JCEKS. Defaults to JKS if trustStore is enabled.
-
sslProtocol
@ConfigItem Optional<String> sslProtocol
Configures the secure socket protocol. Setting this property implicitly enables SSL/TLS.
-
sslProvider
@ConfigItem Optional<String> sslProvider
Sets the ssl provider. For example BCFIPS Setting this implicitly enables SSL/TLS.
-
sslCiphers
@ConfigItem Optional<List<String>> sslCiphers
Configures the ciphers. Setting this property implicitly enables SSL/TLS.
-
cache
@ConfigItem Map<String,InfinispanClientRuntimeConfig.RemoteCacheConfig> cache
Configures caches from the client with the provided configuration.
-
-