Rename OAuth2 resource server properties

Closes gh-14165
This commit is contained in:
Madhura Bhave
2018-08-23 16:51:27 -07:00
parent 26353a8f35
commit fc4340c5d4
11 changed files with 27 additions and 41 deletions

View File

@@ -538,7 +538,7 @@ content into your application. Rather, pick only the properties that you need.
spring.security.oauth2.client.registration.*= # OAuth client registrations.
# SECURITY OAUTH2 RESOURCE SERVER ({sc-spring-boot-autoconfigure}/security/oauth2/resource/OAuth2ResourceServerProperties.{sc-ext}[OAuth2ResourceServerProperties])
spring.security.oauth2.resource.jwt.jwk.set-uri= # JSON Web Key URI to use to verify the JWT token.
spring.security.oauth2.resourceserver.jwt.jwk-set-uri= # JSON Web Key URI to use to verify the JWT token.
# ----------------------------------------
# DATA PROPERTIES

View File

@@ -3324,7 +3324,7 @@ following example:
[source,properties,indent=0]
----
spring.security.oauth2.resource.jwt.jwk.set-uri=https://example.com/oauth2/default/v1/keys
spring.security.oauth2.resourceserver.jwt.jwk-set-uri=https://example.com/oauth2/default/v1/keys
----
The same properties are applicable for both servlet and reactive applications.