Ok, now I understand what you are trying to do, but I don't think that you can do it without editing messages{_xx}.properties. screen.mustchangepass.message doesn't have a {0} in it, so there is nothing to replace... The url is hard coded in the message.

Regards,
Pavlos

On 21/06/2017 06:38 μμ, Ludovic Senecaux wrote:
I want to display a correct URL (defined in cas.properties) to users without modify messages.properties. I put a parameter to #{screen.mustchangepass.message} inn pwdupdatepass.html file that override "{0}" variable in messages_XX.properties like it is explained here : http://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#variables

Regards,

Le 21 juin 2017 16:25, "Pavlos Drandakis" <[email protected] <mailto:[email protected]>> a écrit :


    On 21/06/2017 12:10 μμ, Ludovic Senecaux wrote:

        Thanks Pavlos, it works !

    Glad to hear it :-)


        Have you found any workarouds for :

        1/ the use of pwdGraceAuthNLimit

    When pwdGraceAuthNLimit was enabled, I was keep getting NPE in
    logs and nothing in login form. After this change:
    https://github.com/apereo/cas/pull/2697
    <https://github.com/apereo/cas/pull/2697> everything seems to
    work, as expected (User is presented with the
    password.expiration.loginsRemain message )

        2/ customize URL for password update (I tried to set
        "#{screen.mustchangepass.message(${cas.authn.pm
        <http://cas.authn.pm>.changeUrl})}" in pwdupdateform.html, but
        unsuccessfully)

    I am not sure that I understand your question... Isn't editing
    screen.mustchangepass.message in messages.properties what you need?


        Regards,

    Regards,
    Pavlos




--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d2526054-7475-b065-815b-c52b25694520%40noc.edunet.gr.

Reply via email to