ZurmoAuthenticationHelper Class Reference

Public Member Functions

 init ()
 loadLdapSettings ()
 setLdapSettings ()
 makeIdentity ($username, $password)

Data Fields

const SERVER_TYPE_OPEN_LDAP = 'OpenLDAP'
const SERVER_TYPE_ACTIVE_DIRECTORY = 'ActiveDirectory'
 $ldapServerType
 $ldapHost
 $ldapPort = 389
 $ldapBindRegisteredDomain
 $ldapBindPassword
 $ldapBaseDomain
 $ldapEnabled

Protected Attributes

 $settingsToLoad

Detailed Description

Component for working with authentication configuration

Definition at line 40 of file ZurmoAuthenticationHelper.php.


Member Function Documentation

init (  ) 

Called once per page load, will load up Ldap settings from the database if available. (non-PHPdoc)

See also:
CApplicationComponent::init()

Definition at line 114 of file ZurmoAuthenticationHelper.php.

setLdapSettings (  ) 

Set Ldap settings into the database.

Definition at line 133 of file ZurmoAuthenticationHelper.php.

makeIdentity ( username,
password 
)

for Login authentication

Definition at line 144 of file ZurmoAuthenticationHelper.php.


Field Documentation

const SERVER_TYPE_OPEN_LDAP = 'OpenLDAP'

Defines a OpenLDAP authentication server type.

Definition at line 45 of file ZurmoAuthenticationHelper.php.

const SERVER_TYPE_ACTIVE_DIRECTORY = 'ActiveDirectory'

Defines a Active Directory authentication server type.

Definition at line 50 of file ZurmoAuthenticationHelper.php.

$settingsToLoad [protected]
Initial value:
 array(
            'ldapServerType',
            'ldapHost',
            'ldapPort',
            'ldapBindRegisteredDomain',
            'ldapBindPassword',
            'ldapBaseDomain',
            'ldapEnabled'
        )

Definition at line 99 of file ZurmoAuthenticationHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:31 2017