Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get username & password from protected RSS feed URL request

 
Shehzaad khan
Greenhorn
Posts: 5
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to get username and password from a protected URL format like
http://[username]:[password]@[domain]/[path]
or for example
http://s.khan@wdk.com:wdk123@mydomain.com/rss/forumPosts.page?f=50

]by using these credentials i want to authenticate my protected RSS page.
But the problem is when i request from this url, i m getting only http://mydomain.com/rss/forumPosts.page
by request.getRequestURL();

is there any way to get entire URL in requestURL which i m requesting from browser?
or please suggest me some other way for the same.
Please note that i do not want to open extra browser pop-up for asking username and password. i want it from URL itself.

Thanks in Advanced
Shahid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic