I would like to use the alternate loginname for authentication when using offline blogging tools. Any suggestions?

Background:
Users are authenticated using X.509 certificates, their distinguished name becomes their username. I would like to have an alternate login just to authenticate against xmlrpc.php. Users have their certificate on a smartcard, which not every (portable) device can handle. These devices are normally used for blogtools.

Comments

hunmonk’s picture

well, alt_login uses the standard drupal hooks to do it's job. if blogapi implements things in a standard way (using hook_user() and drupal_execute_form()), then things might just work.

beyond that, i don't have enough experience with blogapi to help you.

bkraegelin’s picture

Status: Active » Closed (fixed)

Thanks for your help.

Blogapi validates username/password using a call to user_authenticate().

This is a direct call into the Core. There might be a major rewrite to get this to work. So I stay with ugly logins for now.