Class KeyStoreBackedSecurityRealm

java.lang.Object
org.wildfly.security.auth.realm.KeyStoreBackedSecurityRealm
All Implemented Interfaces:
org.wildfly.security.auth.server.SecurityRealm

public class KeyStoreBackedSecurityRealm extends Object implements org.wildfly.security.auth.server.SecurityRealm
A KeyStore backed SecurityRealm implementation.
Author:
David M. Lloyd, Darran Lofthouse
  • Constructor Details

    • KeyStoreBackedSecurityRealm

      public KeyStoreBackedSecurityRealm(KeyStore keyStore)
      Construct a new instance.
      Parameters:
      keyStore - the keystore to use to back this realm
    • KeyStoreBackedSecurityRealm

      public KeyStoreBackedSecurityRealm(KeyStore keyStore, Supplier<Provider[]> providers)
      Construct a new instance.
      Parameters:
      keyStore - the keystore to use to back this realm
      providers - A supplier of providers for use by this realm
  • 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
    • getCredentialAcquireSupport

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

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