Final parts of the Horde_Auth rewrite.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 8 Jun 2010 04:53:02 +0000 (22:53 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 9 Jun 2010 23:17:18 +0000 (17:17 -0600)
commit6ec7d614c26d88f25c2d2cf49e2d0263a1322106
tree5620ef94ba9e6454ae2b8b174ee9051280d79b9f
parent7a85d89d830b74cb282fa7c8d59bf63d715a5ad9
Final parts of the Horde_Auth rewrite.

All session related code has now been moved to horde/Core.
Horde_Auth no longer depends on horde/Core.
Authentication for each application is handled entirely by the
Horde_Core_Auth_Application driver.

Removed registry functions:
getProvider()
requireAuth()

isAuthenticated() now has a new option - 'notransparent'

Removed the recently added clearAuth() call to isAuthenticated() -
isAuthenticated() is meant solely for determining whether the given app
is authenticated.  Code to invalidate a session (for example, if a
checkExistingAuth() call fails) MUST go elsewhere.

Moved last login display to a Horde LoginTask.
30 files changed:
folks/edit/password.php
folks/lib/Application.php
framework/Auth/lib/Horde/Auth.php
framework/Auth/lib/Horde/Auth/Auto.php
framework/Auth/lib/Horde/Auth/Base.php
framework/Auth/lib/Horde/Auth/Composite.php
framework/Auth/lib/Horde/Auth/Cyrsql.php
framework/Auth/lib/Horde/Auth/Cyrus.php
framework/Auth/lib/Horde/Auth/Http.php
framework/Auth/lib/Horde/Auth/Ipbasic.php
framework/Auth/lib/Horde/Auth/Kolab.php
framework/Auth/lib/Horde/Auth/Ldap.php
framework/Auth/lib/Horde/Auth/Msad.php
framework/Auth/lib/Horde/Auth/Shibboleth.php
framework/Auth/lib/Horde/Auth/Sql.php
framework/Auth/package.xml
framework/Auth/test/Horde/Auth/credentials.php
framework/Auth/test/Horde/Auth/passwd.phpt
framework/Core/lib/Horde/Core/Auth/Application.php
framework/Core/lib/Horde/Core/Auth/Ldap.php [new file with mode: 0644]
framework/Core/lib/Horde/Core/Auth/Msad.php [new file with mode: 0644]
framework/Core/lib/Horde/Core/Auth/Shibboleth.php [new file with mode: 0644]
framework/Core/lib/Horde/Core/Autoloader/Callback/Auth.php [deleted file]
framework/Core/lib/Horde/Core/Factory/Auth.php
framework/Core/lib/Horde/Registry.php
framework/Core/package.xml
gollem/lib/Auth.php
horde/lib/LoginTasks/Task/LastLogin.php [new file with mode: 0644]
horde/login.php
passwd/lib/Passwd.php