Go to file
Misagh Moayyed 8e99c2374e
Update gradle.properties
2019-11-23 13:51:02 +04:00
etc/cas Allow logging level for spring boot admin client to be adjusted easily 2018-12-09 20:07:54 -05:00
gradle Fix createKeystore 2018-12-09 22:53:16 -05:00
src/main/jib/docker move commands to gradle 2018-11-27 15:37:10 -07:00
.gitattributes makes sure shell scripts don't have windows crlf 2018-11-10 12:07:20 -05:00
.gitignore working on overlay 2018-07-30 17:05:44 +04:30
LICENSE.txt Added Apache v2 license 2014-06-27 12:31:38 -04:00
README.md clean up overlay for gradle 2018-08-04 15:18:52 +04:30
build.cmd Allow logging level for spring boot admin client to be adjusted easily 2018-12-09 20:07:54 -05:00
build.gradle working on dependency exclusions 2018-12-04 07:05:45 -07:00
build.sh move commands into gradle build 2018-11-27 16:58:29 -07:00
gradle.properties Update gradle.properties 2019-11-23 13:51:02 +04:00
gradlew clean up overlay for gradle 2018-08-04 15:18:52 +04:30
gradlew.bat clean up overlay for gradle 2018-08-04 15:18:52 +04:30
settings.gradle work on native docker imaging 2018-11-09 16:46:54 +03:30

README.md

CAS Overlay Template

Generic CAS WAR overlay to exercise the latest versions of CAS. This overlay could be freely used as a starting template for local CAS war overlays.

Versions

  • CAS 6.0.x
  • JDK 11

Overview

You may invoke build commands using the build.sh script to work with your chosen overlay using:

./build.sh [command]

To see what commands are available to the build script, run:

./build.sh help

Configuration

  • The etc directory contains the configuration files and directories that need to be copied to /etc/cas/config.
  • The specifics of the build are controlled using the gradle.properties file.

Adding Modules

CAS modules may be specified under the dependencies block of the Gradle build script:

dependencies {
    compile "org.apereo.cas:cas-server-some-module:${project.casVersion}"
    ...
}

Study material:

Clear Gradle Cache

If you need to, on Linux/Unix systems, you can delete all the existing artifacts (artifacts and metadata) Gradle has downloaded using:

# Only do this when absolutely necessary!
rm -rf $HOME/.gradle/caches/

Same strategy applies to Windows too, provided you switch $HOME to its equivalent in the above command.

Deployment

  • Create a keystore file thekeystore under /etc/cas. Use the password changeit for both the keystore and the key/certificate entries.
  • Ensure the keystore is loaded up with keys and certificates of the server.

On a successful deployment via the following methods, CAS will be available at:

  • https://cas.server.name:8443/cas

Executable WAR

Run the CAS web application as an executable WAR.

./build.sh run

External

Deploy the binary web application file cas.war after a successful build to a servlet container of choice.