Class SecurityHandlerFactory
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.handler.SecurityHandlerFactory
-
public class SecurityHandlerFactory extends Object
Default factory class for building a newSecurityHandler
object.
-
-
Constructor Summary
Constructors Constructor Description SecurityHandlerFactory(AzkarraContext context)
Creates a newAzkarraContext
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityHandler
make(SecurityConfig securityConfig, io.undertow.server.HttpHandler handler)
Creates a newSecurityHandler
for the specified configuration.
-
-
-
Constructor Detail
-
SecurityHandlerFactory
public SecurityHandlerFactory(AzkarraContext context)
Creates a newAzkarraContext
instance.- Parameters:
context
- theAzkarraContext
instance.
-
-
Method Detail
-
make
public SecurityHandler make(SecurityConfig securityConfig, io.undertow.server.HttpHandler handler)
Creates a newSecurityHandler
for the specified configuration.- Parameters:
securityConfig
- theSecurityConfig
.handler
- theHttpHandler
.- Returns:
- a new
SecurityHandler
object.
-
-