Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to login sharepoint portal and by pass window login screen using HttpClient of Apache  RSS feed

Kanhaiya Singh
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Can any one you please help me in this regard.
[Thumbnail for login.PNG]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!