Skip to content

Commit 4e8d27c

Browse files
Examples: minor fixes and enhancements for ContactPerson examples for SAML backend and frontend (#430)
* fix: example: prefix ContactPerson emailAddress with "mailto:" As per SAML 2.0 spec, this should be URIs - so should start with "mailto:" * new: example/saml: add example for REFEDS security contact As per https://refeds.org/metadata/contactType/security
1 parent 5d543e0 commit 4e8d27c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

example/plugins/backends/saml2_backend.yaml.example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ config:
2525
cert_file: backend.crt
2626
organization: {display_name: Example Identities, name: Example Identities Org., url: 'http://www.example.com'}
2727
contact_person:
28-
- {contact_type: technical, email_address: [email protected], given_name: Technical}
29-
- {contact_type: support, email_address: [email protected], given_name: Support}
28+
- {contact_type: technical, email_address: 'mailto:[email protected]', given_name: Technical}
29+
- {contact_type: support, email_address: 'mailto:[email protected]', given_name: Support}
30+
- {contact_type: other, email_address: 'mailto:[email protected]', given_name: Security, extension_attributes: {'xmlns:remd': 'http://refeds.org/metadata', 'remd:contactType': 'http://refeds.org/metadata/contactType/security'}}
3031

3132
metadata:
3233
local: [idp.xml]

example/plugins/frontends/saml2_frontend.yaml.example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ config:
2424
idp_config:
2525
organization: {display_name: Example Identities, name: Example Identities Org., url: 'http://www.example.com'}
2626
contact_person:
27-
- {contact_type: technical, email_address: [email protected], given_name: Technical}
28-
- {contact_type: support, email_address: [email protected], given_name: Support}
27+
- {contact_type: technical, email_address: 'mailto:[email protected]', given_name: Technical}
28+
- {contact_type: support, email_address: 'mailto:[email protected]', given_name: Support}
29+
- {contact_type: other, email_address: 'mailto:[email protected]', given_name: Security, extension_attributes: {'xmlns:remd': 'http://refeds.org/metadata', 'remd:contactType': 'http://refeds.org/metadata/contactType/security'}}
2930
key_file: frontend.key
3031
cert_file: frontend.crt
3132
metadata:

example/plugins/frontends/saml2_virtualcofrontend.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config:
2222
url: https://messproject.org
2323
contact_person:
2424
- contact_type: technical
25-
email_address: [email protected]
25+
email_address: 'mailto:[email protected]'
2626
given_name: MESS Technical Support
2727
# SAML attributes and static values about the CO to be asserted for each user.
2828
# The key is the SATOSA internal attribute name.

0 commit comments

Comments
 (0)