Package org.wildfly.security.auth.realm
Interface CacheableSecurityRealm
-
- All Superinterfaces:
SecurityRealm
- All Known Implementing Classes:
FileSystemSecurityRealm
,JdbcSecurityRealm
,LdapSecurityRealm
public interface CacheableSecurityRealm extends SecurityRealm
This interface defines a contract for aSecurityRealm
that supports caching ofRealmIdentity
instances.- Author:
- Pedro Igor
- See Also:
CachingSecurityRealm
-
-
Field Summary
-
Fields inherited from interface org.wildfly.security.auth.server.SecurityRealm
EMPTY_REALM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.wildfly.security.auth.server.SecurityRealm
getCredentialAcquireSupport, getCredentialAcquireSupport, getEvidenceVerifySupport, getRealmIdentity, getRealmIdentity, getRealmIdentity, handleRealmEvent
-
-