|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for sspmod_core_Auth_Process_GenerateGroups:
Collaboration diagram for sspmod_core_Auth_Process_GenerateGroups:Public Member Functions | |
| __construct ($config, $reserved) | |
| Initialize this filter. More... | |
| process (&$request) | |
| Apply filter to add groups attribute. More... | |
Public Member Functions inherited from SimpleSAML_Auth_ProcessingFilter | |
| __construct (&$config, $reserved) | |
| Constructor for a processing filter. More... | |
| process (&$request) | |
| Process a request. More... | |
Static Private Member Functions | |
| static | getRealm ($attributes) |
| Determine which realm the user belongs to. More... | |
| static | escapeIllegalChars ($string) |
| Escape special characters in a string. More... | |
Private Attributes | |
| $generateGroupsFrom | |
| The attributes we should generate groups from. More... | |
Additional Inherited Members | |
Data Fields inherited from SimpleSAML_Auth_ProcessingFilter | |
| $priority = 50 | |
| Priority of this filter. More... | |
Definition at line 9 of file GenerateGroups.php.
| sspmod_core_Auth_Process_GenerateGroups::__construct | ( | $config, | |
| $reserved | |||
| ) |
Initialize this filter.
| array | $config | Configuration information about this filter. |
| mixed | $reserved | For future use. |
Definition at line 24 of file GenerateGroups.php.
References $config.
|
staticprivate |
Escape special characters in a string.
This function is similar to urlencode, but encodes many more characters. This function takes any characters not in [a-zA-Z0-9_=.] and encodes them with as %<hex version>. For example, it will encode '+' as '%2b' and '' as '%25'.
| string | $string | The string which should be escaped. |
Definition at line 134 of file GenerateGroups.php.
|
staticprivate |
Determine which realm the user belongs to.
This function will attempt to determine the realm a user belongs to based on the eduPersonPrincipalName attribute if it is present. If it isn't, or if it doesn't contain a realm, NULL will be returned.
| array | $attributes | The attributes of the user. |
Definition at line 101 of file GenerateGroups.php.
Referenced by process().
Here is the caller graph for this function:| sspmod_core_Auth_Process_GenerateGroups::process | ( | & | $request | ) |
Apply filter to add groups attribute.
| array | &$request | The current request |
Reimplemented from SimpleSAML_Auth_ProcessingFilter.
Definition at line 56 of file GenerateGroups.php.
References $attributes, $name, $request, SimpleSAML\Logger\debug(), and getRealm().
Here is the call graph for this function:
|
private |
The attributes we should generate groups from.
Definition at line 15 of file GenerateGroups.php.