Package org.wildfly.httpclient.common
Class ElytronIdentityHandler
- java.lang.Object
-
- org.wildfly.httpclient.common.ElytronIdentityHandler
-
- All Implemented Interfaces:
HttpHandler
public class ElytronIdentityHandler extends Object implements HttpHandler
- Author:
- Stuart Douglas
-
-
Field Summary
Fields Modifier and Type Field Description static AttachmentKey<SecurityIdentity>IDENTITY_KEYThe current security identity
-
Constructor Summary
Constructors Constructor Description ElytronIdentityHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(HttpServerExchange exchange)Handle the request.
-
-
-
Field Detail
-
IDENTITY_KEY
public static final AttachmentKey<SecurityIdentity> IDENTITY_KEY
The current security identity
-
-
Constructor Detail
-
ElytronIdentityHandler
public ElytronIdentityHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
-