<div dir="ltr">all the ' ' values suggest duo is not in fact configured in the IdP (with your integration key, secret key, api-host and application key)<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 9:59 AM, Hong Ye <span dir="ltr"><<a href="mailto:hy93@cornell.edu" target="_blank">hy93@cornell.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hello,
<div><br>
</div>
<div>I’ve configured Duo with MFA in IDP 3.3.1. Our primary authentication uses authn/RemoteUser. After successful primary authentication, I got error when Duo was triggered. Here is the error in the log:</div>
<div><br>
</div>
<div>
<div style="margin:0px;font-size:11px;font-family:Menlo">2017-03-22 13:38:00,793| - DEBUG [net.shibboleth.idp.authn.<wbr>impl.<wbr>TransitionMultiFactorAuthentic<wbr>ation:221] - Profile Action TransitionMultiFactorAuthentic<wbr>ation: MFA flow transition after
 'proceed' event to 'authn/Duo' flow</div>
</div>
<div>
<div style="margin:0px;font-size:11px;font-family:Menlo">2017-03-22 13:38:00,858| - ERROR [org.springframework.webflow.<wbr>execution.<wbr>ActionExecutionException:76] - </div>
<div style="margin:0px;font-size:11px;font-family:Menlo">org.springframework.webflow.<wbr>execution.<wbr>ActionExecutionException: Exception thrown executing [AnnotatedAction@5f08ea43 targetAction = [EvaluateAction@11e43d0f expression = T(com.duosecurity.<wbr>integrations.DuoShibboleth).<wbr>instance(environment.<wbr>getProperty('duo.ikey',
 ''), environment.getProperty('duo.<wbr>skey', ''), environment.getProperty('duo.<wbr>akey', ''), environment.getProperty('duo.<wbr>host', ''), usernamePasswordContext.<wbr>getUsername()), resultExpression = flowScope.duo], attributes = map[[empty]]] in state 'null' of flow 'authn/Duo'
 -- action execution attributes were 'map[[empty]]'</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><span class="m_-8970591519795364887Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.webflow.<wbr>execution.ActionExecutor.<wbr>execute(ActionExecutor.java:<wbr>60)</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Caused by: org.springframework.binding.<wbr>expression.<wbr>EvaluationException: An ELException occurred getting the value for expression 'T(com.duosecurity.<wbr>integrations.DuoShibboleth).<wbr>instance(environment.<wbr>getProperty('duo.ikey',
 ''), environment.getProperty('duo.<wbr>skey', ''), environment.getProperty('duo.<wbr>akey', ''), environment.getProperty('duo.<wbr>host', ''), usernamePasswordContext.<wbr>getUsername())' on context [class org.springframework.webflow.<wbr>engine.impl.<wbr>RequestControlContextImpl]</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><span class="m_-8970591519795364887Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.binding.<wbr>expression.spel.<wbr>SpringELExpression.getValue(<wbr>SpringELExpression.java:92)</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Caused by: org.springframework.<wbr>expression.spel.<wbr>SpelEvaluationException: EL1011E:(pos 46): Method call: Attempted to call method getUsername() on null context object</div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><span class="m_-8970591519795364887Apple-tab-span" style="white-space:pre-wrap"></span>at org.springframework.<wbr>expression.spel.ast.<wbr>MethodReference.<wbr>throwIfNotNullSafe(<wbr>MethodReference.java:144)</div>
<div><br>
</div>
<div><br>
</div>
<div>Any idea what is wrong in my configuration? Thanks!</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>
<div>
<div>Hong </div>
</div>
</div>
<br>
</font></span></div>
</div>

<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></blockquote></div><br></div>