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 validate attributes. More... | |
Public Member Functions inherited from SimpleSAML_Auth_ProcessingFilter | |
__construct (&$config, $reserved) | |
Constructor for a processing filter. More... | |
process (&$request) | |
Process a request. More... | |
Protected Member Functions | |
unauthorized (&$request) | |
When the process logic determines that the user is not authorized for this service, then forward the user to an 403 unauthorized page. More... | |
Protected Attributes | |
$deny = FALSE | |
$regex = TRUE | |
$valid_attribute_values = array() | |
Array of valid users. More... | |
Additional Inherited Members | |
Data Fields inherited from SimpleSAML_Auth_ProcessingFilter | |
$priority = 50 | |
Priority of this filter. More... | |
Definition at line 10 of file Authorize.php.
sspmod_authorize_Auth_Process_Authorize::__construct | ( | $config, | |
$reserved | |||
) |
Initialize this filter.
Validate configuration parameters.
array | $config | Configuration information about this filter. |
mixed | $reserved | For future use. |
Definition at line 41 of file Authorize.php.
References $config, and array.
sspmod_authorize_Auth_Process_Authorize::process | ( | & | $request | ) |
Apply filter to validate attributes.
array | &$request | The current request |
Definition at line 80 of file Authorize.php.
References $attributes, $deny, $name, array, and unauthorized().
|
protected |
When the process logic determines that the user is not authorized for this service, then forward the user to an 403 unauthorized page.
Separated this code into its own method so that child classes can override it and change the action. Forward thinking in case a "chained" ACL is needed, more complex permission logic.
array | $request |
Definition at line 125 of file Authorize.php.
References $id, $url, array, SimpleSAML\Module\getModuleURL(), SimpleSAML\Utils\HTTP\redirectTrustedURL(), and SimpleSAML_Auth_State\saveState().
Referenced by process().
|
protected |
Definition at line 17 of file Authorize.php.
Referenced by process().
|
protected |
Definition at line 24 of file Authorize.php.
|
protected |
Array of valid users.
Each element is a regular expression. You should user \ to escape special chars, like '.' etc.
Definition at line 31 of file Authorize.php.