# RForum acts\_as\_authenticated integration

**URL:** <https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645>\
**Category:** Ruby-Forum\
**Created:** [June 30, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645 "2006-06-30T14:22:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobFunk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f1d935/32.png) [@BobFunk](https://www.ruby-forum.com/u/BobFunk)\
**Post date:** [June 30, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645/1 "2006-06-30T14:22:50Z")

</div>

Hi,

I just made some modifications to the RForum User model that I think  
others might find interesting.

I’ve modified it to use the same authorization scheme as  
acts\_as\_authenticated, so integrating the forum with another stand alone  
app - or just sharing database and user details with another app - is  
made easy.

The modification is made to RForum 0.2 and can be downloaded as a zip  
from [http://clanwhiskey.net/bobfunk/rforum\_modification.zip](http://clanwhiskey.net/bobfunk/rforum_modification.zip)

The zip consists of the new user model, a new migration to add a salt  
column to the user table and some new user fixtures for testing.

Just replace the exisisting files in a fresh rforum install with the  
ones in the zip to make the modification.

Now it should be very easy to integrate RForum with any app using  
acts\_as\_authenticated and the authentication method should also be a bit  
more secure (SHA1 instead of MD5 and a salted).

Enjoy!

Mathias

---

<div class="post-metadata">

**Author:** ![BobFunk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f1d935/32.png) [@BobFunk](https://www.ruby-forum.com/u/BobFunk)\
**Post date:** [July 5, 2006, 6:07pm UTC](https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645/2 "2006-07-05T18:07:21Z")

</div>

BobFunk wrote:

> [http://clanwhiskey.net/bobfunk/rforum\_modification.zip](http://clanwhiskey.net/bobfunk/rforum_modification.zip)

Nobody’s replied to this yet, but FWIW I reckon this is a very useful  
patch and is one I’m running successfully on my own site now. Thanks!

---

<div class="post-metadata">

**Author:** ![BobFunk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f1d935/32.png) [@BobFunk](https://www.ruby-forum.com/u/BobFunk)\
**Post date:** [August 29, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645/3 "2006-08-29T22:17:51Z")

</div>

Andrew H. wrote:

> BobFunk wrote:
> 
> > [http://clanwhiskey.net/bobfunk/rforum\_modification.zip](http://clanwhiskey.net/bobfunk/rforum_modification.zip)
> 
> Nobody’s replied to this yet, but FWIW I reckon this is a very useful  
> patch and is one I’m running successfully on my own site now. Thanks!

Andreas, any hope of this being applied?

- Rob
