mdui:DisplayName minimum

Donald Lohr lohrda at jmu.edu
Wed Apr 28 13:28:34 UTC 2021


1) In my login.vm is:

#set ($serviceName = $rpUIContext.serviceName)
#if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName))
   <legend>
     #springMessageText("idp.login.loginTo", "Log in to") 
$encoder.encodeForHTML($serviceName)
   </legend>

In my relying-party.xml file for this SP is:

c:relyingPartyIds="https://xxxxx.jmu.edu/CherwellClient

(I replaced the real with xxxxx - which did not contain Cherwell or JMU 
- Cherwell).

My relying-party.xml file does not contain JMU - Cherwell (the 
DisplayName value that works)

2) I did some more testing. If I make the mdui:DisplayName value the 
following, the "Log in to" line appears with said value:

Cherwella
ABC
Abc
cherwell

But if the value is Cherwell the Log in to line is not shown.

Thanks,
Don

On 4/28/21 4:41 AM, Rod Widdowson wrote:
> CAUTION: This email originated from outside of JMU. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> ________________________________
>
>> Does DisplayName have to be more than 8 (non-whitespace) characters?
> No.
>
> I would be looking carefully at the template file which displays this stuff.  The default contains:
>
>> #if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName))
> So if your RelyingPartyId is "https://urldefense.proofpoint.com/v2/url?u=https-3A__Cherwell.org&d=DwICAg&c=eLbWYnpnzycBCgmb7vCI4uqNEB9RSjOdn_5nBEmmeq0&r=Pa2DB88IW_s2TyLfktHtWA&m=q5xdoU4OSIxCqovtptL0u7iz0afSJvEKfdiwQTczZzU&s=UFEyil4Y5Vq_qdUQHqSRttUAGgE6amJ3FJ9ST7MXBUI&e= " then the display won't happen.
>
>
>
> --
> For Consortium Member technical support, see https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.shibboleth.net_confluence_x_coFAAg&d=DwICAg&c=eLbWYnpnzycBCgmb7vCI4uqNEB9RSjOdn_5nBEmmeq0&r=Pa2DB88IW_s2TyLfktHtWA&m=q5xdoU4OSIxCqovtptL0u7iz0afSJvEKfdiwQTczZzU&s=TmpfU-8qYTof1SZW-BCWViToQpw0XC8KMxpCKmRxN_Q&e=
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net

-- 
D o n a l d   L o h r
I n f o r m a t i o n   S y s t e m s
J a m e s   M a d i s o n   U n i v e r s i t y
5 4 0 . 5 6 8 . 3 7 3 0



More information about the users mailing list