ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
process (&$request) | |
This is run when the filter is processed by SimpleSAML. More... | |
![]() | |
__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 ($attributes) | |
This section of code was broken out because the child filter AuthorizeByGroup can use this method as well. More... | |
getGroupsOpenLdap ($attributes) | |
OpenLDAP optimized search using the required attribute values from the user to get their group membership, recursively. More... | |
getGroupsActiveDirectory ($attributes) | |
Active Directory optimized search using the required attribute values from the user to get their group membership, recursively. 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... | |
![]() | |
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 | |
![]() | |
$priority = 50 | |
Priority of this filter. More... | |
![]() | |
$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, $map, SimpleSAML\Logger\debug(), getGroupsActiveDirectory(), getGroupsOpenLdap(), search(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
Referenced by process().
|
protected |
Active Directory optimized search using the required attribute values from the user to get their group membership, recursively.
SimpleSAML_Error_Exception |
array | $attributes |
Definition at line 179 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $attributes, $map, SimpleSAML\Logger\debug(), searchActiveDirectory(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
Referenced by getGroups().
|
protected |
OpenLDAP optimized search using the required attribute values from the user to get their group membership, recursively.
SimpleSAML_Error_Exception |
array | $attributes |
Definition at line 137 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $attributes, $map, SimpleSAML\Logger\debug(), and sspmod_ldap_Auth_Process_BaseFilter\getLdap().
Referenced by getGroups().
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, $map, $request, SimpleSAML\Logger\debug(), getGroups(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
|
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 217 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $attributes, $map, SimpleSAML\Logger\debug(), sspmod_ldap_Auth_Process_BaseFilter\getLdap(), and search().
Referenced by getGroups(), and search().
|
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 296 of file AttributeAddUsersGroups.php.
References sspmod_ldap_Auth_Process_BaseFilter\$attribute_map, $map, SimpleSAML\Logger\debug(), sspmod_ldap_Auth_Process_BaseFilter\getLdap(), SimpleSAML\Logger\notice(), and sspmod_ldap_Auth_Process_BaseFilter\var_export().
Referenced by getGroupsActiveDirectory().