Package io.undertow.security.api
Interface SecurityContextFactory
-
- All Known Implementing Classes:
SecurityContextFactoryImpl
@Deprecated(since="1.3.0", forRemoval=true) public interface SecurityContextFactoryDeprecated, for removal: This API element is subject to removal in a future version.Instead extend AbstractSecurityContextAssociationHandler to provide alternative contexts.Interface that must be implemented by factories of
SecurityContextinstances.- Author:
- Stefan Guilhen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SecurityContextcreateSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, java.lang.String programmaticMechName)Deprecated, for removal: This API element is subject to removal in a future version.Instantiates and returns aSecurityContextusing the specified parameters.
-
-
-
Method Detail
-
createSecurityContext
SecurityContext createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, java.lang.String programmaticMechName)
Deprecated, for removal: This API element is subject to removal in a future version.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.
-
-