@@ -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