Updated dependencies. OAuth server from http://localhost to https://okupamicoche-keycloak

This commit is contained in:
2021-04-29 13:12:05 +02:00
parent 7c8276b2c7
commit 886579a0b3
5 changed files with 13 additions and 9 deletions

View File

@@ -8,6 +8,7 @@ import javax.persistence.*
typealias TravelId = Long
@Entity
@Table
class Travel(
@Id @GeneratedValue var id: TravelId? = null,
@ManyToOne

View File

@@ -2,14 +2,12 @@ package eu.fosil.okupamicoche.entities
import org.hibernate.annotations.LazyCollection
import org.hibernate.annotations.LazyCollectionOption
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.ManyToMany
import javax.persistence.OneToMany
import javax.persistence.*
typealias UserId = String
@Entity
@Table
class User(
@Id var id: UserId,
var username: String,

View File

@@ -13,13 +13,16 @@ spring:
oauth2:
resourceserver:
jwt:
issuer-uri: http://localhost:8080/auth/realms/okupamicoche
issuer-uri: https://okupamicoche-keycloak:8443/auth/realms/okupamicoche
jackson:
serialization:
write-dates-as-timestamps: false
logging:
level:
org:
springframework:
security: DEBUG
eu.fosil.okupamicoche: DEBUG
matrix: