Gradle Test Run :avalon-platform:avalon-security:avalon-oauth2-authorization-server:test

afterPropertiesSetHandlesMissingResourcesAndInvalidContent()

summary

1

tests

0

failures

0

skipped

2.332s

duration

100%

successful

standard output

14:07:41.193 [Test worker] ERROR io.github.lishangbu.avalon.oauth2.authorizationserver.autoconfiguration.JWKSourceAutoConfiguration -- 公钥资源不存在或不可读: file:/tmp/junit-8657234704049872809/missing.pub
14:07:41.214 [Test worker] ERROR io.github.lishangbu.avalon.oauth2.authorizationserver.autoconfiguration.JWKSourceAutoConfiguration -- 私钥资源不存在或不可读: file:/tmp/junit-8657234704049872809/missing.key
14:07:41.225 [Test worker] ERROR io.github.lishangbu.avalon.oauth2.authorizationserver.autoconfiguration.JWKSourceAutoConfiguration -- 公钥解析失败,无法从 [file:/tmp/junit-8657234704049872809/invalid.pub] 解析到有效公钥: Illegal base64 character 2d
14:07:41.226 [Test worker] ERROR io.github.lishangbu.avalon.oauth2.authorizationserver.autoconfiguration.JWKSourceAutoConfiguration -- 私钥解析失败,无法从 [file:/tmp/junit-8657234704049872809/invalid.key] 解析到有效私钥: Illegal base64 character 2d
14:07:41.226 [Test worker] WARN io.github.lishangbu.avalon.oauth2.authorizationserver.autoconfiguration.JWKSourceAutoConfiguration -- 未配置公钥或私钥,使用随机生成的密钥对,重启后之前签发的 token 将无法解析
14:07:43.439 [Test worker] INFO io.github.lishangbu.avalon.oauth2.authorizationserver.autoconfiguration.JWKSourceAutoConfiguration -- JWKSet 初始化完成,kid: 1D-hs6jDI_AE2wpcRONduww-LIjh2E21luHqjd8FJNE, 算法: RS256