Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 18 07:11:06 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8