<div dir="ltr"><div><div><div>>I read your request as the need for a more general PrincipalDataConnector.<br><br></div>Yes, exactly.<br><br> >have been trying to work out how this would work in a generic manner
for quite some time, but given that each principal type is (almost by
definition) different it is *hard* to see how to make this general. <br><br></div><div>What are your use cases? Beyond, calling Principal.getName()? If there are enough use cases - then define a new interface for pulling multiple key/value pairs out AND support IdpAttributePrincipal if they are already pre-extracted. <br><br>>If you are not doing so right now, I would certainly suggest that you
use a ScriptedDataConnector to do this work (and if you could consider
donating the example to the wiki others would thank you<br><br></div><div>I'm am, and I will add it. The unwieldy blob of javascript required - is one of the reasons I wanted to replace it with a connector :)<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 14, 2016 at 8:16 AM, Rod Widdowson <span dir="ltr"><<a href="mailto:rdw@steadingsoftware.com" target="_blank">rdw@steadingsoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> >I think I'm missing context here but...<br>
<br>
</span><span class="">> Scott said he had implemented a custom principal to support custom attributes<br>
> from external auth.<br>
<br>
</span>OK. Gotcha.<br>
<br>
I read your request as the need for a more general PrincipalDataConnector. I have been trying to work out how this would work in a generic manner for quite some time, but given that each principal type is (almost by definition) different it is *hard* to see how to make this general. But I'll be interested in where your musings end up.<br>
<br>
If you are not doing so right now, I would certainly suggest that you use a ScriptedDataConnector to do this work (and if you could consider donating the example to the wiki others would thank you), but I'd not give up that we could manage some sort of principal connector.<br>
<span class="HOEnZb"><font color="#888888"><br>
Rod<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div>