Small typo on attribute-release.vm or not?
Marco Malavolti
marco.malavolti at garr.it
Wed Jun 22 07:16:24 EDT 2016
I reviewed my shibboleth configuration files:
root at shib-idp:/opt/shibboleth-idp# cat /usr/local/src/shibboleth-identity-provider-3.2.1/dist/views/login.vm.dist | grep idp.logo
<img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
root at shib-idp:/opt/shibboleth-idp# cat /usr/local/src/shibboleth-identity-provider-3.2.1/dist/views/intercept/attribute-release.vm.dist | grep idp.logo
<img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")" class="federation_logo">
And I have found that the issue is only mine.
I think to have created a new login.vm file for the Interface of my IdP
and I have lost the "$request.getContextPath()" on the way...
I have restored the "$request.getContextPath()" also into my custom
"login.vm" and now it works well.
Sorry, I need an holiday.
:)
Cheers,
Marco
Il 22/06/2016 12.07, Peter Schober ha scritto:
> * Marco Malavolti <marco.malavolti at garr.it> [2016-06-22 11:07]:
>> The problem is that the "idp.logo" is defined on
>> "error-messages.properties" that is used by login.vm and
>> attribute-release.vm but with 2 different results.
> If it cannot be made to work with any property value (because of
> inconsistent use of the value in the templates) then it can only be an
> oversight. Be sure to record it in the issue tracker so it won't get
> lost. Cheers,
> -peter
--
Marco Malavolti
Consortium GARR - Servizio IDEM GARR AAI
Via dei Tizii, 6 - I-00185 (ROMA)
CF: 37284570583 - PI:07577141000
Skype: marco.mala
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3608 bytes
Desc: Firma crittografica S/MIME
URL: <http://shibboleth.net/pipermail/users/attachments/20160622/a93a59d3/attachment-0001.p7s>
More information about the users
mailing list