Class ElytronIdentityHandler

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

    public class ElytronIdentityHandler
    extends Object
    implements io.undertow.server.HttpHandler
    HttpHandler to ensure the Subject for the current authenticated user is correctly associated for the request.
    Author:
    Darran Lofthouse
    • Field Detail

      • IDENTITY_KEY

        public static final io.undertow.util.AttachmentKey<org.wildfly.security.auth.server.SecurityIdentity> IDENTITY_KEY
    • Constructor Detail

      • ElytronIdentityHandler

        public ElytronIdentityHandler​(io.undertow.server.HttpHandler toWrap)
    • Method Detail

      • handleRequest

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