* Okolie C. Cletus <
oko...@gmail.com> [2015-11-19 19:02]:
> I am working on an IdP for my REN . My attribute-resolver is not displaying
> the friendlyNames for my schac attributes rather it returns the oid
> numbers. Am not sure what the problem is because the other attributes are
> fine.
[...]
> <resolver:AttributeDefinition xsi:type="ad:Simple" id="schacPlaceOfBirth"
> sourceAttributeID="schacPlaceOfBirth">
That's a Shibboleth IDP configuraton snippet, and it's fine, AFAICT
(if you got the OID right, which I didn't check).
> This is the output when queried
> [urn:oid:1.3.6.1.4.1.7135.1.2.1.32] B.Sc. Ing\xc3\xa9nieur Conception
> [urn:oid:1.3.6.1.4.1.25178.1.2.2] 2
> [urn:oid:1.3.6.1.4.1.7135.1.2.1.25] 2015
> [urn:oid:1.3.6.1.4.1.25178.1.2.3] 19901001
> [urn:oid:1.3.6.1.4.1.1466.115.121.1.15] SN
> [uid] test
> [eduPersonPrincipalName]
te...@example.com
> [eduPersonPrimaryAffiliation] test
> [sn] testing
That's likely the display on some SimpleSAMLphp SAML SP, which is
lacking some SCHAC-defined attributes in its oid2name attributemap
(cf. attributemap/oid2name.php for example; the copy I have on disk
only has entries for schacHomeOrganization and
schacPersonalUniqueCode, it seems).
OIDs under 1.3.6.1.4.1.7135. are your own (CRU), of course, so the SSP
software distribution cannot know "friendlier" names for those by
default. You'd have to add those yourself.
So the IDP is Doing The Right Thing and the SP is merely missing
entries to turn those formal attribute names into locally more useful
names.
-peter