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
-
Field Summary
Fields inherited from interface org.wildfly.security.auth.server.SecurityRealm
EMPTY_REALM -
Constructor Summary
ConstructorsConstructorDescriptionKeyStoreBackedSecurityRealm(KeyStore keyStore) Construct a new instance.KeyStoreBackedSecurityRealm(KeyStore keyStore, Supplier<Provider[]> providers) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.security.auth.SupportLevelgetCredentialAcquireSupport(Class<? extends org.wildfly.security.credential.Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) org.wildfly.security.auth.SupportLevelgetEvidenceVerifySupport(Class<? extends org.wildfly.security.evidence.Evidence> evidenceType, String algorithmName) org.wildfly.security.auth.server.RealmIdentitygetRealmIdentity(Principal principal) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.server.SecurityRealm
getCredentialAcquireSupport, getRealmIdentity, getRealmIdentity, handleRealmEvent
-
Constructor Details
-
KeyStoreBackedSecurityRealm
Construct a new instance.- Parameters:
keyStore- the keystore to use to back this realm
-
KeyStoreBackedSecurityRealm
-
-
Method Details
-
getRealmIdentity
public org.wildfly.security.auth.server.RealmIdentity getRealmIdentity(Principal principal) throws org.wildfly.security.auth.server.RealmUnavailableException - Specified by:
getRealmIdentityin interfaceorg.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:
getCredentialAcquireSupportin interfaceorg.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:
getEvidenceVerifySupportin interfaceorg.wildfly.security.auth.server.SecurityRealm- Throws:
org.wildfly.security.auth.server.RealmUnavailableException
-