Interface GlobalSecurityConfigurationChildBuilder

    • Method Detail

      • 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