Package org.wildfly.security.auth.server
Class SaslAuthenticationFactory
- java.lang.Object
-
- org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
-
- org.wildfly.security.auth.server.SaslAuthenticationFactory
-
- All Implemented Interfaces:
MechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
@Deprecated public final class SaslAuthenticationFactory extends AbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
Deprecated.UseSaslAuthenticationFactory
insteadA SASL server factory configuration.- Author:
- David M. Lloyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SaslAuthenticationFactory.Builder
Deprecated.A builder for SASL server factory configurations.
-
Field Summary
Fields Modifier and Type Field Description (package private) static Map<String,String>
QUERY_ALL
Deprecated.private SaslServerFactory
saslServerFactory
Deprecated.
-
Constructor Summary
Constructors Constructor Description SaslAuthenticationFactory(SecurityDomain securityDomain, MechanismConfigurationSelector mechanismConfigurationSelector, SaslServerFactory saslServerFactory)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SaslAuthenticationFactory.Builder
builder()
Deprecated.Obtain a newSaslAuthenticationFactory.Builder
capable of building aSaslAuthenticationFactory
.protected SaslServer
doCreate(String name, CallbackHandler callbackHandler, UnaryOperator<SaslServerFactory> factoryTransformation)
Deprecated.protected Collection<String>
getAllSupportedMechNames()
Deprecated.protected Collection<String>
getSupportedCredentialAlgorithmNames(Class<? extends AlgorithmCredential> credentialType, String mechName)
Deprecated.protected Collection<Class<? extends Credential>>
getSupportedCredentialTypes(String mechName)
Deprecated.protected Collection<String>
getSupportedEvidenceAlgorithmNames(Class<? extends AlgorithmEvidence> evidenceType, String mechName)
Deprecated.protected Collection<Class<? extends Evidence>>
getSupportedEvidenceTypes(String mechName)
Deprecated.protected boolean
usesCredentials(String mechName)
Deprecated.Determine whether the given mechanism name needs credentials from a realm in order to authenticate.-
Methods inherited from class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory
createMechanism, getFactory, getMechanismNames, getSecurityDomain
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.auth.server.MechanismAuthenticationFactory
createMechanism
-
-
-
-
Field Detail
-
saslServerFactory
private final SaslServerFactory saslServerFactory
Deprecated.
-
-
Constructor Detail
-
SaslAuthenticationFactory
SaslAuthenticationFactory(SecurityDomain securityDomain, MechanismConfigurationSelector mechanismConfigurationSelector, SaslServerFactory saslServerFactory)
Deprecated.
-
-
Method Detail
-
doCreate
protected SaslServer doCreate(String name, CallbackHandler callbackHandler, UnaryOperator<SaslServerFactory> factoryTransformation) throws SaslException
Deprecated.- Specified by:
doCreate
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
- Throws:
SaslException
-
getAllSupportedMechNames
protected Collection<String> getAllSupportedMechNames()
Deprecated.- Specified by:
getAllSupportedMechNames
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
-
getSupportedEvidenceTypes
protected Collection<Class<? extends Evidence>> getSupportedEvidenceTypes(String mechName)
Deprecated.- Specified by:
getSupportedEvidenceTypes
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
-
getSupportedEvidenceAlgorithmNames
protected Collection<String> getSupportedEvidenceAlgorithmNames(Class<? extends AlgorithmEvidence> evidenceType, String mechName)
Deprecated.- Specified by:
getSupportedEvidenceAlgorithmNames
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
-
getSupportedCredentialTypes
protected Collection<Class<? extends Credential>> getSupportedCredentialTypes(String mechName)
Deprecated.- Specified by:
getSupportedCredentialTypes
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
-
getSupportedCredentialAlgorithmNames
protected Collection<String> getSupportedCredentialAlgorithmNames(Class<? extends AlgorithmCredential> credentialType, String mechName)
Deprecated.- Specified by:
getSupportedCredentialAlgorithmNames
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
-
usesCredentials
protected boolean usesCredentials(String mechName)
Deprecated.Description copied from class:AbstractMechanismAuthenticationFactory
Determine whether the given mechanism name needs credentials from a realm in order to authenticate.- Specified by:
usesCredentials
in classAbstractMechanismAuthenticationFactory<SaslServer,SaslServerFactory,SaslException>
- Parameters:
mechName
- the mechanism name- Returns:
true
if the mechanism requires realm credential support,false
if it does not
-
builder
public static SaslAuthenticationFactory.Builder builder()
Deprecated.Obtain a newSaslAuthenticationFactory.Builder
capable of building aSaslAuthenticationFactory
.- Returns:
- a new
SaslAuthenticationFactory.Builder
capable of building aSaslAuthenticationFactory
.
-
-