Interface GlobalSecurityConfigurationChildBuilder
-
- All Superinterfaces:
GlobalConfigurationChildBuilder
- All Known Implementing Classes:
GlobalSecurityConfigurationBuilder
public interface GlobalSecurityConfigurationChildBuilder extends GlobalConfigurationChildBuilder
GlobalSecurityConfigurationChildBuilder.- Since:
- 7.0
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalAuthorizationConfigurationBuilder
authorization()
Defines global roles as groups of permissionsGlobalSecurityConfigurationBuilder
securityCacheSize(int securityCacheSize)
Defines the size for the access role cache.GlobalSecurityConfigurationBuilder
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 Detail
-
authorization
GlobalAuthorizationConfigurationBuilder authorization()
Defines global roles as groups of permissions
-
securityCacheSize
GlobalSecurityConfigurationBuilder securityCacheSize(int securityCacheSize)
Defines the size for the access role cache. The default value is 1000.- Parameters:
securityCacheSize
- the number of access roles to cache
-
securityCacheTimeout
GlobalSecurityConfigurationBuilder securityCacheTimeout(long securityCacheTimeout, TimeUnit unit)
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
-
-