Can we get authentication for the WS methods please?
Asked by
Phil Wilson
The existing WS.GET and WS.POST methods don't support retrieving authenticated resources.
Normal HTTP BASIC auth code would look something like:
HttpClient client = new HttpClient();
// allow authentication against all domains and all realms
new AuthScope(null, 443, null),
new UsernamePasswor
);
GetMethod get = new GetMethod(
I'm not sure how best to integrate this with the existing code in WS.java but it would be great to see :)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Guillaume Bort
- Solved:
- Last query:
- Last reply:
To post a message you must log in.