• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

authentication with request dispatch

 
tola ademiju
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a servlet that is authenticated using BASIC authentication. But i want to include in it in a Controller Servlet which has no authentication. How do i get username/password across to the included servlet?
 
tola ademiju
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it to work with direct HTTP Url connection and setting the Authorization Header
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic