#151 Adding support for webserver basic auth - patch attached

Next_Release
closed
Nick Korbel
5
2014-04-21
2007-06-18
Grugnog
No

Hi,

The attached patch adds support for webserver basic auth (e.g. the pop-up auth box that you get when Apache is configured to protect a directory on a webserver).

This is very important for larger institutions wanting to implement phpScheduleIt, because it opens up the way to authenticate against many many types of authentication systems. Large universities with their own custom authentication system also generally provide an Apache auth module.

I am not totally familiar with the phpScheduleIt architecture and code styles, but I have done my best to intercept the authentication process at an appropriate point, and have ensured that if the user is not authenticated at the webserver level fallback to regular phpScheduleIt or LDAP authentication is available.

Please let me know if you have any questions!

Discussion

  • Grugnog
    Grugnog
    2007-06-19

    Logged In: YES
    user_id=777024
    Originator: YES

    This version avoids a problem where it was possible for logged in users to get 'stuck' on the index.php login screen, and also removes the delay before automatically forwarding logged in users to their control panel.
    File Added: phpscheduleit-basicauth_2.patch

     
  • Grugnog
    Grugnog
    2007-06-21

    Logged In: YES
    user_id=777024
    Originator: YES

    Last patch was missing the global $conf in Auth init function.
    File Added: phpscheduleit-basicauth_3.patch

     
  • Nick Korbel
    Nick Korbel
    2014-04-21

    • Status: open --> closed