<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Arnold's wor(l)ds</title>
	<atom:link href="http://www.adaniels.nl/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adaniels.nl</link>
	<description>It's all about me, mysql and Einstein.</description>
	<lastBuildDate>Fri, 19 Mar 2010 15:00:30 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Simple Single Sign-On for PHP by Sam</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-216816</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 19 Mar 2010 15:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-216816</guid>
		<description>Hi,
Thanks for a great sso implementation.
I did implement it with database(actually using webservices provided by one of our .net site) in my local server and every thing works great.
The problem is when I uploaded it to live server.the first time i load the site, it goes directly to my sso_server.php file(seems it redirects physically ). 
second time i load the site, i get 406 error.
IF i clear my cookies, the same thing happens. 
Is it some kind of settings i need to do ffor production?
we have a linux dedicated box with apache and php 5.12
have mamp in may local computer on mac.
Other thing.
I do get 406 error in my local computer some time. I think it&#039;s when I don&#039;t logout and local cookie expires. Guess something with session expire. butright now i am really looking to make this thing work on my real server.
Thanks for a great implementation.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for a great sso implementation.<br />
I did implement it with database(actually using webservices provided by one of our .net site) in my local server and every thing works great.<br />
The problem is when I uploaded it to live server.the first time i load the site, it goes directly to my sso_server.php file(seems it redirects physically ).<br />
second time i load the site, i get 406 error.<br />
IF i clear my cookies, the same thing happens.<br />
Is it some kind of settings i need to do ffor production?<br />
we have a linux dedicated box with apache and php 5.12<br />
have mamp in may local computer on mac.<br />
Other thing.<br />
I do get 406 error in my local computer some time. I think it&#8217;s when I don&#8217;t logout and local cookie expires. Guess something with session expire. butright now i am really looking to make this thing work on my real server.<br />
Thanks for a great implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by vij</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-216799</link>
		<dc:creator>vij</dc:creator>
		<pubDate>Fri, 19 Mar 2010 11:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-216799</guid>
		<description>Hi Arnold,


i have made changes as mentioned above.
i made changes as 

server/sso.php


 array(&#039;secret&#039;=&gt;&quot;abc123&quot;),
        &#039;BINCK&#039; =&gt; array(&#039;secret&#039;=&gt;&quot;xyz789&quot;),
		&#039;UZZA&#039; =&gt; array(&#039;secret&#039;=&gt;&quot;rino222&quot;),
        &#039;AJAX&#039; =&gt; array(&#039;secret&#039;=&gt;&quot;amsterdam&quot;),
        &#039;LYNX&#039; =&gt; array(&#039;secret&#039;=&gt;&quot;klm345&quot;),
    );

    /**
     * Information of the users.
     * This should be data in a database.
     * 
     * @var array
     */
    protected static $users =&quot;select * from mdl_user where username=&#039;$username&#039; AND password=&#039;$password&#039;&quot;;
     
    and

IN BROKER/sso.php as
&lt;?php
/**
 * Helper class for broker of single sign-on
 */
class SingleSignOn_Broker
{
	/**
	 * Pass 401 http response of the server to the client
	 */
	public $pass401=false;

    /**
     * Url of SSO server
     * @var string
     */
    public $url = &quot;http://localhost:81/broker/sso.php&quot;;
    
    /**
     * My identifier, given by SSO provider.
     * @var string
     */
    public $broker = &quot;LYNX&quot;;

    /**
     * My secret word, given by SSO provider.
     * @var string
     */
    public $secret = &quot;klm345&quot;;

    /**


i am getting login page tats all.. nothing is working</description>
		<content:encoded><![CDATA[<p>Hi Arnold,</p>
<p>i have made changes as mentioned above.<br />
i made changes as </p>
<p>server/sso.php</p>
<p> array(&#8217;secret&#8217;=&gt;&#8221;abc123&#8243;),<br />
        &#8216;BINCK&#8217; =&gt; array(&#8217;secret&#8217;=&gt;&#8221;xyz789&#8243;),<br />
		&#8216;UZZA&#8217; =&gt; array(&#8217;secret&#8217;=&gt;&#8221;rino222&#8243;),<br />
        &#8216;AJAX&#8217; =&gt; array(&#8217;secret&#8217;=&gt;&#8221;amsterdam&#8221;),<br />
        &#8216;LYNX&#8217; =&gt; array(&#8217;secret&#8217;=&gt;&#8221;klm345&#8243;),<br />
    );</p>
<p>    /**<br />
     * Information of the users.<br />
     * This should be data in a database.<br />
     *<br />
     * @var array<br />
     */<br />
    protected static $users =&#8221;select * from mdl_user where username=&#8217;$username&#8217; AND password=&#8217;$password&#8217;&#8221;;</p>
<p>    and</p>
<p>IN BROKER/sso.php as<br />
&lt;?php<br />
/**<br />
 * Helper class for broker of single sign-on<br />
 */<br />
class SingleSignOn_Broker<br />
{<br />
	/**<br />
	 * Pass 401 http response of the server to the client<br />
	 */<br />
	public $pass401=false;</p>
<p>    /**<br />
     * Url of SSO server<br />
     * @var string<br />
     */<br />
    public $url = &quot;http://localhost:81/broker/sso.php&quot;;</p>
<p>    /**<br />
     * My identifier, given by SSO provider.<br />
     * @var string<br />
     */<br />
    public $broker = &quot;LYNX&quot;;</p>
<p>    /**<br />
     * My secret word, given by SSO provider.<br />
     * @var string<br />
     */<br />
    public $secret = &quot;klm345&quot;;</p>
<p>    /**</p>
<p>i am getting login page tats all.. nothing is working</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by David</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-216608</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 18 Mar 2010 00:07:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-216608</guid>
		<description>Hi Arnold,

I have downloaded the files from github and ran it on Linux and Windows, but I couldn&#039;t make it work properly. Maybe I&#039;m missing something, but there&#039;s a strange problem.
Suppose that you copy the directory broker with a new name like broker2. Now it&#039;s supposed to have SSO between /broker and /broker2 but it&#039;s both of them work separately and once logged in /broker , there&#039;s no SSO in /broker2
The most strange part is that on windows they work completely separate, but on Linux once you log in /broker and then open a page to /broker2 , you will be logged out of /broker !
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Arnold,</p>
<p>I have downloaded the files from github and ran it on Linux and Windows, but I couldn&#8217;t make it work properly. Maybe I&#8217;m missing something, but there&#8217;s a strange problem.<br />
Suppose that you copy the directory broker with a new name like broker2. Now it&#8217;s supposed to have SSO between /broker and /broker2 but it&#8217;s both of them work separately and once logged in /broker , there&#8217;s no SSO in /broker2<br />
The most strange part is that on windows they work completely separate, but on Linux once you log in /broker and then open a page to /broker2 , you will be logged out of /broker !<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by Arnold Daniels</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-214939</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Tue, 23 Feb 2010 17:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-214939</guid>
		<description>&lt;b&gt;&lt;em&gt;Jack&lt;/em&gt;&lt;/b&gt; I don&#039;t understand your last comment.

In the end you should be using your own SSO-server and SSO-brokers. The brokers are your websites which share their authentication. Based on the article and my previous comments you should be able to implement your own SSO solution.

&lt;i&gt;Please remember that this is not a help forum.&lt;/i&gt;</description>
		<content:encoded><![CDATA[<p><b><em>Jack</em></b> I don&#8217;t understand your last comment.</p>
<p>In the end you should be using your own SSO-server and SSO-brokers. The brokers are your websites which share their authentication. Based on the article and my previous comments you should be able to implement your own SSO solution.</p>
<p><i>Please remember that this is not a help forum.</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by Jack</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-214936</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Tue, 23 Feb 2010 16:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-214936</guid>
		<description>Hi Aranold,

  Thanks for your advise. App is working fine and i integrate your code in my site and logged in my site of your broker login and after that i refresh your demo http://sso-alex.adaniels.nl/index.php its logging in with out log of again and if log out your demo site in mysite broker also logout. 
So i reached the single sign on or i need to do any thing else......
Kindly explain to finish the task....

Thanks
Jack</description>
		<content:encoded><![CDATA[<p>Hi Aranold,</p>
<p>  Thanks for your advise. App is working fine and i integrate your code in my site and logged in my site of your broker login and after that i refresh your demo <a href="http://sso-alex.adaniels.nl/index.php" rel="nofollow">http://sso-alex.adaniels.nl/index.php</a> its logging in with out log of again and if log out your demo site in mysite broker also logout.<br />
So i reached the single sign on or i need to do any thing else&#8230;&#8230;<br />
Kindly explain to finish the task&#8230;.</p>
<p>Thanks<br />
Jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by Arnold Daniels</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-214924</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Tue, 23 Feb 2010 11:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-214924</guid>
		<description>&lt;b&gt;&lt;em&gt;Jack&lt;/em&gt;&lt;/b&gt;: Some advise in advance, after each step, make sure that the app is working properly.

Line 1 to 10 from broker/index.php checks if a user is logged in. If that is not the case it redirects the client to login.php. If your site doesn&#039;t require a user to be logged in, you don&#039;t need it.</description>
		<content:encoded><![CDATA[<p><b><em>Jack</em></b>: Some advise in advance, after each step, make sure that the app is working properly.</p>
<p>Line 1 to 10 from broker/index.php checks if a user is logged in. If that is not the case it redirects the client to login.php. If your site doesn&#8217;t require a user to be logged in, you don&#8217;t need it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by Jack</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-214922</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Tue, 23 Feb 2010 11:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-214922</guid>
		<description>Hi Arnold,

   I have started to implement SSO in my www.test.com.
   1. I just down load and copy the your folder in to my test.com.
   2.I made changes that in server/sso.php for credential and get user info based on userName and password.
  3. you said Copy/paste line 1 to 10 from broker/index.php into your own site where i am going to copy the that 10 lines?
  4.i have copy that login screen in my own.

could you please help me to finish the task...


Thanks
Jack</description>
		<content:encoded><![CDATA[<p>Hi Arnold,</p>
<p>   I have started to implement SSO in my <a href="http://www.test.com" rel="nofollow">http://www.test.com</a>.<br />
   1. I just down load and copy the your folder in to my test.com.<br />
   2.I made changes that in server/sso.php for credential and get user info based on userName and password.<br />
  3. you said Copy/paste line 1 to 10 from broker/index.php into your own site where i am going to copy the that 10 lines?<br />
  4.i have copy that login screen in my own.</p>
<p>could you please help me to finish the task&#8230;</p>
<p>Thanks<br />
Jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Single Sign-On for PHP by Jack</title>
		<link>http://www.adaniels.nl/articles/simple-single-sign-on-for-php/comment-page-2/#comment-214918</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Tue, 23 Feb 2010 10:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=168#comment-214918</guid>
		<description>Hi Arnold Daniels,

 Thanks for your help.I follow the what your mention.
 If any doubts kindly help me.

Thanks
Jack</description>
		<content:encoded><![CDATA[<p>Hi Arnold Daniels,</p>
<p> Thanks for your help.I follow the what your mention.<br />
 If any doubts kindly help me.</p>
<p>Thanks<br />
Jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Perl like temporary variables in PHP by Antje Schipmann</title>
		<link>http://www.adaniels.nl/articles/temporary-variable/comment-page-1/#comment-214887</link>
		<dc:creator>Antje Schipmann</dc:creator>
		<pubDate>Mon, 22 Feb 2010 22:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=58#comment-214887</guid>
		<description>I found this website by mistake, but you sure have a lot of useful PHP tips here. Great work Arnold! I&#039;m gonna look for your code

&lt;a title=&quot;
&quot; href=&quot;http://www.antjeschippmannsucks.com/&quot;&gt;Antje Schippmann&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I found this website by mistake, but you sure have a lot of useful PHP tips here. Great work Arnold! I&#8217;m gonna look for your code</p>
<p><a title="<br />
" href="http://www.antjeschippmannsucks.com/">Antje Schippmann</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How I PHP: Using defaults for input arguments by Antje Schipmann</title>
		<link>http://www.adaniels.nl/articles/how-i-php-using-defaults-for-input-arguments/comment-page-1/#comment-214885</link>
		<dc:creator>Antje Schipmann</dc:creator>
		<pubDate>Mon, 22 Feb 2010 22:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=86#comment-214885</guid>
		<description>great tip. 
Thanks mate.

&lt;a title=&quot;
&quot;&gt;</description>
		<content:encoded><![CDATA[<p>great tip.<br />
Thanks mate.</p>
<p><a title="<br />
"></a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
