ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($config, $reserved) | |
Initialize this filter. More... | |
process (&$request) | |
Apply filter to add groups attribute. More... | |
![]() | |
__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 | |
![]() | |
$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().
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, SimpleSAML\Logger\debug(), and getRealm().
|
private |
The attributes we should generate groups from.
Definition at line 15 of file GenerateGroups.php.