You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2019/09/16 12:20:31 UTC
[cxf] 10/10: Generate a default client secret of length 32 for the
dynamic reg service
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit f54062eb331fcf35d9f3a840f532417fccbb2673
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Mon Sep 16 13:16:31 2019 +0100
Generate a default client secret of length 32 for the dynamic reg service
---
.../cxf/rs/security/oauth2/services/DynamicRegistrationService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/DynamicRegistrationService.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/DynamicRegistrationService.java
index 12155d9..439ce51 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/DynamicRegistrationService.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/DynamicRegistrationService.java
@@ -382,7 +382,7 @@ public class DynamicRegistrationService {
Collections.singleton(OAuthConstants.BEARER_AUTHORIZATION_SCHEME))[1];
}
protected int getClientSecretSizeInBytes(ClientRegistration request) {
- return 16;
+ return 32;
}
@Context