Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • knowledgetree
  • lib
  • authentication
  • authenticationprovider.inc.php
  • Start the authentication framework - authentication providers provide ...
    b3b0cfb6
    authentication for users.  Users can be configured to use a particular
    authenticator, which is a specific instance given by the authentication
    provider configured for operation.  (So, basically, you can have two
    LDAP authenticators and the built-in authenticator, and different users
    can use different authenticators.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4158 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-24 16:25:41 +0000  
    Browse Code ยป
authenticationprovider.inc.php 418 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php

class KTAuthenticationProvider {
    var $sName;
    var $sNamespace;
    var $bHasSource = false;

    function KTAuthenticationProvider() {
    }

    function configure($aInfo) {
        $this->aInfo = $aInfo;
    }

    function &getAuthenticator() {
        return $this;
    }

    function &getSource() {
        if (empty($bHasSource)) {
            return null;
        }
        return $this;
    }
}