Hi All,
Since we went live with our 2.3 IDP (from 1.3) one of our
service providers is no longer able to pick up the eduPersonTargetedID
variable. They're using SAML1 and from what I can see, in 1.3 they'd
get,
<Attribute xmlns="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
AttributeName="urn:mace:dir:attribute-def:eduPersonTargetedID"
AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri"><AttributeValue
Scope="
st-andrews.ac.uk">Pe1e6eQsvqxmXyohKjO9L0InhPM=</AttributeValue></Attribute>
where as with 2.3 they get
<saml1:Attribute AttributeName="urn:oid:1.3.6.1.4.1.5923.1.1.1.10"
AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
<saml1:AttributeValue>
<saml2:NameID
xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
NameQualifier="
https://login-test.st-andrews.ac.uk/idp/shibboleth"
SPNameQualifier="
https://sp.eblib.com/shibboleth">Pe1e6eQsvqxmXyohKjO9L0InhPM=</saml2:NameID>
</saml1:AttributeValue>
</saml1:Attribute>
If I edit the AttributeEncoder line of eduPersonTargetedID in
attribute-resolver.xml from
<resolver:AttributeEncoder xsi:type="enc:SAML1XMLObject"
name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" />
to
<resolver:AttributeEncoder xsi:type="enc:SAML1XMLObject"
name="urn:mace:dir:attribute-def:eduPersonTargetedID" />
Then I get something I think they can work with.
<saml1:Attribute
AttributeName="urn:mace:dir:attribute-def:eduPersonTargetedID"
AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
<saml1:AttributeValue>
<saml2:NameID
xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
NameQualifier="
https://login-test.st-andrews.ac.uk/idp/shibboleth"
SPNameQualifier="
https://sp.eblib.com/shibboleth">Pe1e6eQsvqxmXyohKjO9L0InhPM=</saml2:NameID>
</saml1:AttributeValue>
</saml1:Attribute>
Am I creating problems for the future by doing this / is there
a better way to do this?
Thanks,
Duncan
--
The University of St Andrews is a charity registered in Scotland : No
SC013532
--
To unsubscribe from this group, send email to
users+un...@shibboleth.net