Reputation: 393
With vertx-http-proxy (https://github.com/eclipse-vertx/vertx-http-proxy), What is the best way to add/plug our custom authentication mechanism (like an LDAP authentication based on the client cert and populate an Authorization Basic header for our backend target) ?
Upvotes: 1
Views: 916
Reputation: 335
For the moment you can use directly the ProxyRequest and ProxyResponse which gives control over the flow. When the ProxyResponse is ready to be sent, you can before customize the proxy response HTTP headers.
Upvotes: 1