-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.properties
24 lines (20 loc) · 1005 Bytes
/
bootstrap.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=file:///etc/cas/config
spring.cloud.config.server.prefix=/status/configserver
cas.authn.policy.any.tryAll=false
### Database Authentication - Query ###
cas.authn.jdbc.query[0].sql=SELECT password FROM user WHERE username=?
cas.authn.jdbc.query[0].healthQuery=SELECT 1 FROM DUAL
cas.authn.jdbc.query[0].url=jdbc:mysql://db:3306/cas
cas.authn.jdbc.query[0].user=cas
cas.authn.jdbc.query[0].password=cas
cas.authn.jdbc.query[0].driverClass=com.mysql.jdbc.Driver
cas.authn.jdbc.query[0].passwordEncoder.type=NONE
cas.authn.jdbc.query[1].sql=SELECT password FROM user WHERE username=?
cas.authn.jdbc.query[1].healthQuery=SELECT 1 FROM DUAL
cas.authn.jdbc.query[1].url=jdbc:mysql://db:3306/cas
cas.authn.jdbc.query[1].user=cas
cas.authn.jdbc.query[1].password=cas
cas.authn.jdbc.query[1].driverClass=com.mysql.jdbc.Driver
cas.authn.jdbc.query[1].passwordEncoder.type=BCRYPT
# cas.authn.jdbc.query[1].passwordEncoder.strength=12