HTTP authentication

This commit is contained in:
Roland Gruber 2011-08-24 20:03:43 +00:00
parent 167588a3d0
commit cb90acce46
7 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,6 @@
November 2011 3.6.0 November 2011 3.6.0
- Zarafa 7 support - Zarafa 7 support
- support HTTP authentication for admin pages and self service
- new modules - new modules
-> authorizedServiceObject -> authorizedServiceObject

View File

@ -3505,6 +3505,16 @@ Have fun!
name + password, email + password or other attributes.</entry> name + password, email + password or other attributes.</entry>
</row> </row>
<row>
<entry>HTTP authentication</entry>
<entry>You can enable HTTP authentication for your users. This
way the web server is responsible to authenticate your users.
LAM will use the given user name + password for the LDAP login.
To setup HTTP authentication in Apache please see this <ulink
url="http://httpd.apache.org/docs/2.2/howto/auth.html">link</ulink>.</entry>
</row>
<row> <row>
<entry>Login attribute label</entry> <entry>Login attribute label</entry>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -3,7 +3,7 @@
$Id$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2006 Roland Gruber Copyright (C) 2006 - 2011 Roland Gruber
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -273,6 +273,9 @@ class selfServiceProfile {
/** LDAP search attribute */ /** LDAP search attribute */
public $searchAttribute; public $searchAttribute;
/** HTTP authentication */
public $httpAuthentication;
/** header for self service pages */ /** header for self service pages */
public $pageHeader; public $pageHeader;
@ -310,6 +313,7 @@ class selfServiceProfile {
$this->LDAPUser = ""; $this->LDAPUser = "";
$this->LDAPPassword = ""; $this->LDAPPassword = "";
$this->searchAttribute = "uid"; $this->searchAttribute = "uid";
$this->httpAuthentication = false;
$this->pageHeader = '<table border=0 width="100%" class="lamHeader ui-corner-all"><tr><td align="left" height="30"><a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a></td></tr></table><br>'; $this->pageHeader = '<table border=0 width="100%" class="lamHeader ui-corner-all"><tr><td align="left" height="30"><a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a></td></tr></table><br>';
$this->additionalCSS = ''; $this->additionalCSS = '';
$this->loginCaption = "Welcome to LAM self service. Please enter your user name and password."; $this->loginCaption = "Welcome to LAM self service. Please enter your user name and password.";