Commit d977529ad9a0ca2a93c957da4d41001309f706b8

Authored by michael
1 parent 41456a01

moved to lib/authentication


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@133 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 0 additions and 51 deletions
lib/LDAPAuthenticator.inc deleted
1 -<?php  
2 -  
3 -require_once("./lib/class.AuthLdap.php");  
4 -require_once("$default->owl_fs_root/lib/Authenticator.inc");  
5 -  
6 -/**  
7 - * $Id$  
8 - *  
9 - * Perform authentication tasks against LDAP compliant directory server.  
10 - *  
11 - * @version $Revision$  
12 - * @author <a href="mailto:michael@jamwarehouse.com>Michael Joseph</a>, Jam Warehouse (Pty) Ltd, South Africa  
13 - * @package dmslib  
14 - */  
15 -class LDAPAuthenticator extends Authenticator {  
16 -  
17 - /**  
18 - * The LDAP server to connect to  
19 - */  
20 - var $ldapServer;  
21 - /**  
22 - * The base LDAP DN to perform authentication against  
23 - */  
24 - var $ldapDN;  
25 -  
26 - /**  
27 - * Creates a new instance of the LDAPAuthenticator  
28 - *  
29 - * @param $ldapServer  
30 - * the LDAP server to connect to for validation  
31 - * @param $ldapDN  
32 - * the dn branch to perform the authentication against  
33 - */  
34 - function LDAPAuthentication($ldapServer, $ldapDN) {  
35 - $this->ldapServer = $ldapServer;  
36 - $this->ldapDN = $ldapDN;  
37 - }  
38 -  
39 - /**  
40 - * Checks the user's password against the LDAP directory  
41 - *  
42 - * @param $userName  
43 - * the name of the user to check  
44 - * @param $password  
45 - * the password to check  
46 - * @return true if the password is correct, else false  
47 - */  
48 - function checkPassword($userName, $password) {  
49 - }  
50 -}  
51 -?>