• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Get username & password from protected RSS feed URL request

 
Greenhorn
Posts: 6
Eclipse IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic