<?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 on: ErkanaAuth Version 2.0a</title>
	<atom:link href="http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/</link>
	<description>Senior Developer Michael Wales, featuring articles on web development (PHP, Python and Ruby), industry highlights and open source software releases.</description>
	<lastBuildDate>Tue, 22 Jun 2010 15:17:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Michael Wales</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-326</link>
		<dc:creator>Michael Wales</dc:creator>
		<pubDate>Mon, 03 May 2010 02:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-326</guid>
		<description>@Nick
Your issue sounds like a Linux vs. Windows issue with capatilization (Linux views capitals as a different character than lowercase). This is probably an issue with the model and I will look into whether this is inherent to ErkanaAuth itself, or release a number of guidances if it is a user-generated error.

I will continue to issue releases here on the blog but if you want the most up-to-date release, the BitBuck repository is the way to go.</description>
		<content:encoded><![CDATA[<p>@Nick<br />
Your issue sounds like a Linux vs. Windows issue with capatilization (Linux views capitals as a different character than lowercase). This is probably an issue with the model and I will look into whether this is inherent to ErkanaAuth itself, or release a number of guidances if it is a user-generated error.</p>
<p>I will continue to issue releases here on the blog but if you want the most up-to-date release, the BitBuck repository is the way to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Jennings</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-325</link>
		<dc:creator>Nick Jennings</dc:creator>
		<pubDate>Sun, 02 May 2010 21:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-325</guid>
		<description>Hi Michael,

 Many thanks for the work! I&#039;ve got a small project I&#039;m working on at the moment, and didn&#039;t want to go for something too crazy with features. A simple &quot;in or out&quot; authentication mechanism (aka. Erkana auth) is just what I needed!

 I had a problem however, where the Erkana_auth library was referring to $this-&gt;CI-&gt;account (and throwing an error), capitalizing &#039;Account&#039; wherever the the load-&gt;model was called, and references to $this-&gt;CI-&gt;Account seemed to fix everything. I&#039;m a bit curious why I got this problem and no one else seemed to mention it above :)

Other than that, was just wondering why there is no logout library method? seems like it would be as simple as a call to $this-&gt;CI-&gt;session-&gt;unset_userdata() - or would this somehow be a bad idea?

Is there somewhere I should be checking for newer releases? I haven&#039;t taken the plunge into mercurial yet, and still prefer downloading &quot;releases&quot; - do you make regular release of erkanaauth?

Thanks again for your lightweight authentication library. I&#039;ve been thinking of releasing a CI library of my own and plan to use yours as an example.</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p> Many thanks for the work! I&#8217;ve got a small project I&#8217;m working on at the moment, and didn&#8217;t want to go for something too crazy with features. A simple &#8220;in or out&#8221; authentication mechanism (aka. Erkana auth) is just what I needed!</p>
<p> I had a problem however, where the Erkana_auth library was referring to $this-&gt;CI-&gt;account (and throwing an error), capitalizing &#8216;Account&#8217; wherever the the load-&gt;model was called, and references to $this-&gt;CI-&gt;Account seemed to fix everything. I&#8217;m a bit curious why I got this problem and no one else seemed to mention it above <img src='http://www.michaelwales.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Other than that, was just wondering why there is no logout library method? seems like it would be as simple as a call to $this-&gt;CI-&gt;session-&gt;unset_userdata() &#8211; or would this somehow be a bad idea?</p>
<p>Is there somewhere I should be checking for newer releases? I haven&#8217;t taken the plunge into mercurial yet, and still prefer downloading &#8220;releases&#8221; &#8211; do you make regular release of erkanaauth?</p>
<p>Thanks again for your lightweight authentication library. I&#8217;ve been thinking of releasing a CI library of my own and plan to use yours as an example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason H</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-321</link>
		<dc:creator>Jason H</dc:creator>
		<pubDate>Sat, 01 May 2010 02:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-321</guid>
		<description>Love it man, keep up the good work. A solid, well thought out auth library for CodeIgniter will help it go far!</description>
		<content:encoded><![CDATA[<p>Love it man, keep up the good work. A solid, well thought out auth library for CodeIgniter will help it go far!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vecima</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-309</link>
		<dc:creator>vecima</dc:creator>
		<pubDate>Tue, 27 Apr 2010 22:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-309</guid>
		<description>haha, I&#039;d consider it an honor to contribute something to ErkanaAuth!  I don&#039;t have any of the accounts you mentioned, but I&#039;ll look into &#039;em.  I need to roll out the security update for the client I mentioned earlier tonight, but I&#039;ll definitely look into it in the next couple days.</description>
		<content:encoded><![CDATA[<p>haha, I&#8217;d consider it an honor to contribute something to ErkanaAuth!  I don&#8217;t have any of the accounts you mentioned, but I&#8217;ll look into &#8216;em.  I need to roll out the security update for the client I mentioned earlier tonight, but I&#8217;ll definitely look into it in the next couple days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Wales</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-308</link>
		<dc:creator>Michael Wales</dc:creator>
		<pubDate>Tue, 27 Apr 2010 21:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-308</guid>
		<description>@vecima
Glad to see your contributions to the library! If you use Mercurial and have a BitBucket account, it would be great if you could fork the project, commit your changes and send me a pull request. This is the easiest way for me to accept and vet community contributions.</description>
		<content:encoded><![CDATA[<p>@vecima<br />
Glad to see your contributions to the library! If you use Mercurial and have a BitBucket account, it would be great if you could fork the project, commit your changes and send me a pull request. This is the easiest way for me to accept and vet community contributions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vecima</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-305</link>
		<dc:creator>vecima</dc:creator>
		<pubDate>Tue, 27 Apr 2010 17:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-305</guid>
		<description>I don&#039;t mean to spam up the place, but I thought I&#039;d let you know that I implemented a get_identifer (to return the email or username) and a change_password method.  I posted about it here:
http://codeigniter.com/forums/viewthread/144518/

Also, I&#039;m not sure if it&#039;s a bug or just something up with the way I&#039;m using ErkanaAuth, but I have a library called Auth_wrapper that loads ErkanaAuth, and the first time I tried to log in, I got an error about a call on an undefined object in validate_login.  I added a check that the CI_Session class exists (as you did in other methods) and it seems to have fixed it:

if (!class_exists(&#039;CI_Session&#039;)) {
 $this-&gt;CI-&gt;load-&gt;library(&#039;session&#039;);
}</description>
		<content:encoded><![CDATA[<p>I don&#8217;t mean to spam up the place, but I thought I&#8217;d let you know that I implemented a get_identifer (to return the email or username) and a change_password method.  I posted about it here:<br />
<a href="http://codeigniter.com/forums/viewthread/144518/" rel="nofollow">http://codeigniter.com/forums/viewthread/144518/</a></p>
<p>Also, I&#8217;m not sure if it&#8217;s a bug or just something up with the way I&#8217;m using ErkanaAuth, but I have a library called Auth_wrapper that loads ErkanaAuth, and the first time I tried to log in, I got an error about a call on an undefined object in validate_login.  I added a check that the CI_Session class exists (as you did in other methods) and it seems to have fixed it:</p>
<p>if (!class_exists(&#8216;CI_Session&#8217;)) {<br />
 $this-&gt;CI-&gt;load-&gt;library(&#8216;session&#8217;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vecima</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-304</link>
		<dc:creator>vecima</dc:creator>
		<pubDate>Tue, 27 Apr 2010 15:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-304</guid>
		<description>Thanks for the quick reply.  Luckily in my case I don&#039;t need a feature rich authentication system.  Just a simple, secure login that I can easily fit into my existing site - and you&#039;ve already provided that!  In the time since my first post I&#039;ve gotten it working on my localhost.  I&#039;ll probably go production later tonight.

Thanks again!

(ps - just noticed the phrase &quot;whom which&quot; in my first post... I don&#039;t know what a whom which is, but it sounds delicious!)</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply.  Luckily in my case I don&#8217;t need a feature rich authentication system.  Just a simple, secure login that I can easily fit into my existing site &#8211; and you&#8217;ve already provided that!  In the time since my first post I&#8217;ve gotten it working on my localhost.  I&#8217;ll probably go production later tonight.</p>
<p>Thanks again!</p>
<p>(ps &#8211; just noticed the phrase &#8220;whom which&#8221; in my first post&#8230; I don&#8217;t know what a whom which is, but it sounds delicious!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Wales</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-303</link>
		<dc:creator>Michael Wales</dc:creator>
		<pubDate>Tue, 27 Apr 2010 15:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-303</guid>
		<description>@vecima
There is nothing inherently wrong or insecure in this release, so I would say you will be okay in using it. My concern simply lies in the fact that it has not been tested much and it could, potentially, have bugs. It&#039;s also not very configurable at the moment, locking you into a very specific set of ideas (controller naming, etc.) but this is easily changed within the library files themselves.

Keep an eye on the &lt;a href=&quot;http://bitbucket.org/walesmd/codeigniter-erkana-auth&quot; title=&quot;BitBucket.org: CodeIgniter Erkana Auth&quot; rel=&quot;nofollow&quot;&gt;BitBucket repository&lt;/a&gt; for future development.</description>
		<content:encoded><![CDATA[<p>@vecima<br />
There is nothing inherently wrong or insecure in this release, so I would say you will be okay in using it. My concern simply lies in the fact that it has not been tested much and it could, potentially, have bugs. It&#8217;s also not very configurable at the moment, locking you into a very specific set of ideas (controller naming, etc.) but this is easily changed within the library files themselves.</p>
<p>Keep an eye on the <a href="http://bitbucket.org/walesmd/codeigniter-erkana-auth" title="BitBucket.org: CodeIgniter Erkana Auth" rel="nofollow">BitBucket repository</a> for future development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vecima</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-302</link>
		<dc:creator>vecima</dc:creator>
		<pubDate>Tue, 27 Apr 2010 15:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-302</guid>
		<description>Hey Michael, I&#039;m a big fan of Erkanaauth, and I have to say that I find 2.0 much more easy to wrap my head around.

I realize that alpha code shouldn&#039;t be used in production, but I have a client for whom which security was a secondary concern to just getting the website online (there is no personal data, no financial data or transactions - purely product / location information).  I made an admin controller so he could log in and maintain that information himself, and included a very rudimentary login system that wasn&#039;t very secure.  Security isn&#039;t my strong point, and with smart guys like you inventing the wheel (or maybe in the case of erkana the &quot;zen&quot; of the wheel), I&#039;m happy to use a library, so long as it&#039;s demonstrably secure.

I guess my question is this: would using erkana 2.0 on a production site be the lesser evil to my hackneyed attempt at security?  you seem to cover many more of the bases than my attempt did anyway.

Also, how long / how far away, until you post that you&#039;re happy with the code, and it&#039;s got the stamped seal of approval for use in production code?</description>
		<content:encoded><![CDATA[<p>Hey Michael, I&#8217;m a big fan of Erkanaauth, and I have to say that I find 2.0 much more easy to wrap my head around.</p>
<p>I realize that alpha code shouldn&#8217;t be used in production, but I have a client for whom which security was a secondary concern to just getting the website online (there is no personal data, no financial data or transactions &#8211; purely product / location information).  I made an admin controller so he could log in and maintain that information himself, and included a very rudimentary login system that wasn&#8217;t very secure.  Security isn&#8217;t my strong point, and with smart guys like you inventing the wheel (or maybe in the case of erkana the &#8220;zen&#8221; of the wheel), I&#8217;m happy to use a library, so long as it&#8217;s demonstrably secure.</p>
<p>I guess my question is this: would using erkana 2.0 on a production site be the lesser evil to my hackneyed attempt at security?  you seem to cover many more of the bases than my attempt did anyway.</p>
<p>Also, how long / how far away, until you post that you&#8217;re happy with the code, and it&#8217;s got the stamped seal of approval for use in production code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Wales</title>
		<link>http://www.michaelwales.com/2010/02/erkanaauth-version-2-0a/#comment-210</link>
		<dc:creator>Michael Wales</dc:creator>
		<pubDate>Thu, 01 Apr 2010 19:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelwales.com/?p=43#comment-210</guid>
		<description>@Patrick
Yep - super easy. The only thing Erkana requires is an &lt;code&gt;id&lt;/code&gt; field and either a &lt;code&gt;username&lt;/code&gt; or &lt;code&gt;email&lt;/code&gt; field.</description>
		<content:encoded><![CDATA[<p>@Patrick<br />
Yep &#8211; super easy. The only thing Erkana requires is an <code>id</code> field and either a <code>username</code> or <code>email</code> field.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
