Hello,

In CAS version 4.2.x I was able to make URL in logo configurable using 

  <header>
    <spring:eval expression="@casProperties.getProperty('cas.logo.url', 
'http://www.apereo.org')" var="customHeaderLink" />
    <a id="logo" href="<c:url value="${customHeaderLink}" />" 
title="<spring:message code="logo.title" />">CAS</a>
    <h1>Central Authentication Service (CAS)</h1>
  </header>

For CAS 5.0.x I am not able to repeat it as casProperties bean is not 
available. Are there some possibilities to access properties from 
cas.properties/application.yml?

<header>
    <a id="logo" th:href="${@casProperties.getProperty('cas.logo.url', '
http://www.apereo.org')}" th:title="#{logo.title}">Apereo</a>
    <h1>Central Authentication Service (CAS)</h1>
</header>


Thanks,
Jozef

-- 
- 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/c6c206cb-bc30-431a-8ca6-bab6525ba6a4%40apereo.org.

Reply via email to