Attribute Definition and SAML2String Attribute Encoder type

Michael Dahlberg olgamirth at gmail.com
Tue Nov 15 13:45:10 EST 2016


To be honest, when working with the Shib config files, I've tried to find a
relevant example of an AttributeDefinition and AttributeEncoder copy it
 and make small changes, often without really understanding the definitions
and changes I was making.  I now need to write one from scratch, sort of.

I need to setup an attribute definition complete with an attribute encoder
of the type SAML2String for a static connector.  From the example given in
https://wiki.shibboleth.net/confluence/display/IDP30/SAML2StringEncoder :

<AttributeEncoder xsi:type="SAML2String" name=
"urn:oid:2.16.840.1.113730.3.1.241" friendlyName="displayName" encodeType=
"false" />

(1) Does the name have to be an oid?  If so, since this is a brand new
attribute, can I just make-up the value?

(2) If I have a static connector that defines two different
    attributes, abcSchoolNumber and xyzSchoolNumber, can I have a
    single Attribute Definition, SchoolNumber, that releases one or
    the other based on different entityIDs?

Thanks for the help,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161115/77862f54/attachment.html>


More information about the users mailing list