Skip to content

Commit 1623a42

Browse files

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: src/pyff/builtins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def _discojson_sp_attr(req, *opts):
10901090
discojson_sp_attr:
10911091
10921092
SP Entities can carry trust information as a base64 encoded json blob
1093-
as an entity attribute with name `http://refeds.org/entity-selection-profile`.
1093+
as an entity attribute with name `https://refeds.org/entity-selection-profile`.
10941094
The schema of this json is the same as the one produced above from XML
10951095
with the pipe `discojson_sp`, and published at:
10961096

Diff for: src/pyff/samlmd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ def discojson_sp(e, global_trust_info=None, global_md_sources=None):
10421042

10431043
def discojson_sp_attr(e):
10441044

1045-
attribute = "http://refeds.org/entity-selection-profile"
1045+
attribute = "https://refeds.org/entity-selection-profile"
10461046
b64_trustinfos = entity_attribute(e, attribute)
10471047
if b64_trustinfos is None:
10481048
return None

Diff for: src/pyff/test/data/metadata/test-sp-trustinfo-in-attr.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<saml:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://macedir.org/entity-category">
2626
<saml:AttributeValue>http://www.geant.net/uri/dataprotection-code-of-conduct/v1</saml:AttributeValue>
2727
</saml:Attribute>
28-
<saml:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://refeds.org/entity-selection-profile">
28+
<saml:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="https://refeds.org/entity-selection-profile">
2929
<saml:AttributeValue>ewogICJwcm9maWxlcyI6IHsKICAgICJpbmNvbW1vbi13YXlmaW5kZXIiOiB7CiAgICAgICAic3RyaWN0IjogdHJ1ZSwKICAgICAgICJlbnRpdGllcyI6IFsKICAgICAgICAgewogICAgICAgICAgICJzZWxlY3QiOiAiaHR0cHM6Ly9tZHEuaW5jb21tb24ub3JnL2VudGl0aWVzIiwKICAgICAgICAgICAibWF0Y2giOiAibWRfc291cmNlIiwKICAgICAgICAgICAiaW5jbHVkZSI6IHRydWUKICAgICAgICAgfQogICAgICAgXQogICAgfQogIH0KfQ==</saml:AttributeValue>
3030
</saml:Attribute>
3131
</mdattr:EntityAttributes>

Diff for: src/pyff/test/data/metadata/test02-sp.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<saml:AttributeValue>http://www.geant.net/uri/dataprotection-code-of-conduct/v1</saml:AttributeValue>
2626
<saml:AttributeValue>https://refeds.org/category/code-of-conduct/v2</saml:AttributeValue>
2727
</saml:Attribute>
28-
<saml:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://refeds.org/entity-selection-profile">
28+
<saml:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="https://refeds.org/entity-selection-profile">
2929
<saml:AttributeValue>ewogICJwcm9maWxlcyI6IHsKICAgICJpbmNvbW1vbi13YXlmaW5kZXIiOiB7CiAgICAgICAic3RyaWN0IjogdHJ1ZSwKICAgICAgICJlbnRpdGllcyI6IFsKICAgICAgICAgewogICAgICAgICAgICJzZWxlY3QiOiAiaHR0cHM6Ly9tZHEuaW5jb21tb24ub3JnL2VudGl0aWVzIiwKICAgICAgICAgICAibWF0Y2giOiAibWRfc291cmNlIiwKICAgICAgICAgICAiaW5jbHVkZSI6IHRydWUKICAgICAgICAgfQogICAgICAgXQogICAgfQogIH0KfQ==</saml:AttributeValue>
3030
</saml:Attribute>
3131
</mdattr:EntityAttributes>

0 commit comments

Comments
 (0)