Deprecate PasswordEncoder in JdbcRegisteredClientRepository

Closes gh-496
This commit is contained in:
Joe Grandja
2021-11-16 03:52:54 -05:00
parent 666d569b48
commit f0b19f30d1
4 changed files with 9 additions and 66 deletions

View File

@@ -66,7 +66,7 @@ public class AuthorizationServerConfig {
public RegisteredClientRepository registeredClientRepository(JdbcTemplate jdbcTemplate) {
RegisteredClient registeredClient = RegisteredClient.withId(UUID.randomUUID().toString())
.clientId("messaging-client")
.clientSecret("secret")
.clientSecret("{noop}secret")
.clientAuthenticationMethod(ClientAuthenticationMethod.CLIENT_SECRET_BASIC)
.authorizationGrantType(AuthorizationGrantType.AUTHORIZATION_CODE)
.authorizationGrantType(AuthorizationGrantType.REFRESH_TOKEN)