ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Retrieve a scope from a source attribute and add it as a virtual target attribute. More...
Public Member Functions | |
__construct ($config, $reserved) | |
Initialize this filter, parse configuration. More... | |
process (&$request) | |
Apply this filter. More... | |
Public Member Functions inherited from SimpleSAML_Auth_ProcessingFilter | |
__construct (&$config, $reserved) | |
Constructor for a processing filter. More... | |
process (&$request) | |
Process a request. More... | |
Private Attributes | |
$sourceAttribute | |
$targetAttribute | |
Additional Inherited Members | |
Data Fields inherited from SimpleSAML_Auth_ProcessingFilter | |
$priority = 50 | |
Priority of this filter. More... | |
Retrieve a scope from a source attribute and add it as a virtual target attribute.
For instance, add the following to $simplesamldir/config.php, entry authproc.sp
51 => array( 'class' => 'core:ScopeFromAttribute', 'sourceAttribute' => 'eduPersonPrincipalName', 'targetAttribute' => 'scope', ),
to add a virtual 'scope' attribute from the eduPersonPrincipalName attribute.
Definition at line 19 of file ScopeFromAttribute.php.
sspmod_core_Auth_Process_ScopeFromAttribute::__construct | ( | $config, | |
$reserved | |||
) |
Initialize this filter, parse configuration.
array | $config | Configuration information about this filter. |
mixed | $reserved | For future use. |
Definition at line 39 of file ScopeFromAttribute.php.
References $config, and SimpleSAML_Configuration\loadFromArray().
sspmod_core_Auth_Process_ScopeFromAttribute::process | ( | & | $request | ) |
Apply this filter.
array | &$request | The current request |
Definition at line 54 of file ScopeFromAttribute.php.
References $attributes, $request, $sourceAttribute, $targetAttribute, SimpleSAML\Logger\debug(), and SimpleSAML\Logger\warning().
|
private |
Definition at line 25 of file ScopeFromAttribute.php.
Referenced by process().
|
private |
Definition at line 31 of file ScopeFromAttribute.php.
Referenced by process().