Hello,
I am building Java application which consists of Keycloaks extensions that I use within Keycloak server v25.0.2.
I have a requirement to log data from the API HTTP request/response. Data includes properties such as connectionId and servlet exchange object attributes that are not present within org.keycloak.http.HttpRequest
. Ideally I would need access to the HttpServerExchange or any kind of servlet HTTP exchange objects.
Please advise how to register Servlet Filter from the Keycloaks extension or any other way how I can access servlet exchange objects.
Thanks