Class ElytronRunAsHandler
- java.lang.Object
-
- org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class ElytronRunAsHandler extends Object implements io.undertow.server.HttpHandler
AHttpHandlerto be placed after the request has switched to blocking mode to associate theSecurityIdentitywith the current thread.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description ElytronRunAsHandler(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
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)
-
-