Class JACCContextIdHandler
- java.lang.Object
-
- org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class JACCContextIdHandler extends Object implements io.undertow.server.HttpHandler
A
HttpHandler
that sets the web application Jakarta Authorization contextId in thePolicyContext
. Any previously registered contextId is suspended for the duration of the request and is restored when this handler is done.- Author:
- Stefan Guilhen
-
-
Constructor Summary
Constructors Constructor Description JACCContextIdHandler(String contextId, io.undertow.server.HttpHandler next)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
static io.undertow.server.HandlerWrapper
wrapper(String contextId)
-
-
-
Constructor Detail
-
JACCContextIdHandler
public JACCContextIdHandler(String contextId, io.undertow.server.HttpHandler next)
-
-