Projekt

Obecné

Profil

Stáhnout (1.64 KB) Statistiky
| Větev: | Tag: | Revize:
1 1261b96f stepanekp
# jpa settings
2 00db4bda Jiri Trefil
spring.jpa.hibernate.ddl-auto=update
3 1261b96f stepanekp
spring.jpa.show-sql=true
4
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
5 00db4bda Jiri Trefil
6 1261b96f stepanekp
# mysql database connection:
7
spring.datasource.jdbc-url=jdbc:mysql://localhost:3306/spade
8 00db4bda Jiri Trefil
spring.datasource.username=root
9 0893b08f Jiri Trefil
spring.datasource.password=
10 1261b96f stepanekp
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
11 00db4bda Jiri Trefil
12 1261b96f stepanekp
# mssql database connection:
13
spring.second-datasource.jdbc-url=jdbc:sqlserver://localhost:1433;databaseName=authspade;encrypt=true;trustServerCertificate=true
14
spring.second-datasource.username=test
15 997c4599 Petr Urban
spring.second-datasource.password=test
16 1261b96f stepanekp
spring.second-datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
17 20f290be stepanekp
18 1261b96f stepanekp
# admin account username and password:
19 00db4bda Jiri Trefil
account.user.name=root
20 1261b96f stepanekp
account.user.password=
21 00db4bda Jiri Trefil
22
DATA_PATH=data/
23 20f290be stepanekp
24 2b46a050 Petr Urban
# custom error pages
25 1e24f29f Petr Urban
server.error.whitelabel.enabled=false
26
27 c5111d82 Petr Urban
# logger
28
logging.level.root=INFO
29 ac45080b Jiri Trefil
logging.level.cz.zcu.fav.kiv.antipatterndetectionapp=TRACE
30
31
# security
32 44b14b44 Jiri Trefil
auth.realm.login=http://localhost:8081/login
33
auth.realm.logout=http://localhost:8081/logout
34 1bb59448 Jiri Trefil
auth.realm.authenticate=http://localhost:8081/authenticate
35
36
#default configuration user
37 997c4599 Petr Urban
default_user_id = 2
38
39
## oauth2 -> keycloak
40
41
# localhost is here thanks to KC_HOSTNAME_URL property in the docker-compose. Otherwise, there should be docker service name.
42
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:9080/auth/realms/spade
43
#spring.security.oauth2.resourceserver.jwt.jwk-set-uri=http://localhost:9080/auth/realms/spade/protocol/openid-connect/certs
44
45
46
#keycloak.auth-server-url=http://localhost:9080/auth
47
#keycloak.realm=spade
48
#keycloak.resource=spade-client
49
50
logging.level.org.springframework.security=debug