Skip to content

Commit f7fcadf

Browse files
new: examples/filter_attributes: enforce scope on scoped attributes
(and also enforce scoping rules on schacHomeOrganization value)
1 parent c14f0a0 commit f7fcadf

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

example/plugins/microservices/filter_attributes.yaml.example

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,20 @@ config:
66
"":
77
# default rules for any requester
88
"":
9-
# enforce controlled vocabulary
9+
# enforce controlled vocabulary (via simple notation)
1010
eduPersonAffiliation: "^(faculty|student|staff|alum|member|affiliate|employee|library-walk-in)$"
1111
eduPersonPrimaryAffiliation: "^(faculty|student|staff|alum|member|affiliate|employee|library-walk-in)$"
12-
eduPersonScopedAffiliation: "^(faculty|student|staff|alum|member|affiliate|employee|library-walk-in)@"
12+
eduPersonScopedAffiliation:
13+
# enforce controlled vocabulary (via extended notation)
14+
regexp: "^(faculty|student|staff|alum|member|affiliate|employee|library-walk-in)@"
15+
# enforce correct scope
16+
shibmdscope_match_scope:
17+
eduPersonPrincipalName:
18+
# enforce correct scope
19+
shibmdscope_match_scope:
20+
schacHomeOrganization:
21+
# enforce scoping rule on attribute value
22+
shibmdscope_match_value:
1323

1424
target_provider1:
1525
requester1:

0 commit comments

Comments
 (0)