mitre / mitre/HTTP-Proxy-Servlet
HttpClientContext support for 'Preemptive authentication'
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 557
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Currently, ProxyServlet executing request like below:
proxyResponse = proxyClient.execute(getTargetHost(servletRequest), proxyRequest);
Adding support for HttpClientContext (or, via some overriden method) will allow Preemptive authentication support. Ex:
proxyResponse = proxyClient.execute(getTargetHost(servletRequest), proxyRequest, context);
or
proxyResponse = proxyClient.execute(getTargetHost(servletRequest), proxyRequest, getClientContext());
What do you think?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the ProxyServlet request execution call shown in the issue and inspect how the proxy client is configured and invoked. Determine the appropriate context or override extension point for callers, then verify that preemptive authentication can be supplied without changing existing proxy behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100