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 2026/05/21 15:27:32 UTC

(cxf) 03/03: Changing last commit to preserve old code verifier on 4.1

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 4.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 89c2372e6e172b35ef48972288ee0ee72fa3de9f
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Thu May 21 16:25:12 2026 +0100

    Changing last commit to preserve old code verifier on 4.1
---
 .../rs/security/oauth2/grants/code/AuthorizationCodeGrantHandler.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/grants/code/AuthorizationCodeGrantHandler.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrantHandler.java
index 39e6c79cfb5..992f516af11 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrantHandler.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeGrantHandler.java
@@ -40,7 +40,7 @@ import org.apache.cxf.rs.security.oauth2.utils.OAuthUtils;
 public class AuthorizationCodeGrantHandler extends AbstractGrantHandler {
 
     private List<CodeVerifierTransformer> codeVerifierTransformers = Collections.emptyList();
-    private CodeVerifierTransformer defaultCodeVerifierTransformer = new DigestCodeVerifier();
+    private CodeVerifierTransformer defaultCodeVerifierTransformer = new PlainCodeVerifier();
     private boolean expectCodeVerifierForPublicClients;
     private boolean requireCodeVerifier;