<div dir="ltr">Hi Scott,<div><br></div><div>Thanks for the reply</div><div><br></div><div>Any similar example that you can refer me to in wiki?</div><div><br></div><div><br></div><div> to try out in shibcas-authn-flow.xml</div><div><br></div><div>I added  below </div><div> <evaluate expression="externalContext.getNativeRequest().getSession().setAttribute('username', requestParameters.username)" /><br></div><div><br></div><div><br></div><div>but param was null when I checked in the servlet, looks like param getting lost way before ...</div><div><br></div><div>Curious what is the best flow to inject or any other suggestion.</div><div><br></div><div><br></div><div><p class="MsoNormal"><flow xmlns="<a href="http://www.springframework.org/schema/webflow">http://www.springframework.org/schema/webflow</a>"<span></span></p>

<p class="MsoNormal">      xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<span></span></p>

<p class="MsoNormal">      xsi:schemaLocation="<a href="http://www.springframework.org/schema/webflow%20http:/www.springframework.org/schema/webflow/spring-webflow.xsd">http://www.springframework.org/schema/webflow
http://www.springframework.org/schema/webflow/spring-webflow.xsd</a>"<span></span></p>

<p class="MsoNormal">     
parent="authn.abstract"><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">    <!-- This is a login flow for external
authentication handled outside the webflow engine. --><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">    <action-state
id="SetRPUIInformation"><span></span></p>

<p class="MsoNormal">        <evaluate
expression="SetRPUIInformation" /><span></span></p>

<p class="MsoNormal">        <evaluate
expression="'proceed'" /><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">        <transition
on="proceed" to="ExternalTransfer" /><span></span></p>

<p class="MsoNormal">    </action-state><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">    <view-state id="ExternalTransfer"
view="externalRedirect:#{flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.authn.Cas.externalAuthnPath')}?conversation=#{flowExecutionContext.getKey().toString()}"><span></span></p>

<p class="MsoNormal">        <on-render><span></span></p>

<p class="MsoNormal">           
<evaluate
expression="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext)).getSubcontext(T(net.shibboleth.idp.authn.context.ExternalAuthenticationContext),
true).setFlowExecutionUrl(flowExecutionUrl + '&amp;_eventId_proceed=1')"
/><span></span></p>

<p class="MsoNormal">           
<evaluate
expression="externalContext.getNativeRequest().getSession().setAttribute('conversation'
+ flowExecutionContext.getKey().toString(), new
net.shibboleth.idp.authn.impl.ExternalAuthenticationImpl(opensamlProfileRequestContext))"
/><span></span></p>

<p class="MsoNormal"><br></p><p class="MsoNormal">           
<evaluate
expression="externalContext.getNativeRequest().getSession().setAttribute('username',
requestParameters.username)" /><span></span></p>

<p class="MsoNormal">   <span></span></p>

<p class="MsoNormal">       
</on-render><span></span></p>

<p class="MsoNormal">        <transition
to="ValidateExternalAuthentication" /><span></span></p>

<p class="MsoNormal">    </view-state><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">    <action-state
id="ValidateExternalAuthentication"><span></span></p>

<p class="MsoNormal">        <evaluate
expression="ValidateExternalAuthentication" /><span></span></p>

<p class="MsoNormal">        <evaluate
expression="'proceed'" /><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">        <transition
on="proceed" to="proceed" /><span></span></p>

<p class="MsoNormal">    </action-state><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">    <bean-import
resource="shibcas-authn-beans.xml" /><span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal"></flow><span></span></p></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 11:03 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 9/20/17, 4:22 AM, "users on behalf of Lalith Jayaweera" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:ljayaweera@gmail.com">ljayaweera@gmail.com</a>> wrote:<br>
<br>
> How to get the  custom param comes in the inital query string to IdP<br>
<br>
</span>You'd probably have to add an inbound interceptor flow of your own construction that accessed them and save them off somewhere for later use.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</div></div></blockquote></div><br></div>