mdui:Description from metadata not showing up on Shibboleth 3.3 login page

Matthew Brookover mbrookov at mines.edu
Wed Feb 8 13:29:18 EST 2017


> On Feb 7, 2017, at 10:35 AM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> 
>> lots of logging options in logback.xml — none of them seem to suggest they
>> have any thing to do with this.  Any suggestions?
> 
> I'm talking IdP as a whole. net.shibboleth.idp

First off, I decided to start with a fresh install of Shibboleth 3.3.  I did not do a full production ready configuration, just enough for InCommon, ldap, kerberos, etc.  My hope was the problem would just go away.  Unfortunately, rpUIContext.getLogo() and rpUIContext.getServiceDescription() are still not populated in login.vm.

I noticed that rpUIContext does work in intercept/attribute-release.vm, it calls getLogo and displays it on the consent page.

I turned on DEBUG for spring and found the logs for Velocity.  For intercept/attribute-release.vm I found this:
'rpUIContext' -> net.shibboleth.idp.ui.context.RelyingPartyUIContext at 2a33cb13 
For login.vm:
'rpUIContext' -> [null]

rpUIContext is listed three times in both calls with the same values.

Before the call to 'Rendering MVC [org.springframework.web.servlet.view.velocity.VelocityView: name 'login'; URL [login.vm]] with model map […..’ there appears to be some setup steps that were pulling classes together to pass to Velocity:

2017-02-08 09:28:05,076 - DEBUG [org.springframework.webflow.execution.ActionExecutor:49] - Executing [EvaluateAction at 1a2773e9 expression = authenticationContext.getSubcontext(T(net.shibboleth.idp.ui.context.RelyingPartyUIContext)), resultExpression = viewScope.rpUIContext]
2017-02-08 09:28:05,076 - DEBUG [org.springframework.webflow.execution.AnnotatedAction:142] - Putting action execution attributes map[[empty]]
2017-02-08 09:28:05,077 - DEBUG [org.springframework.webflow.execution.AnnotatedAction:149] - Clearing action execution attributes map[[empty]]
2017-02-08 09:28:05,077 - DEBUG [org.springframework.webflow.execution.ActionExecutor:53] - Finished executing [EvaluateAction at 1a2773e9 expression = authenticationContext.getSubcontext(T(net.shibboleth.idp.ui.context.RelyingPartyUIContext)), resultExpression = viewScope.rpUIContext]; result = success

The setup steps for 'Rendering MVC [org.springframework.web.servlet.view.velocity.VelocityView: name 'intercept/attribute-release'; URL [intercept/attribute-release.vm]] with model map’: were a bit different:

2017-02-08 09:35:59,518 - DEBUG [org.springframework.webflow.execution.ActionExecutor:49] - Executing [EvaluateAction at 5b6219bd expression = opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext), true).getSubcontext(T(net.shibboleth.idp.ui.context.RelyingPartyUIContext)), resultExpression = viewScope.rpUIContext]
2017-02-08 09:35:59,518 - DEBUG [org.springframework.webflow.execution.AnnotatedAction:142] - Putting action execution attributes map[[empty]]
2017-02-08 09:35:59,520 - DEBUG [org.springframework.webflow.execution.AnnotatedAction:149] - Clearing action execution attributes map[[empty]]
2017-02-08 09:35:59,520 - DEBUG [org.springframework.webflow.execution.ActionExecutor:53] - Finished executing [EvaluateAction at 5b6219bd expression = opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext), true).getSubcontext(T(net.shibboleth.idp.ui.context.RelyingPartyUIContext)), resultExpression = viewScope.rpUIContext]; result = success

Both appear to be pulling from net.shibboleth.idp.ui.context.RelyingPartyUIContext.  Not sure what opensamlProfileRequestContext.getSubcontext does that is different from authenticationContext.getSubcontext.  

Any ideas?

One more thing, after seeing IDP-1096 I added upper case characters to mdui:DispalyName and it did not help.

Thanks!

Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170208/1333d0ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3899 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20170208/1333d0ca/attachment-0001.p7s>


More information about the users mailing list