Class LocalCachingProfileCreator

java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.profile.creator.LocalCachingProfileCreator
All Implemented Interfaces:
ProfileCreator

public class LocalCachingProfileCreator extends InitializableObject implements ProfileCreator
A profile creator that caches the result of a profile creation based on the credentials. Add the guava dependency to use this class.
Since:
5.7.0
Author:
Jerome LELEU
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
  • Constructor Details

    • LocalCachingProfileCreator

      public LocalCachingProfileCreator()
    • LocalCachingProfileCreator

      public LocalCachingProfileCreator(ProfileCreator delegate, Store<Credentials,UserProfile> store)
    • LocalCachingProfileCreator

      public LocalCachingProfileCreator(ProfileCreator delegate, int cacheSize, int timeout, TimeUnit timeUnit)
  • Method Details