AuthenticationMechanismFactory
public class ImmediateAuthenticationMechanismFactory extends Object implements AuthenticationMechanismFactory
AuthenticationMechanismFactory
that simply returns a pre configured AuthenticationMechanism
CONTEXT_PATH, ERROR_PAGE, LOGIN_PAGE, REALM
Constructor | Description |
---|---|
ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism) |
Modifier and Type | Method | Description |
---|---|---|
AuthenticationMechanism |
create(String mechanismName,
FormParserFactory formParserFactory,
Map<String,String> properties) |
Creates an authentication mechanism using the specified properties
|
public ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism)
public AuthenticationMechanism create(String mechanismName, FormParserFactory formParserFactory, Map<String,String> properties)
AuthenticationMechanismFactory
create
in interface AuthenticationMechanismFactory
mechanismName
- The name under which this factory was registeredproperties
- The propertiesCopyright © 2018. All rights reserved.