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

Commit 09ba3df

Browse files
committed
Moved example configuration for ForceAup processFilter
1 parent a37779d commit 09ba3df

File tree

2 files changed

+58
-59
lines changed

2 files changed

+58
-59
lines changed

ForceAup-configuration.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

config-templates/processFilterConfigurations-example.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,61 @@ Example how to enable filter IdPAttribute:
3737

3838
'OrganizationName:en' => 'idp_organizationName' means that the $IdPMetadata['Organization']['en'] will be save into
3939
$request['Attributes']['idp_organizationName']
40+
41+
## ForceAup
42+
43+
1.Create these attributes in Perun:
44+
- urn:perun:entityless:attribute-def:def:orgAups
45+
- Type: LinkedHashMap
46+
- Unique: no
47+
- Read:
48+
- Write:
49+
50+
- urn:perun:user:attribute-def:def:aups
51+
- Type: LinkedHashMap
52+
- Unique: no
53+
- Read: SELF, FACILITY, VO
54+
- Write:
55+
56+
- urn:perun:vo:attribute-def:def:aup
57+
- Type: LargeString
58+
- Unique: no
59+
- Read: VO
60+
- Write: VO
61+
62+
- urn:perun:facility:attribute-def:def:reqAups
63+
- Type: ArrayList
64+
- Unique: no
65+
- Read: FACILITY
66+
- Write: FACILITY
67+
68+
69+
- urn:perun:facility:attribute-def:virt:voShortNames
70+
- Type: ArrayList
71+
- Unique: no
72+
- Read: FACILITY
73+
- Write: FACILITY
74+
75+
2.Configure SimpleSAMLphp to use ForceAup:
76+
77+
Example how to enable filter ForceAup:
78+
79+
```php
80+
40 => array(
81+
'class' => 'perun:ProxyFilter',
82+
'filterSPs' => $perunEntityIds,
83+
'config' => array(
84+
'class' => 'perun:ForceAup',
85+
'uidAttr' => 'uid',
86+
'interface' => 'rpc',
87+
'perunAupsAttr' => 'urn:perun:entityless:attribute-def:def:orgAups',
88+
'perunUserAupAttr' => 'urn:perun:user:attribute-def:def:aups',
89+
'perunVoAupAttr' => 'urn:perun:vo:attribute-def:def:aup',
90+
'perunFacilityReqAupsAttr' => 'urn:perun:facility:attribute-def:def:reqAups',
91+
'facilityVoShortNames' => 'urn:perun:facility:attribute-def:virt:voShortNames'
92+
),
93+
),
94+
```
95+
96+
3.Fill the attributes and set list of required Aups (attr reqAups) and voShortNames (optional) for each facility
97+

0 commit comments

Comments
 (0)