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 2020/04/23 09:04:05 UTC

[cxf] 05/11: fix: invalid 'client_secret_expires_at' value (#661)

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

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

commit a6ba34dcc2d8a067fcb2ba943672e21f6e1fabca
Author: ParanoidUser <pi...@gmail.com>
AuthorDate: Wed Apr 22 23:06:06 2020 -0700

    fix: invalid 'client_secret_expires_at' value (#661)
    
    use CLIENT_SECRET_EXPIRES_AT contant instead
    
    (cherry picked from commit 8823c8030974d54465f1c17c355f0da3656b19d2)
---
 .../cxf/rs/security/oauth2/services/ClientRegistrationResponse.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/ClientRegistrationResponse.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ClientRegistrationResponse.java
index 7ff3936..0481e31 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ClientRegistrationResponse.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ClientRegistrationResponse.java
@@ -73,7 +73,7 @@ public class ClientRegistrationResponse extends JsonMapObject {
         return getLongProperty(CLIENT_ID_ISSUED_AT);
     }
     public void setClientSecretExpiresAt(Long expiresAt) {
-        super.setProperty(CLIENT_ID_ISSUED_AT, expiresAt);
+        super.setProperty(CLIENT_SECRET_EXPIRES_AT, expiresAt);
     }
     public Long getClientSecretExpiresAt() {
         return getLongProperty(CLIENT_SECRET_EXPIRES_AT);