Update to Spring Boot 2.7.0 in ref doc examples

Issue gh-749
This commit is contained in:
Steve Riesenberg
2022-05-24 11:26:38 -05:00
parent 7edbe2a30d
commit 2fc0c5efb8
4 changed files with 8 additions and 1 deletions
@@ -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"
@@ -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;
@@ -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;