/
application.yml
115 lines (106 loc) · 2.68 KB
/
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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
api_token:
secret: SecretKeyToGenJWTs
repository-snapshots: true
#server:
# servlet:
# context-path: /rdepot/app
declarative: false
#repositories:
# - name: A
# publication-uri: http://localhost/repo/A13
# server-address: http://oa-rdepot-repo:8080/A13
# - name: D
# publication-uri: http://localhost/repo/D
# server-address: http://oa-rdepot-repo:8080/D
# Email related properties
spring:
mail:
enabled: false
password: mysecretpassword
username: rdepot
host: 192.168.49.1
port: 3925
# Enable Liquibase
liquibase:
user: postgres
enabled: true
# Authentication related properties
app:
authentication: simple
# LDAP related properties
ldap:
url: ldap://oa-rdepot-ldap:389
basedn: dc=example,dc=org
userou:
loginfield: cn
namefield:
- givenName
- sn
emailfield: mail
default:
admins: einstein
# Keycloak related properties
keycloak:
baseUrl: http://localhost:8017
auth-server-url: http://192.168.49.17:8080/auth
realm: RDepot
resource: oa-rdepot-app
ssl-required: external
credentials-secret: 68951b41-39bd-4f1f-b7e8-d17228c8132c
principal-attribute: preferred_username
default:
admins:
- einstein
name-mapping: "{givenName} {familyName}"
# OpenID Connect related properties
openid:
auth-url: http://localhost:9000/auth
token-url: http://oa-rdepot-openid:9000/token
jwks-url: http://oa-rdepot-openid:9000/certs
client-id: rdepot
client-secret: mysecret123
username-attribute: nickname
baseUrl: http://localhost:8017
registrationId: rdepot
logout-url: http://localhost:9000/session/end
default:
admins:
- einstein
delete_cookies:
- name: _session
- name: _state.rdepot
name-mapping: "{fullName}"
# Simple authentication related properties
simple:
users:
- login: einstein
password: testpassword
name: Albert Einstein
- login: tesla
password: testpassword
name: Nicolas Tesla
- login: galieleo
password: testpassword
name: Galileo Galilei
- login: newton
password: testpassword
name: Isaac Newton
- login: newbie
password: testpassword
name: New User
- login: doe
password: testpassword
name: John Doe
default:
admins:
- einstein
# Database related properties
db:
driver: org.postgresql.Driver
url: jdbc:postgresql://oa-rdepot-db:5432/rdepot
username: rdepot
password: mysecretpassword
# Hibernate related properties
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
show_sql: false