接入 WebAuthn 第二因素与 PostgreSQL 凭据仓储
This commit is contained in:
@@ -21,6 +21,10 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-flyway'
|
||||
runtimeOnly 'org.flywaydb:flyway-database-postgresql'
|
||||
runtimeOnly 'org.postgresql:postgresql'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-ldap'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-opentelemetry'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||
@@ -42,6 +46,7 @@ dependencies {
|
||||
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
|
||||
testImplementation 'com.unboundid:unboundid-ldapsdk'
|
||||
testImplementation 'org.testcontainers:testcontainers-grafana'
|
||||
testImplementation 'org.testcontainers:testcontainers-postgresql'
|
||||
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
|
||||
testCompileOnly 'org.projectlombok:lombok'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
@@ -83,3 +88,10 @@ tasks.named('processResources') {
|
||||
}
|
||||
from('frontend/dist') { into 'ui' }
|
||||
}
|
||||
|
||||
// Explicit test-only entry point for browser WebAuthn ceremonies; no fixture endpoints in production.
|
||||
tasks.register('webauthnBrowserFixture', JavaExec) {
|
||||
dependsOn tasks.named('testClasses')
|
||||
classpath = sourceSets.test.runtimeClasspath
|
||||
mainClass = 'top.ddupan.iam.login.WebAuthnBrowserFixture'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user