Closed simboss closed 1 month ago
First step:
1) Adding a .properties file containing a white list of hostnames. A request is forwarded only if the remote hostname matches at least one.
2) Adding a pluggable callback with check for this inside the servlet code (for example providing a ProxyCallback interface to implement that contains 'onRequest', 'onRemoteResponse' and 'onFinish' methods).