Skip to content
Browse Gluu Flex 6.0.0

Services


tags:

  • administration
  • admin-ui
  • services
  • cache-configuration

This menu allows user to configure Cache Provider which can be used by the auth server.

#Cache Provider Configuration

The following cache providers are supported in Janssen's auth server:

  • In Memory : recommended for small deployments only
  • Memcached : recommended for single cache server deployment
  • Redis : recommended for cluster deployments
  • Native Persistence : recommended to avoid installing additional components. All cache entries are saved in persistence layers.

#Cache Provider Properties

The following tables include the name and description of each Cache Provider's properties.

#Cache Configuration

NameDescription
Cache Provider Type- The cache provider type. Possible values include IN_MEMORY, MEMCACHED, REDIS, NATIVE_PERSISTENCE

#Memcached Configuration

image

These settings are cache provider specific. Please refer to Memcached documentation to understand how fine tune these parameters for the particular usecase.

NameDescription
Server DetailsServer details separated by spaces (for example server1:8080 server2:8081)
Use this setting to specify where the Memcached cache backend is running. Use your memcached host(s).
Max Operation Queue LengthMaximum number of operations that can be queued to Memcached before they are processed.
Buffer SizeMemcached buffer size in bytes.
Default Put ExpirationExpiration timeout (in seconds) for entries placed in memcached.
Connection Factory TypeConnection factory type. Supported types: Default and Binary

#In-Memory Configuration

image

NameDescription
Default Put ExpirationDefault expiration timeout value in seconds for cached entries

#Redis Configuration

image

These settings are cache provider specific. Please refer to Redis documentation to understand how fine tune these parameters for the particular usecase.

NameDescription
Redis Provider TypeType of Redis deployment: e.g. STANDALONE, CLUSTERED, SHARDED, SENTINEL.
Server DetailsRedis server address(es), comma‑separated (e.g.server1:8080 server2:8081)
Use SSLEnable SSL communication between Gluu Flex Server and Redis cache
PasswordRedis server password
Sentinel Master Group NameWhen using sentinel mode, name of the master group.
Required for sentinel setups so the client knows which master to use.
SSL Trust Store File PathPath to trust store file when SSL is used.
To provide certificate chain/trust anchors to trust the Redis server’s certificate.
Default Put ExpirationDefault expiration time for objects put into cache (seconds).
Max Retry AttemptsMaximum attempts to retry operations in case of failure.
So TimeoutWith this option set to a non-zero timeout, a read() call on the InputStream associated with this Socket will block for only this amount of time. If the timeout expires, a java.net.SocketTimeoutException is raised, though the Socket is still valid. The option must be enabled prior to entering the blocking operation to have effect. The timeout must be > 0. A timeout of zero is interpreted as an infinite timeout.
Max Idle ConnectionsThe cap on the number of "idle" instances in the pool. If maxIdle is set too low on heavily loaded systems it is possible you will see objects being destroyed and almost immediately new objects being created. This is a result of the active threads momentarily returning objects faster than they are requesting them, causing the number of idle objects to rise above maxIdle. The best value for maxIdle for heavily loaded system will vary but the default is a good starting point.
Max Total ConnectionsMax number of connections allowed in the pool
Connection TimeoutTimeout for establishing connections to Redis

#Native Persistence Configuration

image

NameDescription
Default Put ExpirationDefault expiration time for objects put into cache in seconds
Default Cleanup Batch SizeDefault number of entries to clean-up in one iteration when removing expired entries.
Delete Expired OnGetRequestBoolean flag: whether to delete expired entries when a GET request is made

#Persistence

These settings define how the authentication system interacts with the underlying database, including the database type, version, and JDBC driver details.

image

Field NameDescription
Database NameThe current catalog name of the database
Schema NameThe current schema name of the database
Product NameThe name of the database product
Product VersionThe version number of the database product
Driver NameThe name of the JDBC driver
Driver VersionThe version number of the JDBC driver

We use analytics cookies to measure which pages are useful, so we can improve them. They are only set if you accept. Essential cookies needed for the site to work are always on. See our privacy policy.