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 configured AuthenticationMechanism
- 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
ConstructorsConstructorDescriptionImmediateAuthenticationMechanismFactory
(AuthenticationMechanism authenticationMechanism) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, Map<String, String> properties) Creates an authentication mechanism that needs access to the deployment IdentityManager and specified propertiesMethods 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 Details
-
ImmediateAuthenticationMechanismFactory
-
-
Method Details
-
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
-