Hello!

As announced two weeks ago I spent some time for writing a "pluggable"
authentication system for JFFNMS.  I am pleased to announce, that the
basic functionality is already working and that you will find a
preliminary patch at:

  http://www.magma.com.ni/sw/jffnms/jffnms-auth.patch.gz

A demo-setup is accessible at:

   https://www.magma.com.ni:8443/nms/

Start with user admin, pass admin.

The  docs and plugin sources are also on the net:

 http://www.magma.com.ni/sw/jffnms/auth

Please start reading with README.auth.

The patch should apply cleanly on a Debian Etch JFFNMS (0.8.3)
installation. After creating the default database tables, source the
auth/auth.sql script to add the missing tables and update 'clients'
and 'auth'. Note: auth/auth.sql is Postgres only (however trivial to
convert to mysql).

The resulting JFFNMS installation should work identically to an
unpatched version, i.e. one administrative user 'admin' with password
'admin' is created, and you can start adding users/customers without
hardly noting any difference to the original JFFNMS.

Please note, that I am only a casual php programmer.  The "plugin"
trick is done in api-classes.inc.php, in the class jffnms, function
backend_auth with an "eval" statement.  I am sure a better/more
elegant solution can be found to achieve the required functionality
and would be glad if somebody would work it out and propose or
implement before things settle.  Also, while writing this email I
realize, that I messed up the formatting of the authenticate function,
sorry, I will happily fix that one if needed :)

I will be happy for any feedback, and if you bug me enough I might
write on or the other most asked for authentication backend.

Best Regards,

     Jorge-León

P.S.: htdocs/admin/adm/adm_profiles.php had to be patched, to be able
to alter user profiles. I guess, however, that this is an already
known problem, and hope that there already exists a better fix then
mine.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to