general:linux:cas
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| general:linux:cas [2021/03/16 09:16] – sunkan | general:linux:cas [2021/03/16 14:36] (current) – [Updated instructions for Apereo CAS 6.3 on Debian Buster] sunkan | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== CAS WAR overlay ===== | ===== CAS WAR overlay ===== | ||
| - | asuadmin@wrkm-guacamole: | + | $ git clone https:// |
| - | asuadmin@wrkm-guacamole: | + | $ git checkout 5.1 |
| Line 104: | Line 104: | ||
| ====== Updated instructions for Apereo CAS 6.3 on Debian Buster ====== | ====== Updated instructions for Apereo CAS 6.3 on Debian Buster ====== | ||
| + | |||
| + | To just build the standard default build | ||
| + | <code bash> | ||
| + | $ git clone https:// | ||
| + | $ git checkout origin/6.3 -b wrkm-6.3 | ||
| + | |||
| + | $ ./gradlew build | ||
| + | |||
| + | [...] | ||
| + | |||
| + | $ ls -l build/ | ||
| + | -rw-r--r-- 1 xxx xxx 101063231 Mar 16 09:18 build/ | ||
| + | </ | ||
| + | |||
| + | Add our dependencies, | ||
| + | <code diff> | ||
| + | diff --git a/ | ||
| + | index 89791ab..3d646b4 100644 | ||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -82,6 +82,14 @@ dependencies { | ||
| + | } | ||
| + | // CAS dependencies/ | ||
| + | | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | + implementation " | ||
| + | } | ||
| + | |||
| + | | ||
| + | diff --git a/ | ||
| + | index cd77ab2..4c0e900 100644 | ||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -4,7 +4,7 @@ springBootVersion=2.3.7.RELEASE | ||
| + | |||
| + | # Use -jetty, -undertow to other containers | ||
| + | # Or blank if you want to deploy to an external container | ||
| + | -appServer=-tomcat | ||
| + | +appServer= | ||
| + | | ||
| + | |||
| + | | ||
| + | </ | ||
| + | |||
| + | Extract the War to get hold of the files that may need to be modified | ||
| + | <code bash> | ||
| + | $ ./gradlew explodeWar | ||
| + | </ | ||
| + | |||
| + | Then copy and modify files like so: | ||
| + | <code bash> | ||
| + | cp build/ | ||
| + | </ | ||
| + | |||
| + | Added to the server.xml - in addition to previous noted changes | ||
| + | < | ||
| + | <!-- Remote IP Valve - to parse the X-Forwarded-For type headers --> | ||
| + | <Valve className=" | ||
| + | </ | ||
general/linux/cas.1615886178.txt.gz · Last modified: 2021/03/16 09:16 by sunkan