|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for sspmod_ldap_Auth_Process_AttributeAddUsersGroups:
Collaboration diagram for sspmod_ldap_Auth_Process_AttributeAddUsersGroups:Public Member Functions | |
| process (&$request) | |
| This is run when the filter is processed by SimpleSAML. More... | |
Public Member Functions inherited from sspmod_ldap_Auth_Process_BaseFilter | |
| __construct (&$config, $reserved) | |
| Checks the authsource, if defined, for configuration values to the LDAP server. More... | |
| __construct (&$config, $reserved) | |
| Constructor for a processing filter. More... | |
| process (&$request) | |
| Process a request. More... | |
Protected Member Functions | |
| getGroups (array $attributes) | |
| This section of code was broken out because the child filter AuthorizeByGroup can use this method as well. More... | |
| search ($memberof) | |
| Looks for groups from the list of DN's passed. More... | |
| searchActiveDirectory ($dn) | |
| Searches LDAP using a ActiveDirectory specific filter, looking for group membership for the users DN. More... | |
Protected Member Functions inherited from sspmod_ldap_Auth_Process_BaseFilter | |
| getLdap () | |
| Getter for the LDAP connection object. More... | |
| var_export ($value) | |
| Local utility function to get details about a variable, basically converting it to a string to be used in a log message. More... | |
Additional Inherited Members | |
Data Fields inherited from SimpleSAML_Auth_ProcessingFilter | |
| $priority = 50 | |
| Priority of this filter. More... | |
Protected Attributes inherited from sspmod_ldap_Auth_Process_BaseFilter | |
| $attribute_map | |
| $base_dn | |
| $config | |
| $product | |
| $title = 'ldap:BaseFilter : ' | |
| $type_map | |
Definition at line 11 of file AttributeAddUsersGroups.php.
|
protected |
This section of code was broken out because the child filter AuthorizeByGroup can use this method as well.
Based on the LDAP product, it will do an optimized search using the required attribute values from the user to get their group membership, recursively.
| SimpleSAML_Error_Exception |
| array | $attributes |
Definition at line 76 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $attributes, SimpleSAML\Logger\debug(), sspmod_ldap_Auth_Process_BaseFilter\getLdap(), search(), searchActiveDirectory(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
Referenced by process().
Here is the call graph for this function:
Here is the caller graph for this function:| sspmod_ldap_Auth_Process_AttributeAddUsersGroups::process | ( | & | $request | ) |
This is run when the filter is processed by SimpleSAML.
It will attempt to find the current users groups using the best method possible for the LDAP product. The groups are then added to the request attributes.
| SimpleSAML_Error_Exception |
| $request |
Reimplemented from SimpleSAML_Auth_ProcessingFilter.
Definition at line 22 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $attributes, SimpleSAML\Logger\debug(), getGroups(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
Here is the call graph for this function:
|
protected |
Looks for groups from the list of DN's passed.
Also recursively searches groups for further membership. Avoids loops by only searching a DN once. Returns the list of groups found.
| array | $memberof |
Definition at line 184 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $attributes, SimpleSAML\Logger\debug(), sspmod_ldap_Auth_Process_BaseFilter\getLdap(), and search().
Referenced by getGroups(), and search().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Searches LDAP using a ActiveDirectory specific filter, looking for group membership for the users DN.
Returns the list of group DNs retrieved.
| string | $dn |
Definition at line 249 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, SimpleSAML\Logger\debug(), sspmod_ldap_Auth_Process_BaseFilter\getLdap(), SimpleSAML\Logger\notice(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
Referenced by getGroups().
Here is the call graph for this function:
Here is the caller graph for this function: