Thanks folks. Looks like there are two ways to achieve it:<br>1)  - deploy separate login handlers<br>    
- use an AuthnContextClassRef in the request to map to one or the other<br><br>2) IdP will always return both Eng and Sales people, the Assertion will contain some attribute to indicate the group. SP will need to do some authorization to filter out either Eng or Sales.<br>

<br>Per Scott and Kevin, (2) is a better way since IdP is only suppose to do authn, it is SP&#39;s responsibility to do authz. <br><br>Let me know if anything is incorrect.<br><br>Thanks,<br clear="all">Yaowen<br>
<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 8:44 AM, Cantor, Scott <span dir="ltr">&lt;<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 8/16/12 11:33 AM, &quot;Yannick Béot&quot; &lt;<a href="mailto:yannick.beot@gmail.com">yannick.beot@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;I do not know much about Shibboleth IdP but I&#39;m pretty sure it is<br>
&gt;possible to insert some filtering/authz logic in the pipeline, based on<br>
&gt;some attributes for instance.<br>
<br>
</div>If you write custom login handlers; there&#39;s nothing built-in to do this.<br>
It&#39;s just not how it&#39;s supposed to work.<br>
<div class="HOEnZb"><div class="h5"><br>
-- 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>