Interface CacheableSecurityRealm

All Superinterfaces:
org.wildfly.security.auth.server.SecurityRealm
All Known Implementing Classes:
FileSystemSecurityRealm

public interface CacheableSecurityRealm extends org.wildfly.security.auth.server.SecurityRealm
This interface defines a contract for a SecurityRealm that supports caching of RealmIdentity instances.
Author:
Pedro Igor
See Also:
  • Field Summary

    Fields inherited from interface org.wildfly.security.auth.server.SecurityRealm

    EMPTY_REALM
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register a listener that should be invoked by this realm in order to notify the caching layer about changes to a specific identity.

    Methods inherited from interface org.wildfly.security.auth.server.SecurityRealm

    getCredentialAcquireSupport, getCredentialAcquireSupport, getEvidenceVerifySupport, getRealmIdentity, getRealmIdentity, getRealmIdentity, handleRealmEvent
  • 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