Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 997c4599

Přidáno uživatelem Petr Urban před více než 1 rok

keycloak in spade and spawn integration.

Zobrazit rozdíly:

src/main/resources/application.properties
12 12
# mssql database connection:
13 13
spring.second-datasource.jdbc-url=jdbc:sqlserver://localhost:1433;databaseName=authspade;encrypt=true;trustServerCertificate=true
14 14
spring.second-datasource.username=test
15
spring.second-datasource.password=
15
spring.second-datasource.password=test
16 16
spring.second-datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
17 17

  
18 18
# admin account username and password:
......
34 34
auth.realm.authenticate=http://localhost:8081/authenticate
35 35

  
36 36
#default configuration user
37
default_user_id = 2
37
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

Také k dispozici: Unified diff