Projekt

Obecné

Profil

Stáhnout (1.46 KB) Statistiky
| Větev: | Tag: | Revize:
1
# jpa settings
2
spring.jpa.hibernate.ddl-auto=update
3
spring.jpa.show-sql=true
4
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
5

    
6
# mysql database connection:
7
spring.datasource.jdbc-url=jdbc:mysql://localhost:3306/spade
8
spring.datasource.username=root
9
spring.datasource.password=
10
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
11

    
12
# mssql database connection:
13
spring.second-datasource.jdbc-url=jdbc:mysql://localhost:3306/authspade
14
spring.second-datasource.username=root
15
spring.second-datasource.password=
16
spring.second-datasource.driverClassName=com.mysql.cj.jdbc.Driver
17

    
18

    
19
# custom error pages
20
server.error.whitelabel.enabled=false
21

    
22
# logger
23
logging.level.root=INFO
24
logging.level.cz.zcu.fav.kiv.antipatterndetectionapp=TRACE
25

    
26
# security
27
auth.realm.login=http://localhost:8081/login
28
auth.realm.logout=http://localhost:8081/logout
29
auth.realm.authenticate=http://localhost:8081/authenticate
30

    
31
#default configuration user
32
default_user_id = 2
33

    
34
## oauth2 -> keycloak
35

    
36
# localhost is here thanks to KC_HOSTNAME_URL property in the docker-compose. Otherwise, there should be docker service name.
37
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:9080/auth/realms/spade
38
#spring.security.oauth2.resourceserver.jwt.jwk-set-uri=http://localhost:9080/auth/realms/spade/protocol/openid-connect/certs
39

    
40

    
41
#keycloak.auth-server-url=http://localhost:9080/auth
42
#keycloak.realm=spade
43
#keycloak.resource=spade-client
44

    
45
logging.level.org.springframework.security=debug
(1-1/2)