Add custom attributes to Assertion

David Huebner david.huebner at daasi.de
Thu Sep 28 06:13:48 EDT 2017


Hi list,

we are using a custom Data Connector to resolve attributes from 
environment variables.
The requirement now is to encode some of these attributes in a rather 
specific manner, which seems to comply with SAML2-Core, e.g.:
<saml2:Attribute Name="somename" xmlns:customattribute="somevalue" 
xmlns:anothercustomattribute="somevalue" />

At first glance, I don't think I can do that with the existing Attribute 
Encoders.
So, basically I can either use a custom Attribute Encoder (is that even 
possible without lots of customization and what would be a good starting 
point?) or do it in some form of post-authn interceptor, that adds my 
attributes independently of the attribute-resolver.

Any better options and what way would you recommend? Are there existing 
solutions for that?

Cheers,
David


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2269 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20170928/1c408dda/attachment.p7s>


More information about the users mailing list