Use ClientAuthenticationMethod constants tls_client_auth and self_signed_tls_client_auth
Issue gh-1558, gh-1559, gh-1560
This commit is contained in:
@@ -168,8 +168,8 @@ public class AuthorizationServerConfig {
|
||||
|
||||
RegisteredClient mtlsDemoClient = RegisteredClient.withId(UUID.randomUUID().toString())
|
||||
.clientId("mtls-demo-client")
|
||||
.clientAuthenticationMethod(new ClientAuthenticationMethod("tls_client_auth"))
|
||||
.clientAuthenticationMethod(new ClientAuthenticationMethod("self_signed_tls_client_auth"))
|
||||
.clientAuthenticationMethod(ClientAuthenticationMethod.TLS_CLIENT_AUTH)
|
||||
.clientAuthenticationMethod(ClientAuthenticationMethod.SELF_SIGNED_TLS_CLIENT_AUTH)
|
||||
.authorizationGrantType(AuthorizationGrantType.CLIENT_CREDENTIALS)
|
||||
.scope("message.read")
|
||||
.scope("message.write")
|
||||
|
||||
Reference in New Issue
Block a user