1
maxxy
custom login system with XOOPS ?
  • 2018/3/18 12:41

  • maxxy

  • Quite a regular

  • Posts: 286

  • Since: 2007/6/11


Hi

im helping a friend to setup an intranet site in his office

currently they are using their own custom php/mysql system develop in house using a single sign on system whereby they have many custom php applications all use the same login credentials

i would like to use xoops but they want to use they own login system

is it possible to use their login system and use xoops at the same time

something like login using their system then store the id n password in xoops db ...or is there any other proper way

how do i do this ?

2
geekwright
Re: custom login system with XOOPS ?

Look in the htdocs/class/auth directory for examples of alternate authentication mechanisms. There are existing implementations for Active Directory and LDAP.

Essentially, these alternates provision a XOOPS account to correspond to the existing user in the other directory service. The authorization (login) is performed using that other service, while the permissions in XOOPS are granted to the associated provisioned account for the user.

You can extend the existing mechanism by adding a new class extending the XoopsAuth class for your needs, and adding a configoption entry for it, following the examples set by the existing classes.

Login

Who's Online

195 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits