# Comatose Authentication

**URL:** <https://www.ruby-forum.com/t/comatose-authentication/132502>\
**Category:** Rails\
**Created:** [March 20, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/comatose-authentication/132502 "2008-03-20T20:10:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maged](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/51bf81/32.png) [@maged](https://www.ruby-forum.com/u/maged)\
**Post date:** [March 20, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/comatose-authentication/132502/1 "2008-03-20T20:10:58Z")

</div>

Hi guys,  
I install and ran the Comatose CMS fine. I have a problem now  
trying to make the site use authentication. I added the code

\*\*  
# Includes AuthenticationSystem in the ComatoseAdminController  
config.admin\_includes \<\< :authenticated\_system

```
# Calls :login_required as a before_filter
config.admin_authorization = :login_required

```

\*\*  
as they suggested but when I do I get an error

\*\*  
uninitialized constant AuthenticatedSystem  
\*\*

Did I miss anything or I need to add anything extra.

One more questions, if that was fixed what is the default username and  
password in order to login to the system.

Thanks in advance

Maged M.

---

<div class="post-metadata">

**Author:** ![maged](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/51bf81/32.png) [@maged](https://www.ruby-forum.com/u/maged)\
**Post date:** [March 20, 2008, 8:44pm UTC](https://www.ruby-forum.com/t/comatose-authentication/132502/2 "2008-03-20T20:44:50Z")

</div>

You need to install restful authentication to use the code as provided;  
it’s where authenticated\_system is from.  
[http://agilewebdevelopment.com/plugins/restful\_authentication](http://agilewebdevelopment.com/plugins/restful_authentication)

Here’s a good tutorial on getting it set up:  
[http://www.railsforum.com/viewtopic.php?id=14216](http://www.railsforum.com/viewtopic.php?id=14216)

Matt

---

<div class="post-metadata">

**Author:** ![maged](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/51bf81/32.png) [@maged](https://www.ruby-forum.com/u/maged)\
**Post date:** [March 20, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/comatose-authentication/132502/3 "2008-03-20T21:02:37Z")

</div>

Matthew K. Williams wrote:

> You need to install restful authentication to use the code as provided;  
> it’s where authenticated\_system is from.  
> [http://agilewebdevelopment.com/plugins/restful\_authentication](http://agilewebdevelopment.com/plugins/restful_authentication)
> 
> Here’s a good tutorial on getting it set up:  
> [http://www.railsforum.com/viewtopic.php?id=14216](http://www.railsforum.com/viewtopic.php?id=14216)
> 
> Matt

I will try it and let you know.

Thanks
