about summary refs log tree commit diff
path: root/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/apereo-cas/overlay/etc/cas/config/cas.properties')
-rw-r--r--third_party/apereo-cas/overlay/etc/cas/config/cas.properties39
1 files changed, 39 insertions, 0 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
new file mode 100644
index 000000000000..01515613d7ac
--- /dev/null
+++ b/third_party/apereo-cas/overlay/etc/cas/config/cas.properties
@@ -0,0 +1,39 @@
+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