Class ElytronRunAsHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class ElytronRunAsHandler
    extends Object
    implements 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 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)
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception
        See Also:
        HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)