Class PropertiesSecurityRealm

java.lang.Object
org.infinispan.server.security.realm.PropertiesSecurityRealm
All Implemented Interfaces:
org.wildfly.security.auth.realm.CacheableSecurityRealm, org.wildfly.security.auth.server.SecurityRealm

public class PropertiesSecurityRealm extends Object implements org.wildfly.security.auth.realm.CacheableSecurityRealm
Since:
10.0
Author:
Tristan Tarrant <tristan@infinispan.org>
  • Constructor Details

    • PropertiesSecurityRealm

      public PropertiesSecurityRealm(File usersFile, File groupsFile, boolean plainText, String groupsAttribute, String realmName)
  • Method Details

    • getRealmIdentity

      public org.wildfly.security.auth.server.RealmIdentity getRealmIdentity(Principal principal) throws org.wildfly.security.auth.server.RealmUnavailableException
      Specified by:
      getRealmIdentity in interface org.wildfly.security.auth.server.SecurityRealm
      Throws:
      org.wildfly.security.auth.server.RealmUnavailableException
    • getRealmIdentity

      public org.wildfly.security.auth.server.RealmIdentity getRealmIdentity(org.wildfly.security.evidence.Evidence evidence) throws org.wildfly.security.auth.server.RealmUnavailableException
      Specified by:
      getRealmIdentity in interface org.wildfly.security.auth.server.SecurityRealm
      Throws:
      org.wildfly.security.auth.server.RealmUnavailableException
    • getCredentialAcquireSupport

      public org.wildfly.security.auth.SupportLevel getCredentialAcquireSupport(Class<? extends org.wildfly.security.credential.Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec)
      Specified by:
      getCredentialAcquireSupport in interface org.wildfly.security.auth.server.SecurityRealm
    • getEvidenceVerifySupport

      public org.wildfly.security.auth.SupportLevel getEvidenceVerifySupport(Class<? extends org.wildfly.security.evidence.Evidence> evidenceType, String algorithmName)
      Specified by:
      getEvidenceVerifySupport in interface org.wildfly.security.auth.server.SecurityRealm
    • isEmpty

      public boolean isEmpty()
    • registerIdentityChangeListener

      public void registerIdentityChangeListener(Consumer<Principal> listener)
      Specified by:
      registerIdentityChangeListener in interface org.wildfly.security.auth.realm.CacheableSecurityRealm