diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07ca5db..8c452e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: '11' + java-version: '17' check-latest: true - name: build the exploded CAS webapp diff --git a/Dockerfile b/Dockerfile index 7203172..0339b11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM jetty:9.4-jre11 +FROM jetty:9.4-jre17 LABEL "Organization"="geOrchestra" LABEL "Description"="CAS server webapp" diff --git a/README.md b/README.md index 6e97e1b..c787457 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ $ ./gradlew explodeWarOnly Then Build a docker image using: ``` -$ docker build -t georchestra/cas:6.3 . +$ docker build -t georchestra/cas:6.6 . ``` Contrary to upstream, we don't make use of the jib gradle plugin to build the docker image. diff --git a/gradle.properties b/gradle.properties index d99bde0..d10b9fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,27 +1,27 @@ # Versions -cas.version=6.3.7.4 -springBootVersion=2.4.5 +cas.version=6.6.15 +springBootVersion=2.7.3 # Use -jetty, -undertow to other containers # Or blank if you want to deploy to an external container appServer= executable=false -tomcatVersion=9.0.45 +tomcatVersion=9.0.84 org.gradle.dependency.verification.console=verbose group=org.apereo.cas sourceCompatibility=11 -targetCompatibility=11 +targetCompatibility=17 # Location of the downloaded CAS shell JAR shellDir=build/libs -ivyVersion=2.4.0 +ivyVersion=2.5.0 gradleDownloadTaskVersion=4.1.1 -gradleMavenPluginVersion=5.2.1 -gradleLombokPluginVersion=5.2.1 +gradleMavenPluginVersion=6.3.0 +gradleLombokPluginVersion=6.3.0 baseDockerImage=jetty:9.4-jre11 allowInsecureRegistries=false diff --git a/gradle/springboot.gradle b/gradle/springboot.gradle index 5a5dda2..90712f8 100644 --- a/gradle/springboot.gradle +++ b/gradle/springboot.gradle @@ -58,7 +58,7 @@ bootRun { springBoot { buildInfo() - mainClassName = "org.apereo.cas.web.CasWebApplication" + mainClass = "org.apereo.cas.web.CasWebApplication" } bootBuildImage { @@ -75,7 +75,6 @@ bootWar { } archiveName "${casWebApplicationBinaryName}" baseName "cas" - excludeDevtools = false entryCompression = ZipEntryCompression.STORED /* diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f371643..84d1f85 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/resources/georchestra.properties b/src/main/resources/georchestra.properties index dbd4cae..16e0e48 100644 --- a/src/main/resources/georchestra.properties +++ b/src/main/resources/georchestra.properties @@ -1,3 +1,3 @@ cas.standard.css.file=/themes/georchestra/css/cas.css cas.standard.js.file=/themes/georchestra/js/cas.js - \ No newline at end of file +cas.favicon.file=/themes/georchestra/favicon.ico diff --git a/src/main/resources/static/themes/georchestra/favicon.ico b/src/main/resources/static/themes/georchestra/favicon.ico new file mode 100644 index 0000000..84c0034 Binary files /dev/null and b/src/main/resources/static/themes/georchestra/favicon.ico differ diff --git a/src/main/resources/templates/georchestra/casGenericSuccessView.html b/src/main/resources/templates/georchestra/login/casGenericSuccessView.html similarity index 100% rename from src/main/resources/templates/georchestra/casGenericSuccessView.html rename to src/main/resources/templates/georchestra/login/casGenericSuccessView.html diff --git a/src/main/resources/templates/georchestra/login/casLoginView.html b/src/main/resources/templates/georchestra/login/casLoginView.html new file mode 100644 index 0000000..53373b5 --- /dev/null +++ b/src/main/resources/templates/georchestra/login/casLoginView.html @@ -0,0 +1,47 @@ + + + +
+ + + +