logout.vm

Joshua Brodie josbrodie at gmail.com
Wed Nov 7 18:42:18 EST 2018


That helps so much. My search foo was not the best. Thanks for the link.

The SP, I am testing with has in it's metadata '<mdui:DisplayName xml:lang=
"en">Name</mdui:DisplayName>'; it's defaulting to '
<li>$encoder.encodeForHTML($sp)</li>' in the final 'else' clause.

Where could I troubleshoot on why '#if ($rpUIContext and
$rpUIContext.getServiceName())' is not entered?

#foreach ($sp in $logoutContext.getSessionMap().keySet())

                    #set ($rpCtx =
$multiRPContext.getRelyingPartyContextById($sp))

                    #if ($rpCtx)

                      #set ($rpUIContext =
$rpCtx.getSubcontext("net.shibboleth.idp.ui.context.RelyingPartyUIContext"))

                    #end

                    #if ($rpUIContext and $rpUIContext.getServiceName())


<li>$encoder.encodeForHTML($rpUIContext.getServiceName())</li>

                    #else

                      <li>$encoder.encodeForHTML($sp)</li>

                    #end

                #end

On Wed, 7 Nov 2018 at 14:07, rdw at steadingsoftware.com <
rdw at steadingsoftware.com> wrote:

>
> In logout.vm, where is '$rpUIContext.getServiceName()' derived from?  Is
> it from the SP's metadata ---  '
> <mdui:DisplayName xml:lang="en">Name</mdui:DisplayName>'?
>
>
> Kinda.
>
> This link explains it in grubby detail
>
> https://wiki.shibboleth.net/confluence/display/IDP30/RpUIContext#RpUIContext-$rpUIContext.serviceName
> --
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20181107/a7a6a310/attachment.html>


More information about the users mailing list