Class ElytronRunAsHandler
java.lang.Object
org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
A
HttpHandler to be placed after the request has switched to blocking mode to associate the SecurityIdentity
with the current thread.- Author:
- Darran Lofthouse
-
Constructor Summary
ConstructorsConstructorDescriptionElytronRunAsHandler(io.undertow.server.HttpHandler next) ElytronRunAsHandler(io.undertow.server.HttpHandler next, BiFunction<org.wildfly.security.auth.server.SecurityIdentity, io.undertow.server.HttpServerExchange, org.wildfly.security.auth.server.SecurityIdentity> identityTransformer) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
ElytronRunAsHandler
public ElytronRunAsHandler(io.undertow.server.HttpHandler next) -
ElytronRunAsHandler
public ElytronRunAsHandler(io.undertow.server.HttpHandler next, BiFunction<org.wildfly.security.auth.server.SecurityIdentity, io.undertow.server.HttpServerExchange, org.wildfly.security.auth.server.SecurityIdentity> identityTransformer)
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception- See Also:
-