sdcuike / cas-overlay-template

Base CAS4 maven war overlay template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAS Overlay Template

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

Versions

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

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.

教程

见教程:http://www.kafeitu.me/sso/2010/11/05/sso-cas-full-course.html

About

Base CAS4 maven war overlay template

License:Apache License 2.0


Languages

Language:Shell 47.0%Language:Batchfile 38.7%Language:Java 14.3%