<div dir="ltr">Thanks for the clarification, Scott.<div><br></div><div>It appears my extension of the AbstractUsernamePasswordValidationAction and injecting the shibboleth.HttpServletRequest bean will enable me to check for the presence of my custom request param.</div><div><br></div><div>I would like to utilize the default "password" flow; however, I need check for the existence of a request parameter to check an backend service _before_ the login page would be presented. Is this possible with a custom "action", or would this require a custom login flow?</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 11, 2018 at 5:43 PM Cantor, Scott <<a href="mailto:cantor.2@osu.edu">cantor.2@osu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> * I've looked at using an extension of the<br>
> AbstractUsernamePasswordValidationAction to utilize the default password<br>
> login flow; however, it's unclear to me how to gain access to the "raw" HTTP<br>
> request parameter map, via the ProfileRequestContext or<br>
> AuthenticationContext<br>
<br>
Inject the shibboleth.HttpServletRequest bean into your object,<br>
p:httpServletRequest-ref="shibboleth.HttpServletRequest".<br>
All action beans that inherit from our classes, including that base class, have a property for it predefined.<br>
<br>
> * I looked into a v3 Profile Intercept; however, this doesn't appear to the<br>
> mechanism to do this.<br>
<br>
No, that's not authentication.<br>
<br>
> If the default "password" flow is<br>
> configured, does one have access to the UsernamePassword sub context,<br>
> accessible through the ProfileRequestContext?<br>
<br>
External and Password are different, unrelated login flows, they don't compose. Password is for password validation with the IdP's UI to handle collecting it, and External is for "do whatever you want in a servlet" and you are responsible for the UI. Two different things.<br>
<br>
-- Scott<br>
<br>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div>