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:19] – [Updated instructions for Apereo CAS 6.3 on Debian Buster] 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 106: | Line 106: | ||
To just build the standard default build | To just build the standard default build | ||
- | < | + | < |
- | git clone https:// | + | $ git clone https:// |
- | git checkout origin/6.3 -b wrkm-6.3 | + | $ git checkout origin/6.3 -b wrkm-6.3 |
- | ./gradlew build | + | $ ./gradlew build |
[...] | [...] | ||
Line 118: | Line 118: | ||
</ | </ | ||
+ | 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.1615886399.txt.gz · Last modified: 2021/03/16 09:19 by sunkan