-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathapplication.yml
42 lines (38 loc) · 962 Bytes
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
server:
port: 8081
security:
cas:
authorization:
mode: role
roles: USER
user:
default-roles: USER
proxy-validation:
chains:
- http://localhost:8180, http://localhost:8181
- - http://localhost:8280
- http://localhost:8281
server:
base-url: http://localhost:8080/cas/
protocol-version: 3
service:
resolution-mode: dynamic
---
spring:
config:
activate:
on-profile: docker
security:
cas:
server:
# Browser/client base url, that uses external exposed port that why is 8082
base-url: http://localhost:8082/cas/
# Server-to-server base url, that uses internal docker network so with port mapping that why is 8080
validation-base-url: http://cas:8080/cas/
service:
callback-base-url: http://app:8081/cas/
paths:
proxy-callback: /cas/proxy-callback
logging:
level:
org.jasig.cas.client.validation: debug