Interface CacheableSecurityRealm

All Superinterfaces:
SecurityRealm
All Known Implementing Classes:
FileSystemSecurityRealm

public interface CacheableSecurityRealm extends SecurityRealm
This interface defines a contract for a SecurityRealm that supports caching of RealmIdentity instances.
Author:
Pedro Igor
See Also:
  • Method Details

    • registerIdentityChangeListener

      void registerIdentityChangeListener(Consumer<Principal> listener)
      Register a listener that should be invoked by this realm in order to notify the caching layer about changes to a specific identity.
      Parameters:
      listener - the listener