Package io.undertow.security.api
Interface SecurityContextFactory
- All Known Implementing Classes:
SecurityContextFactoryImpl
Deprecated.
Instead extend AbstractSecurityContextAssociationHandler to provide alternative contexts.
Interface that must be implemented by factories of SecurityContext instances.
- Author:
- Stefan Guilhen
-
Method Summary
Modifier and TypeMethodDescriptioncreateSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) Deprecated.Instantiates and returns aSecurityContextusing the specified parameters.
-
Method Details
-
createSecurityContext
SecurityContext createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) Deprecated.Instantiates and returns a
SecurityContextusing the specified parameters.- Parameters:
exchange- theHttpServerExchangeinstance.mode- theAuthenticationMode.identityManager- theIdentityManagerinstance.programmaticMechName- aStringrepresenting the programmatic mechanism name. Can be null.- Returns:
- the constructed
SecurityContextinstance.
-