Package io.undertow.util
Class ImmediateAuthenticationMechanismFactory
- java.lang.Object
-
- io.undertow.util.ImmediateAuthenticationMechanismFactory
-
- All Implemented Interfaces:
AuthenticationMechanismFactory
public class ImmediateAuthenticationMechanismFactory extends 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, DEFAULT_PAGE, ERROR_PAGE, LOGIN_PAGE, OVERRIDE_INITIAL, REALM
-
-
Constructor Summary
Constructors Constructor Description ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMechanism
create(String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, Map<String,String> properties)
Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.undertow.security.api.AuthenticationMechanismFactory
create
-
-
-
-
Constructor Detail
-
ImmediateAuthenticationMechanismFactory
public ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism)
-
-
Method Detail
-
create
public AuthenticationMechanism create(String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, Map<String,String> properties)
Description copied from interface:AuthenticationMechanismFactory
Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties- Specified by:
create
in interfaceAuthenticationMechanismFactory
- Parameters:
mechanismName
- The name under which this factory was registeredidentityManager
- the IdentityManager instance asscociated with the deploymentformParserFactory
- Parser to create a form data parser for a given request.properties
- The properties- Returns:
- The mechanism
-
-