This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/syncope.git
commit f7bf6fb03ed8e769a13df8706b5799f730f7aebb Author: Francesco Chicchiriccò <[email protected]> AuthorDate: Thu Aug 7 08:28:20 2025 +0200 Aligning with CAS --- wa/starter/pom.xml | 4 ++++ .../main/java/org/apache/syncope/wa/starter/SyncopeWAApplication.java | 2 +- .../src/main/resources/thymeleaf/templates/fragments/footer.html | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/wa/starter/pom.xml b/wa/starter/pom.xml index 522dc6acc6..3806e684d3 100644 --- a/wa/starter/pom.xml +++ b/wa/starter/pom.xml @@ -131,6 +131,10 @@ under the License. <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-events-configuration</artifactId> </dependency> + <dependency> + <groupId>org.apereo.cas</groupId> + <artifactId>cas-server-support-configuration-metadata-repository</artifactId> + </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-webconfig</artifactId> diff --git a/wa/starter/src/main/java/org/apache/syncope/wa/starter/SyncopeWAApplication.java b/wa/starter/src/main/java/org/apache/syncope/wa/starter/SyncopeWAApplication.java index 2221969411..fb9cdfe8c0 100644 --- a/wa/starter/src/main/java/org/apache/syncope/wa/starter/SyncopeWAApplication.java +++ b/wa/starter/src/main/java/org/apache/syncope/wa/starter/SyncopeWAApplication.java @@ -25,7 +25,7 @@ import org.apache.syncope.wa.bootstrap.WARestClient; import org.apache.syncope.wa.starter.config.WARefreshContextJob; import org.apereo.cas.config.CasGoogleAuthenticatorLdapAutoConfiguration; import org.apereo.cas.configuration.CasConfigurationProperties; -import org.apereo.cas.configuration.CasConfigurationPropertiesValidator; +import org.apereo.cas.metadata.CasConfigurationPropertiesValidator; import org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGenerator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/wa/starter/src/main/resources/thymeleaf/templates/fragments/footer.html b/wa/starter/src/main/resources/thymeleaf/templates/fragments/footer.html index 8ba1fd7b45..1bcc9ed494 100644 --- a/wa/starter/src/main/resources/thymeleaf/templates/fragments/footer.html +++ b/wa/starter/src/main/resources/thymeleaf/templates/fragments/footer.html @@ -16,7 +16,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<footer th:if="${'true' == #strings.defaultString(#themes.code('cas.footer.show'), 'true')}" +<footer th:if="${#cas.isTrue(#cas.theme('cas.footer.show'))}" class="py-3 d-flex justify-content-center align-items-center cas-footer"> <div class="pb-1 pt-1"> <span id="copyright" class="me-2 d-inline-block">Copyright © 2010-${year} @@ -30,7 +30,7 @@ under the License. <span th:utext="#{poweredBy}">Powered by </span><a href="https://github.com/apereo/cas">Apereo CAS</a> </span> <code class="version" - th:if="${'true' == #strings.defaultString(#themes.code('cas.footer.show-version'), 'true')}" + th:if="${#cas.isTrue(#cas.theme('cas.footer.show-version'))}" th:text="${T(org.apereo.cas.util.CasVersion).getVersion() + ' ' + T(org.apereo.cas.util.CasVersion).getDateTime()}"></code> </div> </footer>
