Property | Type | Description | |
---|---|---|---|
$attribute_map | array | List of attribute "alias's" linked to the real attribute name. Used for abstraction / configuration of the LDAP attribute names, which may change between dir service. | |
$base_dn | string | array | The base DN of the LDAP connection. Used when searching the LDAP server. | |
$config | SimpleSAML_Configuration | The construct method will change the filter config into a SimpleSAML_Configuration object and store it here for later use, if needed. | |
$product | string | Many times a LDAP product specific query can be used to speed up or reduce the filter process. This helps the child classes determine the product used to optimize those queries. | |
$title | string | This should be prepended to the beginning of the message. | |
$type_map | array | List of LDAP object types, used to determine the type of object that a DN references. |
Method | Description | |
---|---|---|
__construct ( array &$config, $reserved ) | Checks the authsource, if defined, for configuration values to the LDAP server. Then sets up the LDAP connection for the instance/object and stores everything in class members. |
Method | Description | |
---|---|---|
getLdap ( ) : sspmod_ldap_LdapConnection | Getter for the LDAP connection object. Created this getter rather than setting in the constructor to avoid unnecessarily connecting to LDAP when it might not be needed. | |
var_export ( mixed $value ) : string | Local utility function to get details about a variable, basically converting it to a string to be used in a log message. The var_export() function returns several lines so this will remove the new lines and trim each line. |
public __construct ( array &$config, $reserved ) | ||
$config | array | |
$reserved |
protected getLdap ( ) : sspmod_ldap_LdapConnection | ||
return | sspmod_ldap_LdapConnection |
protected var_export ( mixed $value ) : string | ||
$value | mixed | |
return | string |
protected array $attribute_map | ||
return | array |
protected SimpleSAML_Configuration $config | ||
return | SimpleSAML_Configuration |
protected string $product | ||
return | string |
protected string $title | ||
return | string |
protected array $type_map | ||
return | array |