Top Description Fields Constructors Methods
io.undertow.security.impl

public Class SecurityContextFactoryImpl

extends Object
implements SecurityContextFactory
Class Inheritance
All Implemented Interfaces
io.undertow.security.api.SecurityContextFactory
Imports
io.undertow.security.api.AuthenticationMode, .SecurityContext, .SecurityContextFactory, io.undertow.security.idm.IdentityManager, io.undertow.server.HttpServerExchange

References Deprecated

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Default io.undertow.security.api.SecurityContextFactory implementation. It creates io.undertow.security.impl.SecurityContextImpl instances with the specified parameters, setting the programmatic mechanism name if it is not null.

Author
Stefan Guilhen

Field Summary

Modifier and TypeField and Description
public static final SecurityContextFactory
INSTANCE

References Deprecated SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public SecurityContext
createSecurityContext(final HttpServerExchange
the HttpServerExchange instance.
exchange
,
final AuthenticationMode
the AuthenticationMode.
mode
,
final IdentityManager
the IdentityManager instance.
identityManager
,
final String
a String representing the programmatic mechanism name. Can be null.
programmaticMechName
)

Implements io.undertow.security.api.SecurityContextFactory.createSecurityContext.

Instantiates and returns a SecurityContext using the specified parameters.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final SecurityContextFactory INSTANCE

References Deprecated

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Constructor Detail

SecurityContextFactoryImplback to summary
private SecurityContextFactoryImpl()

Method Detail

createSecurityContextback to summary
public SecurityContext createSecurityContext(final HttpServerExchange exchange, final AuthenticationMode mode, final IdentityManager identityManager, final String programmaticMechName)

Implements io.undertow.security.api.SecurityContextFactory.createSecurityContext.

Doc from io.undertow.security.api.SecurityContextFactory.createSecurityContext.

Instantiates and returns a SecurityContext using the specified parameters.

Parameters
exchange:HttpServerExchange

the HttpServerExchange instance.

mode:AuthenticationMode

the AuthenticationMode.

identityManager:IdentityManager

the IdentityManager instance.

programmaticMechName:String

a String representing the programmatic mechanism name. Can be null.

Returns:SecurityContext

the constructed SecurityContext instance.

Annotations
@Override