At our company, we use a propriety web-application for administrative stuff.
All our colleagues have username/password/roles in that application.
I'm in charge of setting up an intranet site, and want to use Drupal to provide blogs, forums etc.. to all colleagues.
However, I want to prevent everyone having to remember 2 sets of username/password, and provide a single sign-on for both applications.
Now for my question: how can I override Drupals default authentication (against its own database) and override it with a call to the other application ?
I suppose I would have to create a module that overrides the default authentication and lets Drupal know (based on the response of the other application) if the user performed a valid login.
Additionally... the other application would also provide me the roles of an authenticated user. How would I map those roles to roles defined in Drupal ?
What this boils down to is that users/roles/authentication are managed in the other application, and that my Drupal setup should use those.
Where do I start ?
Kind regards,
Geert
Read »








