-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication.yaml
More file actions
82 lines (77 loc) · 1.81 KB
/
application.yaml
File metadata and controls
82 lines (77 loc) · 1.81 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
loginsvc:
rest:
# Rest General Config
jwt:
generate-in-memory:
access-exp-time: 15min
refresh-exp-time: 10h
key-rotation-time: 20sec
key-phase-out-time: 10sec
key-lay-over-time: 5sec
alg-name: "RS256"
# Rest Auth Config (AD)
auth:
provider:
ldap:
order: 2
domain: "some.domain.com"
url: "ldaps://some.domain.com:636/"
search-filter: "(samaccountname={1})"
service-account:
account-pattern: "CN=svc-ldap,OU=Users,OU=Accounts,DC=domain,DC=subdomain,DC=com"
in-config-account:
username: "svc-ldap"
password: "password"
attributes:
mail: "email"
displayname: "displayname"
# Users (config-defined)
users:
order: 1
known-users:
- username: "user1"
password: "password1"
groups:
- "group1"
- username: "user2"
password: "password2"
groups:
- "group2"
attributes:
displayname: "User Two"
mail: "user@two.org"
# App Config
spring:
application:
name: "login-service"
jmx:
enabled: true
server:
port: 9090
# Health and Info Check Config + JMX Config
springdoc:
show-actuator: true
management:
health:
ldap:
#TODO: Enable Ldap check for actuator/health when fully Implemented - issue #34
enabled: "false"
info:
env:
enabled: "true"
endpoints:
jmx:
exposure:
include:
- "health"
- "info"
web:
exposure:
include:
- "health"
- "info"
endpoint:
health:
show-details: "never"
info:
test: "This is a test value"