Module for simpleSAMLphp which shows Proxy IdP/SP statistics
Once you have installed SimpleSAMLphp, installing this module is very simple. First of all, you will need to download Composer if you haven't already. After installing Composer, just execute the following command in the root of your SimpleSAMLphp installation:
php composer.phar require cesnet/simplesamlphp-module-proxystatistics
- Install MySQL Database and create database for statistics and user.
- For this database run script to create tables. Script is available in config-templates/tables.sql.
- Copy config-templates/module_statisticsproxy.php to your folder vith config and filled it.
- Configure IdPAttribute filter from Perun module to get sourceIdPName from IdP metadata:
XX => array(
'class' => 'perun:IdPAttribute',
'attrMap' => array(
'name:en' => 'sourceIdPName',
),
),
#where XX is priority(for example 30; Must not be used for other modules)
5 . Configure proxystatistic filter
XX => array(
'class' => 'proxystatistics:statistics',
'config' => array (),
),
#where XX is priority(for example 50; Must not be used for other modules)