<html><head></head><body><div dir="auto">
</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">We need to send a user attribute to a third party service during an OIDC.SSO flow, and get their response before returning to the user.</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br style="unicode-bidi: plaintext; ;"></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">We configured the AttributeDefinition with 'preRequested="true"'.</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br style="unicode-bidi: plaintext; ;"></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">In our external intercept JSP we're trying to get the AttributeContext with the statements below, but lookup.apply() returns null:</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br style="unicode-bidi: plaintext; ;"></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"> ProfileRequestContext prc = <span style="; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ; text-decoration: none; display: inline !important; float: none;">ExternalInterceptor</span><span style="unicode-bidi: plaintext; ; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">.get</span><span style="; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ; text-decoration: none; display: inline !important; float: none;">ProfileRequestContext(key, request);</span></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><p class="MsoNormal" style="unicode-bidi: plaintext; ; margin: 0in; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span style="unicode-bidi: plaintext; ;"> ApplicationContext springContext = WebApplicationContextUtils.getWebApplicationContext(application);</span></p><p class="MsoNormal" style="unicode-bidi: plaintext; ; margin: 0in; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span style="unicode-bidi: plaintext; ;"> Function<ProfileRequestContext, AttributeContext> lookup =</span></p><p class="MsoNormal" style="unicode-bidi: plaintext; ; margin: 0in; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span style="unicode-bidi: plaintext; ;"> (Function<ProfileRequestContext, AttributeContext>) springContext.getBean("shibboleth.ChildLookup.PreRequestedAttributeContext");</span></p><p class="MsoNormal" style="unicode-bidi: plaintext; ; margin: 0in; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span dir="auto" style="unicode-bidi: plaintext; ;"> AttributeContext attrCtx = lookup.apply(prc);</span></p><p class="MsoNormal" dir="auto" style="unicode-bidi: plaintext; ; margin: 0in; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br></p></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">We're using IdP 5.2.1.</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">Are we missing something?</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br></div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">Thanks</div><div dir="auto" style="unicode-bidi: plaintext; ; outline: currentcolor; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br style="unicode-bidi: plaintext; ;"></div><br class="Apple-interchange-newline"><div dir="auto"><br>
</div></body></html>