Add authorization server sample

This commit is contained in:
Steve Riesenberg
2021-07-23 14:59:33 -05:00
committed by Steve Riesenberg
parent def1af3e75
commit 67f36c5862
13 changed files with 908 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
plugins {
id 'org.springframework.boot' version '2.5.0'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id "nebula.integtest" version "7.0.9"
id 'java'
}
repositories {
jcenter()
maven { url "https://repo.spring.io/snapshot" }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.security.experimental:spring-security-oauth2-authorization-server:0.1.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
integTestImplementation 'net.sourceforge.htmlunit:htmlunit'
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
}