<div dir="ltr">Thanks for your answer.<div>It suffices for my case.<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 11, 2016 at 9:38 AM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> As a related question, may I safely assume in the SubjectContext there is<br>
> only one subject, in which there is only one private credential? (In my case,<br>
> LDAP authn is used, with session enabled.)<br>
<br>
</span>None of this is formally documented at the moment, but the authentication contract for the SSO profiles right now is that the SubjectContext will contain all of the AuthenticationResults associated with the subject and a canonical principal name associated with the identity.<br>
<br>
It does not assume there's only one Subject, let alone what might be all of them.<br>
<br>
However, the only way you get multiple Subjects at the same time is if you have multiple types of AuthenticationResult. Only a single result is tracked per login flow ID. So if you only have one login flow enabled (e.g. authn/Password), then you can only have one type of AuthenticationResult, ergo one Subject at a time. If you know what the flow is doing to populate that Subject, then you know what can be in it.<br>
<br>
So, it depends, but you can control what assumptions you can make.<br>
<br>
It's also profile dependent. SAML Attribute Queries produce a Subject based on mapping the NameID in the query to a Subject that contains the reverse-mapped username and the NameID itself as a custom Principal, and that's a totally different Subject than the one you would have during SSO.<br>
<br>
The abstraction is consistent, but not the content.<br>
<br>
HTH,<br>
<div class="HOEnZb"><div class="h5">-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div></div></div>