canuonifeng / simple-cas4-overlay-template

Base CAS4 maven war overlay template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAS4 Overlay Template

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

Versions

<cas.version>4.1.2</cas.version>

Recommended Requirements

  • JDK 1.7+

Configuration

The etc directory contains the configuration files that need to be copied to /cas/etc.

Current files are:

  • cas.properties
  • log4j2.xml

Build

mvnw clean package

or

mvnw.bat clean package

Deployment

Embedded Jetty

  • Create a Java keystore at /etc/cas/jetty/thekeystore with the password changeit.
  • Import your CAS server certificate inside this keystore.
mvnw jetty:run-forked

CAS will be available at:

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

External

Deploy resultant target/cas.war to a Servlet container of choice.

About

Base CAS4 maven war overlay template

License:Apache License 2.0


Languages

Language:Shell 54.9%Language:Batchfile 45.1%