Can anyone help me to how to authenticate and restrict pages using OpenID.

Currently I'm using OpenIDEnabled class.

I used following tutorial. But I'm getting errors in restricting pages.
http://devzone.zend.com/article/3581

Please help me!

Thanks in advanced!