Package org.wildfly.security.auth.server
Class HttpAuthenticationFactory
- java.lang.Object
-
- org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
-
- org.wildfly.security.auth.server.HttpAuthenticationFactory
-
- All Implemented Interfaces:
MechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
@Deprecated public final class HttpAuthenticationFactory extends AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
Deprecated.UseHttpAuthenticationFactory
insteadA HTTP authentication mechanism configuration, the configuration is associated with theSecurityDomain
andHttpServerAuthenticationMechanismFactory
for obtaining configured mechanisms.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpAuthenticationFactory.Builder
Deprecated.A builder for SASL server factory configurations.
-
Method Summary
-
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
-
-
-
-
Method Detail
-
doCreate
protected HttpServerAuthenticationMechanism doCreate(String name, CallbackHandler callbackHandler, UnaryOperator<HttpServerAuthenticationMechanismFactory> factoryTransformation) throws HttpAuthenticationException
Deprecated.
-
getAllSupportedMechNames
protected Collection<String> getAllSupportedMechNames()
Deprecated.
-
getSupportedEvidenceTypes
protected Collection<Class<? extends Evidence>> getSupportedEvidenceTypes(String mechName)
Deprecated.
-
getSupportedEvidenceAlgorithmNames
protected Collection<String> getSupportedEvidenceAlgorithmNames(Class<? extends AlgorithmEvidence> evidenceType, String mechName)
Deprecated.
-
getSupportedCredentialTypes
protected Collection<Class<? extends Credential>> getSupportedCredentialTypes(String mechName)
Deprecated.
-
getSupportedCredentialAlgorithmNames
protected Collection<String> getSupportedCredentialAlgorithmNames(Class<? extends AlgorithmCredential> credentialType, String mechName)
Deprecated.
-
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<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Parameters:
mechName
- the mechanism name- Returns:
true
if the mechanism requires realm credential support,false
if it does not
-
shutdownAuthenticationMechanismFactory
public void shutdownAuthenticationMechanismFactory()
Deprecated.
-
builder
public static HttpAuthenticationFactory.Builder builder()
Deprecated.Obtain a newHttpAuthenticationFactory.Builder
capable of building aHttpAuthenticationFactory
.- Returns:
- a new
HttpAuthenticationFactory.Builder
capable of building aHttpAuthenticationFactory
.
-
-