Forums Register Login

Get username & password from protected RSS feed URL request

+Pie Number of slices to send: Send
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
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1118 times.
Similar Threads
getRemoteUser
HTTP Basic Authentication
Ajax Request Query String
Sending mails thru JSP page
Apache Authentication in a webdav application under tomcat
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 00:02:19.