Class CachingModifiableSecurityRealm
java.lang.Object
org.infinispan.server.security.realm.CachingSecurityRealm
org.infinispan.server.security.realm.CachingModifiableSecurityRealm
- All Implemented Interfaces:
org.wildfly.security.auth.server.ModifiableSecurityRealm, org.wildfly.security.auth.server.SecurityRealm
public class CachingModifiableSecurityRealm
extends CachingSecurityRealm
implements org.wildfly.security.auth.server.ModifiableSecurityRealm
A wrapper class that provides caching capabilities for a ModifiableSecurityRealm and its identities.
- Author:
- Pedro Igor
-
Field Summary
Fields inherited from interface org.wildfly.security.auth.server.SecurityRealm
EMPTY_REALM -
Constructor Summary
ConstructorsConstructorDescriptionCachingModifiableSecurityRealm(org.wildfly.security.auth.realm.CacheableSecurityRealm realm, org.wildfly.security.cache.RealmIdentityCache cache) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.security.auth.server.ModifiableRealmIdentitygetRealmIdentityForUpdate(Principal principal) org.wildfly.security.auth.server.ModifiableRealmIdentityIteratorMethods inherited from class CachingSecurityRealm
getCacheableRealm, getCredentialAcquireSupport, getEvidenceVerifySupport, getRealmIdentity, handleRealmEvent, removeAllFromCache, removeFromCacheMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.server.ModifiableSecurityRealm
getRealmIdentityForUpdateMethods inherited from interface org.wildfly.security.auth.server.SecurityRealm
getCredentialAcquireSupport, getCredentialAcquireSupport, getEvidenceVerifySupport, getRealmIdentity, getRealmIdentity, getRealmIdentity, handleRealmEvent
-
Constructor Details
-
CachingModifiableSecurityRealm
public CachingModifiableSecurityRealm(org.wildfly.security.auth.realm.CacheableSecurityRealm realm, org.wildfly.security.cache.RealmIdentityCache cache) Creates a new instance.- Parameters:
realm- theSecurityRealmwhoseRealmIdentityshould be cached..cache- theRealmIdentityCacheinstance
-
-
Method Details
-
getRealmIdentityForUpdate
public org.wildfly.security.auth.server.ModifiableRealmIdentity getRealmIdentityForUpdate(Principal principal) throws org.wildfly.security.auth.server.RealmUnavailableException - Specified by:
getRealmIdentityForUpdatein interfaceorg.wildfly.security.auth.server.ModifiableSecurityRealm- Throws:
org.wildfly.security.auth.server.RealmUnavailableException
-
getRealmIdentityIterator
public org.wildfly.security.auth.server.ModifiableRealmIdentityIterator getRealmIdentityIterator() throws org.wildfly.security.auth.server.RealmUnavailableException- Specified by:
getRealmIdentityIteratorin interfaceorg.wildfly.security.auth.server.ModifiableSecurityRealm- Throws:
org.wildfly.security.auth.server.RealmUnavailableException
-