[Tickets #4456] NEW: Allow preauthenticate hook to modify parameters

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Sep 22 20:53:34 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=4456
-----------------------------------------------------------------------
 Ticket             | 4456
 Created By         | Ben Klang <ben at alkaloid.net>
 Summary            | Allow preauthenticate hook to modify parameters
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Owners             | 
+New Attachment     | horde-hook-preauth-pbr.patch
-----------------------------------------------------------------------


Ben Klang <ben at alkaloid.net> (2006-09-22 20:53) wrote:

Recently I found a need to rewrite the username sent to Horde on
authentication.  While the tobackend and frombackend hooks looked
appealing at first, they are not called in the appropriate locations to be
useable for this goal.

After discussing alternatives with Chuck, I settled on this approach: 
Pass the values by reference to the preauthenticate hook.  This will allow
rewriting of the parameters if required.  The defualt case does not do that
so this should not impact BC.  It does however let me rewrite the username
to include the domain name of the HTTP Vhost when the user authenticates.




More information about the bugs mailing list