Add Horde_Auth_Application callback feature.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 22 Jul 2009 17:41:45 +0000 (11:41 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 22 Jul 2009 17:41:45 +0000 (11:41 -0600)
commitd24993756c3cc44ec605adb79cca737537b2fe15
tree64b0b58024fed13ca5eafae3c254b72289c02550
parent25ad669914c9be547ddb967015c75bc0f8da8c8e
Add Horde_Auth_Application callback feature.

Using application auth, especially if using application auth as horde
auth, there was previously a severe limitation in that the application
only had a limited environment when doing the auth.  This makes sense
because, since no user was yet logged in, there was no way to init
things such as prefs.  Best (only?) solution is to understand that
application auth only has limited environment and should be used to do
the minimum necessary to verify authentication only.  Login tasks and
the like need a full environment, so add a authentication callback hook
that will re-call the application after a full environment can be setup.
framework/Auth/lib/Horde/Auth/Application.php