Menu

#99 Integration with CMS

open
None
5
2006-05-09
2006-05-02
No

Hi,

It's been a while since I've been involved in Brim,
but nevertheless, even though I still run Booby and
am happy with it, I think it's about time I perform
the upgrade.

I run a CMS (Joomla) which I'd like to integrate Brim
with, so that I can have single sign-on ie. login to
Joomla and auto-login to Brim by a menu click.

Is this possible?

Joomla uses the "jos_users" table in its database to
hold the user accounts. Since Brim also uses mysql to
hold the user information, I'm hoping I can have /
make an authentication module for Brim which will
read the "jos_users" table of joomla and authenticate
the user.

Thanks and I appreciate any comments.

Michael.

Discussion

  • Barry Nauta

    Barry Nauta - 2006-05-04

    Logged In: YES
    user_id=96199

    Well... everything is embedded in the following files:
    - login.php (graphical presentation of the login screen)
    - loginAction.php (takes care of reading user credentials
    from the db and setting the session parameters and cookie)
    Analogue, there are the signup.php vs signupAction.php and
    the lostPassword.php vs the lostPasswordAction.php
    - logout.php (destroys session parameters and cookie)

    And the one the is being check for every page access within
    the framework:
    framework/checkLogin.php
    (The controllers include this file, so each page access that
    is handled by a controller is automatically validated)

    HTH
    Barry

     
  • Barry Nauta

    Barry Nauta - 2006-05-08
    • assigned_to: nobody --> barrel
    • status: open --> pending
     
  • Barry Nauta

    Barry Nauta - 2006-05-08

    Logged In: YES
    user_id=96199

    Hi,

    Just wanted to know if my answer was of any use and if I can
    help with anything...?

    Barry

     
  • Michael Mansour

    Michael Mansour - 2006-05-09
    • status: pending --> open
     
  • Michael Mansour

    Michael Mansour - 2006-05-09

    Logged In: YES
    user_id=685877

    Hi Barry,

    Yeah it is thanks. I'll definately work on it at sometime in
    the future, just at the moment finalising some integration
    with other aspects.

    I'd expect also if I was to succeed in this integration I'll
    GPL it as a bridge or connector in the CMS for others to use.

    Just running a little short on time at the moment, so I'll
    stay with Booby for just that much longer :P

    Thanks.

    Michael.

     

Log in to post a comment.

MongoDB Logo MongoDB