about summary refs log tree commit diff
path: root/third_party/apereo-cas/overlay/etc
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-25T23·00+0300
committerclbot <clbot@tvl.fyi>2021-12-26T00·10+0000
commit28a80e02514fe8c13e1826fda5d53f938105d600 (patch)
treeb338a8ed7650374562d3bb429f86d710a181a7b6 /third_party/apereo-cas/overlay/etc
parent738cca62c1c4b5297d636fc331cd49bd82eaa0a6 (diff)
chore: friendship ended with cas, now keycloak is our best friend r/3411
Note that the login.tvl.fyi WWW configuration is still kind of hanging
around until we've settled where Keycloak lives.

Change-Id: Iaca4e394a7371cafa3716ca66ef09c4eca5b1520
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4626
Autosubmit: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'third_party/apereo-cas/overlay/etc')
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/config/cas.properties39
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/config/log4j2.xml84
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/saml/.gitkeep1
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/services/.donotdel0
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/services/samltest-1.json8
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/thekeystorebin2266 -> 0 bytes
6 files changed, 0 insertions, 132 deletions
diff --git a/third_party/apereo-cas/overlay/etc/cas/config/cas.properties b/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
deleted file mode 100644
index 01515613d7ac..000000000000
--- a/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
+++ /dev/null
@@ -1,39 +0,0 @@
-cas.server.name=https://login.tvl.fyi
-cas.server.prefix=${cas.server.name}
-cas.server.scope=tvl.fyi
-server.tomcat.basedir=/etc/cas/tomcat
-server.servlet.context.path=/
-
-cas.service-registry.json.location=file:/etc/cas/services
-
-server.port=8444
-server.address=127.0.0.1
-server.ssl.enabled=false
-
-# Enable X-Forwarded-For using Tomcat.
-server.forward-headers-strategy=NATIVE
-server.tomcat.remoteip.remote-ip-header=x-forwarded-for
-server.tomcat.remoteip.protocol-header=x-forwarded-proto
-
-server.tomcat.basedir=/etc/cas/tomcat
-server.servlet.context-path=/
-
-cas.authn.saml-idp.entity-id=https://login.tvl.fyi
-
-cas.authn.accept.users=
-
-cas.authn.attribute-repository.default-attributes-to-release=uid,mail,displayName,username,principalLdapDn
-
-cas.authn.ldap[0].pool-passivator=NONE
-cas.authn.ldap[0].principal-attribute-list=cn:uid,mail,displayName,cn:username
-cas.authn.ldap[0].collect-dn-attribute=true
-cas.authn.ldap[0].principal-dn-attribute-name=principalLdapDn
-cas.authn.ldap[0].ldap-url=ldap://localhost
-cas.authn.ldap[0].use-start-tls=false
-cas.authn.ldap[0].validator.base-dn=dc=tvl,dc=fyi
-cas.authn.ldap[0].base-dn=dc=tvl,dc=fyi
-cas.authn.ldap[0].search-filter=cn={user}
-cas.authn.ldap[0].dn-format=cn=%s,ou=users,dc=tvl,dc=fyi
-cas.authn.ldap[0].type=DIRECT
-
-cas.authn.oidc.issuer=${cas.server.name}/oidc
diff --git a/third_party/apereo-cas/overlay/etc/cas/config/log4j2.xml b/third_party/apereo-cas/overlay/etc/cas/config/log4j2.xml
deleted file mode 100644
index d7d5bb65e904..000000000000
--- a/third_party/apereo-cas/overlay/etc/cas/config/log4j2.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<Configuration monitorInterval="5" packages="org.apereo.cas.logging">
-    <Properties>
-        <Property name="baseDir">/var/log</Property>
-
-        <Property name="cas.log.level">info</Property>
-        <Property name="spring.webflow.log.level">warn</Property>
-        <Property name="spring.security.log.level">info</Property>
-        <Property name="spring.cloud.log.level">warn</Property>
-        <Property name="spring.boot.admin.log.level">debug</Property>
-        <Property name="spring.web.log.level">warn</Property>
-        <Property name="spring.boot.log.level">warn</Property>
-        <Property name="ldap.log.level">warn</Property>
-        <Property name="pac4j.log.level">warn</Property>
-        <Property name="opensaml.log.level">warn</Property>
-        <Property name="hazelcast.log.level">warn</Property>
-    </Properties>
-    <Appenders>
-        <Console name="console" target="SYSTEM_OUT">
-            <PatternLayout pattern="%highlight{%d %p [%c] - &lt;%m{nolookups}&gt;}%n"/>
-        </Console>
-
-        <CasAppender name="casConsole">
-            <AppenderRef ref="console" />
-        </CasAppender>
-    </Appenders>
-    <Loggers>
-        <!-- If adding a Logger with level set higher than warn, make category as selective as possible -->
-        <!-- Loggers inherit appenders from Root Logger unless additivity is false -->
-        <AsyncLogger name="org.apereo" level="${sys:cas.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.apereo.services.persondir" level="${sys:cas.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.apereo.cas.web.flow" level="${sys:cas.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.apereo.spring" level="${sys:cas.log.level}" includeLocation="true"/>
-
-        <AsyncLogger name="org.apache" level="warn" />
-        <AsyncLogger name="org.apache.http" level="error" />
-
-        <AsyncLogger name="org.springframework.boot" level="${sys:spring.boot.log.level" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.boot.context.embedded" level="info" includeLocation="true" />
-        <AsyncLogger name="org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration"
-        level="${sys:spring.security.log.level}" includeLocation="true" />
-        <AsyncLogger name="org.springframework.boot.autoconfigure.security" level="${sys:spring.security.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.boot.devtools" level="off" includeLocation="true"/>
-
-        <AsyncLogger name="org.springframework" level="warn" includeLocation="true" />
-        <AsyncLogger name="org.springframework.webflow" level="${sys:spring.webflow.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.aop" level="warn" includeLocation="true" />
-        <AsyncLogger name="org.springframework.web" level="warn" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.session" level="warn" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.scheduling" level="info" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.cloud.vault" level="warn" includeLocation="true" />
-        <AsyncLogger name="org.springframework.web.client" level="warn" includeLocation="true" />
-        <AsyncLogger name="org.springframework.security" level="${sys:spring.security.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.cloud" level="${sys:spring.cloud.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.amqp" level="error" />
-        <AsyncLogger name="org.springframework.integration" level="warn" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.messaging" level="warn" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.web" level="${sys:spring.web.log.level}" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.orm.jpa" level="warn" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.scheduling" level="warn" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.context.annotation" level="off" includeLocation="true"/>
-        <AsyncLogger name="org.springframework.web.socket" level="warn" includeLocation="true"/>
-
-        <AsyncLogger name="org.thymeleaf" level="warn" includeLocation="true"/>
-
-        <AsyncLogger name="org.pac4j" level="${sys:pac4j.log.level}" includeLocation="true"/>
-
-        <AsyncLogger name="org.opensaml" level="${sys:opensaml.log.level}" includeLocation="true"/>
-        <AsyncLogger name="PROTOCOL_MESSAGE" level="${sys:opensaml.log.level}" includeLocation="true" />
-
-        <AsyncLogger name="net.sf.ehcache" level="warn" includeLocation="true"/>
-        <AsyncLogger name="com.couchbase" level="warn" includeLocation="true"/>
-        <AsyncLogger name="de.codecentric" level="${sys:spring.boot.admin.log.level}" includeLocation="true"/>
-        <AsyncLogger name="net.jradius" level="warn" includeLocation="true" />
-        <AsyncLogger name="org.openid4java" level="warn" includeLocation="true" />
-        <AsyncLogger name="org.ldaptive" level="${sys:ldap.log.level}" includeLocation="true"/>
-        <AsyncLogger name="com.hazelcast" level="${sys:hazelcast.log.level}" includeLocation="true"/>
-
-        <!-- All Loggers inherit appenders specified here, unless additivity="false" on the Logger -->
-        <AsyncRoot level="warn">
-            <AppenderRef ref="casConsole"/>
-        </AsyncRoot>
-    </Loggers>
-</Configuration>
diff --git a/third_party/apereo-cas/overlay/etc/cas/saml/.gitkeep b/third_party/apereo-cas/overlay/etc/cas/saml/.gitkeep
deleted file mode 100644
index 882c99944dc5..000000000000
--- a/third_party/apereo-cas/overlay/etc/cas/saml/.gitkeep
+++ /dev/null
@@ -1 +0,0 @@
-This directory is references in the Dockerfile so it needs to be here. 
\ No newline at end of file
diff --git a/third_party/apereo-cas/overlay/etc/cas/services/.donotdel b/third_party/apereo-cas/overlay/etc/cas/services/.donotdel
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/third_party/apereo-cas/overlay/etc/cas/services/.donotdel
+++ /dev/null
diff --git a/third_party/apereo-cas/overlay/etc/cas/services/samltest-1.json b/third_party/apereo-cas/overlay/etc/cas/services/samltest-1.json
deleted file mode 100644
index 37ea1be98135..000000000000
--- a/third_party/apereo-cas/overlay/etc/cas/services/samltest-1.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService",
-  "serviceId" : "https://samltest.id/saml/sp",
-  "name" : "SAMLTest SP",
-  "id" : 1,
-  "evaluationOrder" : 10,
-  "metadataLocation" : "https://samltest.id/saml/sp"
-}
diff --git a/third_party/apereo-cas/overlay/etc/cas/thekeystore b/third_party/apereo-cas/overlay/etc/cas/thekeystore
deleted file mode 100644
index 78f49baf743b..000000000000
--- a/third_party/apereo-cas/overlay/etc/cas/thekeystore
+++ /dev/null
Binary files differ