View RSS Feed

Apache Commons

Apache Server Authentication

Rate this Entry
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.

Submit "Apache Server Authentication" to Facebook Submit "Apache Server Authentication" to Digg Submit "Apache Server Authentication" to del.icio.us Submit "Apache Server Authentication" to StumbleUpon Submit "Apache Server Authentication" to Google

Comments