public class ImmediateAuthenticationMechanismFactory extends Object implements AuthenticationMechanismFactory
AuthenticationMechanismFactory
that simply returns a pre configured AuthenticationMechanism
CONTEXT_PATH, ERROR_PAGE, LOGIN_PAGE, REALM
Constructor and Description |
---|
ImmediateAuthenticationMechanismFactory(AuthenticationMechanism authenticationMechanism) |
Modifier and Type | Method and 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 © 2017 JBoss by Red Hat. All rights reserved.