Interface GlobalSecurityConfigurationChildBuilder
- All Superinterfaces:
GlobalConfigurationChildBuilder
- All Known Implementing Classes:
GlobalSecurityConfigurationBuilder
GlobalSecurityConfigurationChildBuilder.
- Since:
- 7.0
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionDefines global roles as groups of permissionssecurityCacheSize
(int securityCacheSize) Defines the size for the access role cache.securityCacheTimeout
(long securityCacheTimeout, TimeUnit unit) Defines the timeout for which to cache user access roles.Methods inherited from interface org.infinispan.configuration.global.GlobalConfigurationChildBuilder
asyncThreadPool, blockingThreadPool, build, defaultCacheName, expirationThreadPool, globalJmxStatistics, globalState, jmx, listenerThreadPool, metrics, modules, nonBlockingThreadPool, persistenceThreadPool, security, serialization, shutdown, site, stateTransferThreadPool, transport
-
Method Details
-
authorization
GlobalAuthorizationConfigurationBuilder authorization()Defines global roles as groups of permissions -
securityCacheSize
Defines the size for the access role cache. The default value is 1000.- Parameters:
securityCacheSize
- the number of access roles to cache
-
securityCacheTimeout
Defines the timeout for which to cache user access roles. A value of -1 means the entries never expire. A value of 0 will disable the cache.- Parameters:
securityCacheTimeout
- the timeoutunit
- theTimeUnit
-