Apache Server Authentication
by, 02-24-2012 at 07:00 PM (403 Views)
Transparent mechanism is present in HttpClient for handling of the authentication. Login credentials are required for the development of application.
- In HttpState instance, login credentials are being stored.
- Use the setCredentials method to set these credentials.
- Use the getCredentials method to retrieve these credentials.
setDoAuthentication method is present in HttpMethod class. Automatic authorization is provided by it for the HttpClient. Changes made will just be affecting the methodís interface.