如何在SpringSecurity5.x.x应用程序中为OpenIDConnect客户端配置JWE密钥?
是否可以为spring boot 2.0应用程序配置或自动连接JWE密钥选择器(使用spring security 5.x.x),以便能够解密从OpenId connect提供程序收到的id JWS密钥可以由spring安全oauth2定义。但是我没有找到为所使用的指定JWEKeySelector的方法 提前谢谢 依赖项:如何在SpringSecurity5.x.x应用程序中为OpenIDConnect客户端配置JWE密钥?,spring,spring-security,openid-connect,jose,Spring,Spring Security,Openid Connect,Jose,是否可以为spring boot 2.0应用程序配置或自动连接JWE密钥选择器(使用spring security 5.x.x),以便能够解密从OpenId connect提供程序收到的id JWS密钥可以由spring安全oauth2定义。但是我没有找到为所使用的指定JWEKeySelector的方法 提前谢谢 依赖项: buildscript { ext { springBootVersion = '2.0.0.RELEASE' } repositor
buildscript {
ext {
springBootVersion = '2.0.0.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
ext['thymeleaf.version'] = '3.0.9.RELEASE'
dependencies {
compile 'org.springframework.security:spring-security-config'
compile 'org.springframework.security:spring-security-oauth2-client'
compile 'org.springframework.security:spring-security-oauth2-jose'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity4'
compile 'io.projectreactor.ipc:reactor-netty'
compile 'org.springframework:spring-webflux'
compile 'org.webjars:jquery:3.3.1-1'
compile 'org.webjars:bootstrap:4.0.0-1'
compile 'org.webjars:webjars-locator:0.32'
testCompile 'org.springframework.security:spring-security-test'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
JWE支持似乎仍在路线图上:但是,有人知道解决方法吗?