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.UseHttpAuthenticationFactoryinsteadA HTTP authentication mechanism configuration, the configuration is associated with theSecurityDomainandHttpServerAuthenticationMechanismFactoryfor obtaining configured mechanisms.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpAuthenticationFactory.BuilderDeprecated.A builder for SASL server factory configurations.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HttpAuthenticationFactory.Builderbuilder()Deprecated.Obtain a newHttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.protected HttpServerAuthenticationMechanismdoCreate(String name, CallbackHandler callbackHandler, UnaryOperator<HttpServerAuthenticationMechanismFactory> 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 booleanisKnownMechanism(String mechName)Deprecated.Determine whether the given mechanism name is known to WildFly Elytron.voidshutdownAuthenticationMechanismFactory()Deprecated.protected booleanusesCredentials(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, getMechanismConfigurationSelector, 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:AbstractMechanismAuthenticationFactoryDetermine whether the given mechanism name needs credentials from a realm in order to authenticate.- Specified by:
usesCredentialsin classAbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>- Parameters:
mechName- the mechanism name- Returns:
trueif the mechanism requires realm credential support,falseif it does not
-
isKnownMechanism
protected boolean isKnownMechanism(String mechName)
Deprecated.Description copied from class:AbstractMechanismAuthenticationFactoryDetermine whether the given mechanism name is known to WildFly Elytron. If it is not known we can't filter it out as we can not rely upon the other methods being able to return accurate responses about the mechanisms requirements. As this is a new method and other implementations may not know to override this has a default implementation to match the current behaviour i.e. assume we know about all mechanisms.- Overrides:
isKnownMechanismin classAbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>- Parameters:
mechName- the mechanism name- Returns:
trueif the mechanism is known to WildFly Elytron,falseif it is not
-
shutdownAuthenticationMechanismFactory
public void shutdownAuthenticationMechanismFactory()
Deprecated.
-
builder
public static HttpAuthenticationFactory.Builder builder()
Deprecated.Obtain a newHttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.- Returns:
- a new
HttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.
-
-