Need to login sharepoint portal and by pass window login screen using HttpClient of Apache
posted 7 years ago
I want to bypass window login screen and reach to welcome page by passing the window login screen of portal. The window login credentials I want to set through the httpclient class. I am trying to utilize below code provided by apache. The sample code what I am using is as below. When running this code I am getting status code as 401 everythime. I have also attached the screen which come when I click on the login link of my sharepoint portal. This screen I want to bypass and reach to the welcome page.