Package io.undertow.security.api
Interface AuthenticationMechanismFactory
-
- All Known Implementing Classes:
BasicAuthenticationMechanism.Factory,ClientCertAuthenticationMechanism.Factory,DigestAuthenticationMechanism.Factory,ExternalAuthenticationMechanism.Factory,GenericHeaderAuthenticationMechanism.Factory,ImmediateAuthenticationMechanismFactory
public interface AuthenticationMechanismFactoryFactory for authentication mechanisms.- Author:
- Stuart Douglas
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTEXT_PATHstatic java.lang.StringDEFAULT_PAGEstatic java.lang.StringERROR_PAGEstatic java.lang.StringLOGIN_PAGEstatic java.lang.StringOVERRIDE_INITIALstatic java.lang.StringREALM
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default AuthenticationMechanismcreate(java.lang.String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, java.util.Map<java.lang.String,java.lang.String> properties)Creates an authentication mechanism that needs access to the deployment IdentityManager and specified propertiesdefault AuthenticationMechanismcreate(java.lang.String mechanismName, FormParserFactory formParserFactory, java.util.Map<java.lang.String,java.lang.String> properties)Deprecated.
-
-
-
Field Detail
-
REALM
static final java.lang.String REALM
- See Also:
- Constant Field Values
-
LOGIN_PAGE
static final java.lang.String LOGIN_PAGE
- See Also:
- Constant Field Values
-
ERROR_PAGE
static final java.lang.String ERROR_PAGE
- See Also:
- Constant Field Values
-
CONTEXT_PATH
static final java.lang.String CONTEXT_PATH
- See Also:
- Constant Field Values
-
DEFAULT_PAGE
static final java.lang.String DEFAULT_PAGE
- See Also:
- Constant Field Values
-
OVERRIDE_INITIAL
static final java.lang.String OVERRIDE_INITIAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@Deprecated default AuthenticationMechanism create(java.lang.String mechanismName, FormParserFactory formParserFactory, java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.Creates an authentication mechanism using the specified properties- Parameters:
mechanismName- The name under which this factory was registeredproperties- The propertiesformParserFactory- Parser to create a form data parser for a given request.- Returns:
- The mechanism
-
create
default AuthenticationMechanism create(java.lang.String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, java.util.Map<java.lang.String,java.lang.String> properties)
Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties- 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
-
-