Top Description Fields Constructors Methods
io.undertow.util

public Class ImmediateAuthenticationMechanismFactory

extends Object
implements AuthenticationMechanismFactory
Class Inheritance
All Implemented Interfaces
io.undertow.security.api.AuthenticationMechanismFactory
Imports
io.undertow.security.api.AuthenticationMechanism, .AuthenticationMechanismFactory, io.undertow.security.idm.IdentityManager, io.undertow.server.handlers.form.FormParserFactory, java.util.Map

AuthenticationMechanismFactory that simply returns a pre configured AuthenticationMechanism
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final AuthenticationMechanism

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AuthenticationMechanism
create(String
The name under which this factory was registered
mechanismName
,
IdentityManager
the IdentityManager instance asscociated with the deployment
identityManager
,
FormParserFactory
Parser to create a form data parser for a given request.
formParserFactory
,
Map<String, String>
The properties
properties
)

Overrides default io.undertow.security.api.AuthenticationMechanismFactory.create.

Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

authenticationMechanismback to summary
private final AuthenticationMechanism authenticationMechanism

Constructor Detail

ImmediateAuthenticationMechanismFactoryback to summary
public ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism)

Method Detail

createback to summary
public AuthenticationMechanism create(String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, Map<String, String> properties)

Overrides default io.undertow.security.api.AuthenticationMechanismFactory.create.

Doc from io.undertow.security.api.AuthenticationMechanismFactory.create.

Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties

Parameters
mechanismName:String

The name under which this factory was registered

identityManager:IdentityManager

the IdentityManager instance asscociated with the deployment

formParserFactory:FormParserFactory

Parser to create a form data parser for a given request.

properties:Map<String, String>

The properties

Returns:AuthenticationMechanism

The mechanism

Annotations
@Override