Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 512cf82

Browse files
committed
Updated configuration guide
1 parent 10c3344 commit 512cf82

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

README.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,21 @@ Once you have installed SimpleSAMLphp, installing this module is very simple. Fi
1616
1. Install MySQL Database and create database for statistics and user.
1717
2. For this database run script to create tables. Script is available in config-templates/tables.sql.
1818
3. Copy config-templates/module_statisticsproxy.php to your folder vith config and filled it.
19-
4. Add following to authproc in file saml20-idp-hosted.php:
20-
21-
22-
XX => array(
23-
'class' => 'proxystatistics:statistics',
24-
'config' => array (),
25-
),
26-
27-
#where XX is number(for example 50; Must not be used for other modules)
19+
4. Configure IdPAttribute filter from Perun module to get sourceIdPName from IdP metadata:
20+
```
21+
XX => array(
22+
'class' => 'perun:IdPAttribute',
23+
'attrMap' => array(
24+
'name:en' => 'sourceIdPName',
25+
),
26+
),
27+
#where XX is priority(for example 30; Must not be used for other modules)
28+
```
29+
5 . Configure proxystatistic filter
30+
```
31+
XX => array(
32+
'class' => 'proxystatistics:statistics',
33+
'config' => array (),
34+
),
35+
#where XX is priority(for example 50; Must not be used for other modules)
36+
```

0 commit comments

Comments
 (0)