public class SecurityContextFactoryImpl extends Object implements SecurityContextFactory
Default SecurityContextFactory
implementation. It creates SecurityContextImpl
instances with the specified parameters, setting the programmatic mechanism name if it is not null.
Modifier and Type | Field and Description |
---|---|
static SecurityContextFactory | INSTANCE |
Modifier and Type | Method and Description |
---|---|
SecurityContext | createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) Instantiates and returns a SecurityContext using the specified parameters. |
public static final SecurityContextFactory INSTANCE
public SecurityContext createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName)
SecurityContextFactory
Instantiates and returns a SecurityContext
using the specified parameters.
createSecurityContext
in interface SecurityContextFactory
exchange
- the HttpServerExchange
instance.mode
- the AuthenticationMode
.identityManager
- the IdentityManager
instance.programmaticMechName
- a String
representing the programmatic mechanism name. Can be null.SecurityContext
instance.Copyright © 2020 JBoss by Red Hat. All rights reserved.