Skip to content
Snippets Groups Projects
Unverified Commit 512cf825 authored by Pavel Vyskočil's avatar Pavel Vyskočil
Browse files

Updated configuration guide

parent 10c33442
No related branches found
No related tags found
No related merge requests found
...@@ -16,12 +16,21 @@ Once you have installed SimpleSAMLphp, installing this module is very simple. Fi ...@@ -16,12 +16,21 @@ Once you have installed SimpleSAMLphp, installing this module is very simple. Fi
1. Install MySQL Database and create database for statistics and user. 1. Install MySQL Database and create database for statistics and user.
2. For this database run script to create tables. Script is available in config-templates/tables.sql. 2. For this database run script to create tables. Script is available in config-templates/tables.sql.
3. Copy config-templates/module_statisticsproxy.php to your folder vith config and filled it. 3. Copy config-templates/module_statisticsproxy.php to your folder vith config and filled it.
4. Add following to authproc in file saml20-idp-hosted.php: 4. Configure IdPAttribute filter from Perun module to get sourceIdPName from IdP metadata:
```
XX => array(
XX => array( 'class' => 'perun:IdPAttribute',
'class' => 'proxystatistics:statistics', 'attrMap' => array(
'config' => array (), 'name:en' => 'sourceIdPName',
), ),
),
#where XX is number(for example 50; Must not be used for other modules) #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)
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment