Skip to content

Commit cfda9ce

Browse files
new: examples/filter_attributes: add sample rules for saml-subject-id and saml-pairwise-id
1 parent 92b9dc7 commit cfda9ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

example/plugins/microservices/filter_attributes.yaml.example

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ config:
1717
eduPersonPrincipalName:
1818
# enforce correct scope
1919
shibmdscope_match_scope:
20+
subject-id:
21+
# enforce attribute syntax
22+
regexp: "^[0-9A-Za-z][-=0-9A-Za-z]{0,126}@[0-9A-Za-z][-.0-9A-Za-z]{0,126}\\Z"
23+
# enforce correct scope
24+
shibmdscope_match_scope:
25+
pairwise-id:
26+
# enforce attribute syntax
27+
regexp: "^[0-9A-Za-z][-=0-9A-Za-z]{0,126}@[0-9A-Za-z][-.0-9A-Za-z]{0,126}\\Z"
28+
# enforce correct scope
29+
shibmdscope_match_scope:
2030
schacHomeOrganization:
2131
# enforce scoping rule on attribute value
2232
shibmdscope_match_value:

0 commit comments

Comments
 (0)