<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444">Hi Scott-</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444">Thanks for the quick reply and the sanity check. I'm not overly concerned about learning the SWF side of things, I just wanted to make sure I wasn't chasing my tail; I wasn't clear if Flows were intended to be authentication-only or could be used in the manner I described. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444">I'll review the 3.3 snapshot and the files/links you've suggested.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444">Cheers!</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#444444">Aaron</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(80,0,80)"><span style="color:rgb(68,68,68);font-family:'arial black',sans-serif;font-size:small">Aaron Cargo</span><br></div><div style="color:rgb(80,0,80)"><i><font color="#666666" face="trebuchet ms, sans-serif">Senior Web Developer</font></i></div><div style="color:rgb(80,0,80)"><font face="trebuchet ms, sans-serif" color="#666666">Seton Hill University</font></div><div style="color:rgb(80,0,80)"><font color="#666666"><font face="trebuchet ms, sans-serif"><a href="mailto:acargo@setonhill.edu" style="color:rgb(17,85,204)" target="_blank">acargo@setonhill.edu</a></font></font></div><div style="color:rgb(80,0,80)"><font color="#666666"><font face="trebuchet ms, sans-serif">(</font><font face="trebuchet ms, sans-serif">724</font><font face="trebuchet ms, sans-serif">)</font><font face="trebuchet ms, sans-serif"> 552</font><font face="trebuchet ms, sans-serif">-</font><font face="trebuchet ms, sans-serif">4386</font></font></div><div style="color:rgb(80,0,80)"><br></div><div style="color:rgb(80,0,80)"><img src="http://img.setonhill.edu/MLwL.png" width="96" height="58"></div><br></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Apr 27, 2016 at 7:55 PM, 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="">On 4/27/16, 7:44 PM, "users on behalf of Aaron Cargo" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:acargo@setonhill.edu">acargo@setonhill.edu</a>> wrote:<br>
<br>
<br>
<br>
>I recall reading something on this list about post-authentication workflows (similar to how attribute consent works?) but can't seem to locate documentation that describes this in a way that correlates in my head to what I'm looking to do.<br>
<br>
</span>I'm not sure I can point you anywhere you haven't seen, but...<br>
<br>
<a href="https://wiki.shibboleth.net/confluence/display/IDP30/ProfileInterceptConfiguration" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/display/IDP30/ProfileInterceptConfiguration</a><br>
<br>
And more recently on the development side, <a href="https://wiki.shibboleth.net/confluence/display/IDP30/ProfileHandling" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/display/IDP30/ProfileHandling</a><br>
<br>
>1. Is the IDP the correct place to attempt this? Or am I barking up the wrong tree?<br>
<br>
Well, I'm not going to get into "correct", but if you want to do it, you can.<br>
<br>
>2. Is 'post-authentication workflow' what I'm looking for here, and if so, is that the correct terminology to be researching?<br>
<br>
They're called "interceptors" (or "intercepts" every time I forget the actual name in the code), and the ones that run after authentication are the ones that are the most useful and least risky to screw around with.<br>
<br>
They're Spring web flows. If the existing examples aren't usable, you have to learn enough Spring and SWF to be able to write one, that's just how the system is built. It's not hard, but if you're not a Java person, or don't have time to learn the ins and outs, it isn't an automatic thing. This just isn't a scripting language based system.<br>
<br>
>3. Does anyone have any experience implementing something along these lines, and have any suggestions/feedback/"gotchas" to share?<br>
<br>
I have lots. I added one to the trunk that's not in the documentation yet that checks for an expiring password attribute and displays a page in the middle of the flow, as yet another example people can copy, and that's a simpler example of one that includes a view template than the attribute consent one is. It's in the 3.3 snapshot build.<br>
<br>
I can't really just teach you SWF in an email, it's just not that simple to explain. What you're after here isn't hard, it would involve writing a Java bean that implements our ProfileAction interface to query your service, and then signal an event to the flow definition that would branch to an externalRedirect to somewhere else, with a parameter that includes the flowExecutionUrl variable that resumes the flow to pick it back up.<br>
<br>
You could see an example of that particular idea in the External authn flow (system/flows/authn/external-authn-flow.xml), close to that anyway.<br>
<span class="HOEnZb"><font color="#888888"><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>
</font></span></blockquote></div><br></div>