[dev] transparent authentication by $_SERVER['PHP_AUTH_USER']
Ralph Brugger
gname at public.linkpool.de
Fri Oct 28 04:54:54 PDT 2005
Hi,
a few words to my setup:
- Apache 2.0.54
- PPH 4.3.10 *as Module*
- Horde is protected by an Apache AuthUserFile
- Horde authentication is set to "SQL authentication"
The last days I've read through the horde/lib/Horde/Auth PHP Files to
learn a bit more about the different authentication types.
I've changed the authentication type from "IMP" to "SQL" so I can use
the User, Group and right settings.
The Auth_http class provides an "function transparent"
/**
* Automatic authentication: Find out if the client has HTTP
* authentication info present.
*/
Question:
Is there a way to mix transparent login within the Auth_sql Class?
I've tried to change the Auth_sql / sql.php:
1. Change:
var $capabilities = array(..., 'transparent' => true);
2. Change: paste the "function transparent" at the end of the Auth_sql
Class.
The transparent Login using the PHO variables
$_SERVER['PHP_AUTH_USER']
$_SERVER['PHP_AUTH_PW']
is working for the Horde login.
But there are 2 problems left
1) I have to press F5 after the login to see the complete Horde Menu
2) The imp login does not use the transparent login. I must reenter
Username and Password to get signed ob against IMP.
Any help would be nice :)
Regards,
Ralph
More information about the dev
mailing list