ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($config, $reserved) | |
process (&$request) | |
![]() | |
__construct (&$config, $reserved) | |
Constructor for a processing filter. More... | |
process (&$request) | |
Process a request. More... | |
Private Member Functions | |
filterAttributeValues (array $values, array $allowedConfigValues) | |
Perform the filtering of attributes. More... | |
Static Private Member Functions | |
static | getSPIdPAllowed (array &$request) |
Get list of allowed from the SP/IdP config. More... | |
Private Attributes | |
$allowedAttributes = array() | |
List of attributes which this filter will allow through. More... | |
$isDefault = false | |
Additional Inherited Members | |
![]() | |
$priority = 50 | |
Priority of this filter. More... | |
Definition at line 9 of file AttributeLimit.php.
sspmod_core_Auth_Process_AttributeLimit::__construct | ( | $config, | |
$reserved | |||
) |
Initialize this filter. @param array $config Configuration information about this filter. @param mixed $reserved For future use
SimpleSAML_Error_Exception | If invalid configuration is found. |
Definition at line 32 of file AttributeLimit.php.
|
private |
Perform the filtering of attributes.
array | $values | The current values for a given attribute |
array | $allowedConfigValues | The allowed values, and possibly configuration options. |
Definition at line 133 of file AttributeLimit.php.
References $index, $values, and SimpleSAML\Logger\warning().
Referenced by process().
|
staticprivate |
Get list of allowed from the SP/IdP config.
array | &$request | The current request. |
Definition at line 65 of file AttributeLimit.php.
References $request.
Referenced by process().
sspmod_core_Auth_Process_AttributeLimit::process | ( | & | $request | ) |
Apply filter to remove attributes. Removes all attributes which aren't one of the allowed attributes. @param array &$request The current request
SimpleSAML_Error_Exception | If invalid configuration is found. |
Reimplemented from SimpleSAML_Auth_ProcessingFilter.
Definition at line 87 of file AttributeLimit.php.
References $allowedAttributes, $attributes, $name, $request, $values, filterAttributeValues(), and getSPIdPAllowed().
|
private |
List of attributes which this filter will allow through.
Definition at line 14 of file AttributeLimit.php.
Referenced by process().
|
private |
Definition at line 22 of file AttributeLimit.php.