Skip to content

Commit c06b902

Browse files
committed
corrections
1 parent a7f80f8 commit c06b902

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

rootfs/data/etc/cas.properties

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@ cas.authn.ldap\[0\].principal-attribute-list=${LDAP_ATTRIBUTES_LIST}
2020
cas.authn.ldap\[0\].bind-dn=${LDAP_BIND_DN}
2121
cas.authn.ldap\[0\].bind-credential=${LDAP_BIND_CREDENTIAL}
2222

23+
24+
#management
25+
#management.endpoint.info.enabled=true
26+
#management.endpoints.web.exposure.include=*
27+
#management.endpoints.enabled-by-default=true
28+
#cas.monitor.endpoints.endpoint.defaults.access=IP_ADDRESS
29+
#cas.monitor.endpoints.endpoint.info.access=IP_ADDRESS
30+
#cas.monitor.endpoints.endpoint.info.required-ip-addresses=10.0.0.0/8
31+
#cas.monitor.endpoints.endpoint.defaults.required-ip-addresses=10.0.0.0/8
32+

rootfs/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ fi
2121
if [ ! -f /etc/cas/config/log4j2.xml ]; then
2222
cp /data/etc/log4j2.xml /etc/cas/config/log4j2.xml
2323
fi
24+
if [ ! -f /etc/cas/config/admin-users.json ]; then
25+
cp /data/etc/admin-users.json /etc/cas/config
26+
fi
2427
if [ ! -f /etc/cas/thekeystore ] ; then
2528
echo "generate keystore"
2629
cd /etc/cas

src/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,6 @@ dependencies {
283283
implementation "org.apereo.cas:cas-server-support-themes-collection:${project.'cas.version'}"
284284
implementation "org.apereo.cas:cas-server-support-generic:${project.'cas.version'}"
285285
implementation "org.apereo.cas:cas-server-support-saml:${project.'cas.version'}"
286+
implementation "org.apereo.cas:cas-server-core-monitor:${project.'cas.version'}"
287+
286288
}

0 commit comments

Comments
 (0)