Package io.undertow.util
Class ImmediateAuthenticationMechanismFactory
- java.lang.Object
-
- io.undertow.util.ImmediateAuthenticationMechanismFactory
-
- All Implemented Interfaces:
AuthenticationMechanismFactory
public class ImmediateAuthenticationMechanismFactory extends java.lang.Object implements AuthenticationMechanismFactory
AuthenticationMechanismFactory
that simply returns a pre configuredAuthenticationMechanism
- Author:
- Stuart Douglas
-
-
Field Summary
-
Fields inherited from interface io.undertow.security.api.AuthenticationMechanismFactory
CONTEXT_PATH, ERROR_PAGE, LOGIN_PAGE, REALM
-
-
Constructor Summary
Constructors Constructor Description ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMechanism
create(java.lang.String mechanismName, FormParserFactory formParserFactory, java.util.Map<java.lang.String,java.lang.String> properties)
Creates an authentication mechanism using the specified properties
-
-
-
Constructor Detail
-
ImmediateAuthenticationMechanismFactory
public ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism)
-
-
Method Detail
-
create
public AuthenticationMechanism create(java.lang.String mechanismName, FormParserFactory formParserFactory, java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:AuthenticationMechanismFactory
Creates an authentication mechanism using the specified properties- Specified by:
create
in interfaceAuthenticationMechanismFactory
- Parameters:
mechanismName
- The name under which this factory was registeredproperties
- The properties- Returns:
- The mechanism
-
-