<div dir="ltr"><div>That reply actually helped. It's working now. </div><div><br></div><div>Thank you,</div><div>Matt</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 11:16 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="">>   Thanks for your reply. I am, unfortunately, still lost here. I can see, from the<br>
> docs, how it's supposed to work, but I can't figure out how to actually check<br>
> the attribute. Basically, I am trying to check if the user is a member of a<br>
> specific AD group. I do have this information coming into Shibboleth as I<br>
> release the group list to other SP's for access control. I cannot figure out how<br>
> to check group membership as part of the intercept though.<br>
><br>
>   So basically, I'm looking for docs or an example of how to check group<br>
> membership as part of the intercept.<br>
<br>
</span>The existing file is an example, so unless you can explain what you don't understand, I don't know how to answer this.<br>
<br>
The file as shipped uses the context-check interceptor flow to run an example predicate (condition) and the example it shows uses a built-in class, SimpleAttributePredicate, as the condition to check. The javadoc for that class [1] describes what its inputs are and what it does, and the example in the file includes a map whose only entry is to check for any value in the "eppn" attribute.<br>
<br>
I don't know the name(s) of your attributes or what you want to check for, but they just go into the map.<br>
<br>
-- Scott<br>
<br>
[1] <a href="https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/javadoc/net/shibboleth/idp/profile/logic/SimpleAttributePredicate.html" rel="noreferrer" target="_blank">https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/javadoc/net/shibboleth/idp/profile/logic/SimpleAttributePredicate.html</a><br>
<div class="HOEnZb"><div class="h5"><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>