====== Installing Apereo CAS server on Debian Jessie (together with Guacamole) ======
===== CAS WAR overlay =====
$ git clone https://github.com/apereo/cas-overlay-template
$ git checkout 5.1
We want JSON service registry, google auth and ldap support \\
Diff for adding our extra dependencies to pom.xml
$ git diff pom.xml
diff --git a/pom.xml b/pom.xml
index 126dc7c..51e35f0 100755
--- a/pom.xml
+++ b/pom.xml
@@ -66,13 +66,43 @@
war
runtime
+
+ org.apereo.cas
+ cas-server-webapp-config-security
+ ${cas.version}
+
+
+ org.apereo.cas
+ cas-server-support-jdbc-drivers
+ ${cas.version}
+
+
+ org.apereo.cas
+ cas-server-support-json-service-registry
+ ${cas.version}
+
+
+ org.apereo.cas
+ cas-server-support-gauth
+ ${cas.version}
+
+
+ org.apereo.cas
+ cas-server-support-gauth-jpa
+ ${cas.version}
+
+
+ org.apereo.cas
+ cas-server-support-ldap
+ ${cas.version}
+
5.1.9
1.5.3.RELEASE
- -tomcat
+
1.8
1.8
UTF-8
asuadmin@wrkm-guacamole:~/cas-overlay-template$ bash build.sh package \\
root@wrkm-guacamole:/home/asuadmin/cas-overlay-template# cp target/cas.war /var/lib/tomcat8/webapps/
===== Fix so logging works =====
root@wrkm-guacamole:~# mkdir -p /etc/cas/logs
root@wrkm-guacamole:~# chown tomcat8 /etc/cas/logs/
===== Make connections to port :8080 trusted as secure =====
We can do this since we use HTTPS on the reverse proxy to localhost:8080
root@wrkm-guacamole:/etc/tomcat8# diff -u /etc/tomcat8/server.xml-org /etc/tomcat8/server.xml
--- /etc/tomcat8/server.xml-org 2017-06-21 13:36:46.000000000 +0200
+++ /etc/tomcat8/server.xml 2017-11-05 21:08:49.050114344 +0100
@@ -68,7 +68,7 @@
-->
+ secure="true" />