<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Secured RSS/Atom Feeds</title>
	<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/</link>
	<description>Completely Messing the Point - Notes on cool tech, including RSS and Atom. May contain humor.</description>
	<pubDate>Fri, 10 Sep 2010 20:11:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Mark Woodman</title>
		<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-271</link>
		<pubDate>Thu, 14 Sep 2006 13:51:08 +0000</pubDate>
		<guid>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-271</guid>
					<description>Venkatesh, 

This page may help:
http://code.google.com/apis/accounts/Authentication.html

Otherwise, I suggest you ask on the GDATA discussion group:
http://groups.google.com/group/google-help-dataapi</description>
		<content:encoded><![CDATA[<p>Venkatesh, </p>
<p>This page may help:<br />
<a href="http://code.google.com/apis/accounts/Authentication.html" rel="nofollow">http://code.google.com/apis/accounts/Authentication.html</a></p>
<p>Otherwise, I suggest you ask on the GDATA discussion group:<br />
<a href="http://groups.google.com/group/google-help-dataapi" rel="nofollow">http://groups.google.com/group/google-help-dataapi</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Venkatesh</title>
		<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-270</link>
		<pubDate>Thu, 14 Sep 2006 07:42:17 +0000</pubDate>
		<guid>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-270</guid>
					<description>How to give username and password for secure rss feeds.
_________________________________________________________
https://gmailusername:password@gmail.google.com/gmail/feed/atom/
I want to read the mail headers of my gmail account thru rss or atom feed as gmail allows to use this .
this feed requires the username and password ,though those are incorporated in the url itself.
there are lot of aggregators and rss feeders which uses this url but still the username and password requires .
I want to do the same thru java url and url connection.
If the url is given directly on the browser bar then it will ask for the username and password again and give the xml response in the browser page.
My concern is how to give the username and password for the same thru code.ie)urlconnection .
I have found one gdata api which is for blogger and calendar,i am try ing the same ,but authentication exception i got while running since this feed url requires username and the password .
The url to be posted [added in the GDATA Source]https://www.google.com/accounts/ClientLogin
The content of the URL Posted service=mail&#38;Passwd=password&#38;Email=gmailusername&#38;accountType=HOSTED_OR_GOOGLE&#38;source=exampleCo-exampleApp-1
In Http_Ok
Got the input stream after launching the url with the parameters [added in GDATA]
com.google.gdata.util.AuthenticationException: Unauthorized
     at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:480)
     at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:458)
     at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:452)
     at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:430)
     at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:441)
     at com.google.gdata.client.Service.getFeed(Service.java:458)Service Exception while getting the feed

     at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:677)
     at com.google.gdata.client.Service.getFeed(Service.java:497)
     at Headers.readCalendar(Headers.java:33)
     at Headers.main(Headers.java:58)
Exception in thread "main" java.lang.NullPointerException
     at Headers.main(Headers.java:59)
The code is taken from the http://code.google.com/apis.
Please help on this ,it is urgent .i can give more points for this ,but i have only 250 available with me .</description>
		<content:encoded><![CDATA[<p>How to give username and password for secure rss feeds.<br />
_________________________________________________________<br />
<a href="https://gmailusername:password@gmail.google.com/gmail/feed/atom/" rel="nofollow">https://gmailusername:password@gmail.google.com/gmail/feed/atom/</a><br />
I want to read the mail headers of my gmail account thru rss or atom feed as gmail allows to use this .<br />
this feed requires the username and password ,though those are incorporated in the url itself.<br />
there are lot of aggregators and rss feeders which uses this url but still the username and password requires .<br />
I want to do the same thru java url and url connection.<br />
If the url is given directly on the browser bar then it will ask for the username and password again and give the xml response in the browser page.<br />
My concern is how to give the username and password for the same thru code.ie)urlconnection .<br />
I have found one gdata api which is for blogger and calendar,i am try ing the same ,but authentication exception i got while running since this feed url requires username and the password .<br />
The url to be posted [added in the GDATA Source]https://www.google.com/accounts/ClientLogin<br />
The content of the URL Posted service=mail&amp;Passwd=password&amp;Email=gmailusername&amp;accountType=HOSTED_OR_GOOGLE&amp;source=exampleCo-exampleApp-1<br />
In Http_Ok<br />
Got the input stream after launching the url with the parameters [added in GDATA]<br />
com.google.gdata.util.AuthenticationException: Unauthorized<br />
     at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:480)<br />
     at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:458)<br />
     at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:452)<br />
     at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:430)<br />
     at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:441)<br />
     at com.google.gdata.client.Service.getFeed(Service.java:458)Service Exception while getting the feed</p>
<p>     at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:677)<br />
     at com.google.gdata.client.Service.getFeed(Service.java:497)<br />
     at Headers.readCalendar(Headers.java:33)<br />
     at Headers.main(Headers.java:58)<br />
Exception in thread &#8220;main&#8221; java.lang.NullPointerException<br />
     at Headers.main(Headers.java:59)<br />
The code is taken from the <a href="http://code.google.com/apis." rel="nofollow">http://code.google.com/apis.</a><br />
Please help on this ,it is urgent .i can give more points for this ,but i have only 250 available with me .
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: TommyA</title>
		<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-45</link>
		<pubDate>Mon, 13 Jun 2005 11:06:03 +0000</pubDate>
		<guid>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-45</guid>
					<description>With 'http + basic' wouldn't the username &#38; password get passed as the HTTP Referrer if the user follows any links in the articles.</description>
		<content:encoded><![CDATA[<p>With &#8216;http + basic&#8217; wouldn&#8217;t the username &amp; password get passed as the HTTP Referrer if the user follows any links in the articles.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Greg Reinacker</title>
		<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-17</link>
		<pubDate>Fri, 04 Mar 2005 15:02:05 +0000</pubDate>
		<guid>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-17</guid>
					<description>NewsGator Online can support Basic and Digest, with or without HTTPS. It can actually support NTLM/Kerberos as well, but this will typically not succeed with most firewall policies.</description>
		<content:encoded><![CDATA[<p>NewsGator Online can support Basic and Digest, with or without HTTPS. It can actually support NTLM/Kerberos as well, but this will typically not succeed with most firewall policies.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mark Woodman</title>
		<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-16</link>
		<pubDate>Thu, 03 Mar 2005 22:37:10 +0000</pubDate>
		<guid>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-16</guid>
					<description>I've since un-installed BottomFeeder, so I can't give the exact error message any more.  I was unable to get to a feed secured with Digest authentication on an IIS 6.0 / Windows 2003 Server box.  (This is what I used for the testing the various combinations above.)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve since un-installed BottomFeeder, so I can&#8217;t give the exact error message any more.  I was unable to get to a feed secured with Digest authentication on an IIS 6.0 / Windows 2003 Server box.  (This is what I used for the testing the various combinations above.)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: James Robertson</title>
		<link>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-15</link>
		<pubDate>Thu, 03 Mar 2005 22:02:16 +0000</pubDate>
		<guid>http://inkblots.markwoodman.com/2005/03/03/secured-rssatom-feeds/#comment-15</guid>
					<description>I've tested BottomFeeder against secured and unsecured sites, using both Basic and Digest auth.  What problems did you have?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tested BottomFeeder against secured and unsecured sites, using both Basic and Digest auth.  What problems did you have?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
