I need to implement an architecture someone else designed.
They have a drupal as user interacting component, and an external authentication module.
To authenticate, from drupal, username and password should be passed to the external authentication module.
Now, the password "lives" inside that external module! And is encrypted. We are required to use HTTP Basic Authentication (over HTTPS) to authenticate there.
How can I authenticate access of the drupal users to backends authenticating in the external module? Do I need to keep a local copy of the password after login? Is the architecture maybe inherently flawed?
Thanks for any suggestion.