Class HttpAuthenticationFactory
- java.lang.Object
- 
- org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- 
- org.wildfly.security.auth.server.http.HttpAuthenticationFactory
 
 
- 
- All Implemented Interfaces:
- MechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
 
 public final class HttpAuthenticationFactory extends AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException> A HTTP authentication mechanism configuration, the configuration is associated with theSecurityDomainandHttpServerAuthenticationMechanismFactoryfor obtaining configured mechanisms.- Author:
- Darran Lofthouse
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHttpAuthenticationFactory.BuilderA builder for SASL server factory configurations.
 - 
Method Summary- 
Methods inherited from class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactorycreateMechanism, getFactory, getMechanismNames, getSecurityDomain
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.wildfly.security.auth.server.MechanismAuthenticationFactorycreateMechanism
 
- 
 
- 
- 
- 
Method Detail- 
doCreateprotected HttpServerAuthenticationMechanism doCreate(String name, CallbackHandler callbackHandler, UnaryOperator<HttpServerAuthenticationMechanismFactory> factoryTransformation) throws HttpAuthenticationException 
 - 
getAllSupportedMechNamesprotected Collection<String> getAllSupportedMechNames() 
 - 
getSupportedEvidenceTypesprotected Collection<Class<? extends Evidence>> getSupportedEvidenceTypes(String mechName) 
 - 
getSupportedEvidenceAlgorithmNamesprotected Collection<String> getSupportedEvidenceAlgorithmNames(Class<? extends AlgorithmEvidence> evidenceType, String mechName) 
 - 
getSupportedCredentialTypesprotected Collection<Class<? extends Credential>> getSupportedCredentialTypes(String mechName) 
 - 
getSupportedCredentialAlgorithmNamesprotected Collection<String> getSupportedCredentialAlgorithmNames(Class<? extends AlgorithmCredential> credentialType, String mechName) 
 - 
usesCredentialsprotected boolean usesCredentials(String mechName) Description copied from class:AbstractMechanismAuthenticationFactoryDetermine whether the given mechanism name needs credentials from a realm in order to authenticate.- Specified by:
- usesCredentialsin class- AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Parameters:
- mechName- the mechanism name
- Returns:
- trueif the mechanism requires realm credential support,- falseif it does not
 
 - 
shutdownAuthenticationMechanismFactorypublic void shutdownAuthenticationMechanismFactory() 
 - 
builderpublic static HttpAuthenticationFactory.Builder builder() Obtain a newHttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.- Returns:
- a new HttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.
 
 
- 
 
-