Class AuthCacheService


  • @ThreadSafe
    public class AuthCacheService
    extends java.lang.Object
    • Constructor Detail

      • AuthCacheService

        public AuthCacheService()
    • Method Detail

      • register

        public void register​(AuthCache<?,​?> cache)
      • unregister

        public void unregister​(AuthCache<?,​?> cache)
      • warmCaches

        public void warmCaches()
      • initializeAndRegisterCaches

        public static void initializeAndRegisterCaches()
        NOTE: Can only be called once per instance run. We have a couple of static initializer functions to create caches scattered across various classes, some solo and some with multiple member variables. As we expect these caches to be created and initialized in one logical block, we tie them together and use them here. Note: We also register the PasswordAuthenticator cache with the AuthCacheService in it's constructor