Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/apex_tdfonline/php/3ros/simplesamlphp/modules/core/docs/ drwxr-xr-x | |
| Viewing file: Select action/file-type: `core:AttributeLimit`
=====================
Filter that limits the attributes that is sent to a user.
If the configuration is empty, the filter will use the attributes configured in the 'attributes' option in the SP metadata.
The configuration is a list of which attributes should be allowed.
Examples
--------
Limit to the `cn` and `mail` attribute:
'authproc' => array(
50 => array(
'class' => 'core:AttributeLimit',
'cn', 'mail'
),
),
Allow `eduPersonTargetedID` and `eduPersonAffiliation` by default, but allow metadata to override.
'authproc' => array(
50 => array(
'class' => 'core:AttributeLimit',
'default' => TRUE,
'eduPersonTargetedID', 'eduPersonAffiliation',
),
),
Don't allow any attributes by default, but allow metadata to override.
'authproc' => array(
50 => array(
'class' => 'core:AttributeLimit',
'default' => TRUE,
),
),
An attribute list in metadata:
'authproc' => array(
50 => 'core:AttributeLimit',
),
And in saml20-sp-remote.php:
$metadata['https://saml2sp.example.org'] = array(
'AssertionConsumerService' => 'https://saml2sp.example.org/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp',
'SingleLogoutService' => 'https://saml2sp.example.org/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp',
'attributes' => array('cn', 'mail'),
);
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.9917 ]-- |