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

Commit 11d3d8d

Browse files
authored
docs: add entityID example for PerunEntitlement(Extended)
1 parent 2a959ac commit 11d3d8d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

config-templates/processFilterConfigurations-example.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Example how to enable/configure filter PerunEntitlement:
5454
# forwarded entitlement are released by default
5555
#'releaseForwardedEntitlement' => false, OPTIONAL
5656
'forwardedEduPersonEntitlement' => 'eduPersonEntitlement',
57+
#'entityID' => function($request){return empty($request["saml:RequesterID"]) ? $request["SPMetadata"]["entityid"] : $request["saml:RequesterID"][0];},
5758
),
5859
```
5960

@@ -69,6 +70,7 @@ Example how to enable/configure filter PerunEntitlement:
6970
# forwarded entitlement are released by default
7071
#'releaseForwardedEntitlement' => false, OPTIONAL
7172
'forwardedEduPersonEntitlement' => 'eduPersonEntitlement',
73+
#'entityID' => function($request){return empty($request["saml:RequesterID"]) ? $request["SPMetadata"]["entityid"] : $request["saml:RequesterID"][0];},
7274
),
7375
```
7476

0 commit comments

Comments
 (0)