mirror of
https://github.com/spring-projects/spring-authorization-server.git
synced 2026-05-03 03:39:53 +01:00
Update to Spring Boot 2.7.0 in ref doc examples
Issue gh-749
This commit is contained in:
@@ -11,7 +11,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation platform("org.springframework.boot:spring-boot-dependencies:2.6.7")
|
||||
implementation platform("org.springframework.boot:spring-boot-dependencies:2.7.0")
|
||||
implementation "org.springframework.boot:spring-boot-starter-web"
|
||||
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
|
||||
implementation "org.springframework.boot:spring-boot-starter-security"
|
||||
|
||||
+3
@@ -20,10 +20,13 @@ import java.time.Instant;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Table(name = "`authorization`")
|
||||
public class Authorization {
|
||||
@Id
|
||||
@Column
|
||||
private String id;
|
||||
private String registeredClientId;
|
||||
private String principalName;
|
||||
|
||||
+2
@@ -22,8 +22,10 @@ import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.IdClass;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Table(name = "`authorizationConsent`")
|
||||
@IdClass(AuthorizationConsent.AuthorizationConsentId.class)
|
||||
public class AuthorizationConsent {
|
||||
@Id
|
||||
|
||||
@@ -20,8 +20,10 @@ import java.time.Instant;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Table(name = "`client`")
|
||||
public class Client {
|
||||
@Id
|
||||
private String id;
|
||||
|
||||
Reference in New Issue
Block a user