Add custom attributes to Assertion

Rod Widdowson rdw at steadingsoftware.com
Thu Sep 28 08:25:03 EDT 2017


> (is that even
> possible without lots of customization and what would be a good starting
> point?) 

I'm carefully not answering your real question - I'll leave to others far more qualified than I.

Purely in terms of code structure the two base classes you need are both defined as APIs.

net.shibboleth.idp.saml.attribute.encoding.AbstractSAML2AttributeEncoder  and
net.shibboleth.idp.attribute.resolver.spring.enc.BaseAttributeEncoderParser

So for V3.x you could safely use these.  There is no (and there will be no) documentation for writing this stuff.  The "Developing Attribute Resolver Extensions" page will provide some direction.

Nonetheless - I cannot help but feeling that there's a better solution.  Most of all, if you do go down this route I'd urge you to engage the dev list since there may be changes in this space in V4.

/R



More information about the users mailing list