Interface GlobalSecurityConfigurationChildBuilder

All Superinterfaces:
GlobalConfigurationChildBuilder
All Known Implementing Classes:
GlobalSecurityConfigurationBuilder

public interface GlobalSecurityConfigurationChildBuilder extends GlobalConfigurationChildBuilder
GlobalSecurityConfigurationChildBuilder.
Since:
7.0
Author:
Tristan Tarrant
  • Method Details

    • 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 timeout
      unit - the TimeUnit