Java Client + basic authentication IIS - problem...
843811Apr 2 2007 — edited Apr 2 2007Hi,
I try to connect to IIS 5 and I've set the checkbox 'Integrated WIndows authentication'
In my client I use:
String credentials=new String("tester:tester");
String auth=new String(credentials.getBytes());
sconnection.setRequestProperty("Authorization", "Basic "
+ auth);
Generally in the webrowser there is a window asking for user and apssword and using tester, tester works.
The client can't be authenticated - ERROR|main | HttpsConnectionJavaClientTest - Response: '401: Unauthorized' for url: 'https://