Class TokenSecurityRealm
java.lang.Object
org.wildfly.security.auth.realm.token.TokenSecurityRealm
- All Implemented Interfaces:
SecurityRealm
A SecurityRealm capable of building identities based on different security token formats based on a TokenValidator.
- Author:
- Pedro Igor
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.wildfly.security.auth.server.SecurityRealm
EMPTY_REALM -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenSecurityRealm.Builderbuilder()Returns aTokenSecurityRealm.Builderinstance that can be used to configure and create aTokenSecurityRealm.getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName) getRealmIdentity(Evidence evidence) Methods inherited from class java.lang.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
-
Method Details
-
builder
Returns aTokenSecurityRealm.Builderinstance that can be used to configure and create aTokenSecurityRealm.- Returns:
- the
TokenSecurityRealm.Builder
-
getRealmIdentity
- Specified by:
getRealmIdentityin interfaceSecurityRealm
-
getCredentialAcquireSupport
public SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws RealmUnavailableException - Specified by:
getCredentialAcquireSupportin interfaceSecurityRealm- Throws:
RealmUnavailableException
-
getEvidenceVerifySupport
public SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName) throws RealmUnavailableException - Specified by:
getEvidenceVerifySupportin interfaceSecurityRealm- Throws:
RealmUnavailableException
-