Class humhub\modules\ldap\models\LdapSettings

Inheritancehumhub\modules\ldap\models\LdapSettings » yii\base\Model
Available since version0.5

LdapSettings

See also humhub\modules\ldap\authclient\LdapAuth for more information.

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
PASSWORD_FIELD_DUMMY '---HIDDEN---' humhub\modules\ldap\models\LdapSettings

Property Details

$baseDn public property
public string $baseDn null
$emailAttribute public property
public string $emailAttribute null
$enabled public property
public boolean $enabled null
$encryption public property
public string $encryption null
$encryptionTypes public property
public array $encryptionTypes = ['' => 'None''tls' => 'TLS (aka SSLV2)''ssl' => 'SSL']
$hostname public property
public string $hostname null
$idAttribute public property
public string $idAttribute null
$loginFilter public property
public string $loginFilter null
$password public property
public string $password null
$passwordField public property
public string $passwordField null
$port public property
public integer $port null
$refreshUsers public property
public boolean $refreshUsers null
$userFilter public property
public string $userFilter null
$username public property
public string $username null
$usernameAttribute public property
public string $usernameAttribute null

Method Details

attributeHints() public method

public void attributeHints ( )
attributeLabels() public method

public void attributeLabels ( )
getLdapAuthDefinition() public method

Returns a configured LdapAuth class definition

public array getLdapAuthDefinition ( )
return array

The LDAP Auth definition

init() public method

public void init ( )
isEnabled() public static method

Checks whether LDAP is enabled or not.

public static boolean isEnabled ( )
loadSaved() public method

Loads the saved settings

public boolean|void loadSaved ( )
rules() public method

public void rules ( )
save() public method

Saves the form

public boolean save ( )