Package io.undertow.security.api
Interface SecurityContextFactory
-
- All Known Implementing Classes:
SecurityContextFactoryImpl
@Deprecated public interface SecurityContextFactory
Deprecated.Instead extend AbstractSecurityContextAssociationHandler to provide alternative contexts.Interface that must be implemented by factories of
SecurityContext
instances.- Author:
- Stefan Guilhen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SecurityContext
createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName)
Deprecated.Instantiates and returns aSecurityContext
using the specified parameters.
-
-
-
Method Detail
-
createSecurityContext
SecurityContext createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName)
Deprecated.Instantiates and returns a
SecurityContext
using the specified parameters.- Parameters:
exchange
- theHttpServerExchange
instance.mode
- theAuthenticationMode
.identityManager
- theIdentityManager
instance.programmaticMechName
- aString
representing the programmatic mechanism name. Can be null.- Returns:
- the constructed
SecurityContext
instance.
-
-