You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2023/03/14 11:51:48 UTC

[syncope] 01/02: [SYNCOPE-1733] Clearing up duplicated clientName

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

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 72de6dcc8992e8f03c44334c3ab8282c63c19f2d
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Mar 13 15:59:35 2023 +0100

    [SYNCOPE-1733] Clearing up duplicated clientName
---
 .../common/lib/auth/AbstractOIDCAuthModuleConf.java    | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/common/am/lib/src/main/java/org/apache/syncope/common/lib/auth/AbstractOIDCAuthModuleConf.java b/common/am/lib/src/main/java/org/apache/syncope/common/lib/auth/AbstractOIDCAuthModuleConf.java
index 9d4b577437..6af85787c4 100644
--- a/common/am/lib/src/main/java/org/apache/syncope/common/lib/auth/AbstractOIDCAuthModuleConf.java
+++ b/common/am/lib/src/main/java/org/apache/syncope/common/lib/auth/AbstractOIDCAuthModuleConf.java
@@ -22,15 +22,15 @@ import java.util.LinkedHashMap;
 import java.util.Map;
 
 public abstract class AbstractOIDCAuthModuleConf extends Pac4jAuthModuleConf {
-    
+
+    private static final long serialVersionUID = -4716170241796764061L;
+
     protected String clientId;
 
     protected String clientSecret;
 
-    protected String clientName;
-
     protected boolean enabled;
-    
+
     protected Map<String, String> customParams = new LinkedHashMap<>();
 
     protected String tokenUrl;
@@ -57,16 +57,6 @@ public abstract class AbstractOIDCAuthModuleConf extends Pac4jAuthModuleConf {
         this.clientSecret = clientSecret;
     }
 
-    @Override
-    public String getClientName() {
-        return clientName;
-    }
-
-    @Override
-    public void setClientName(final String clientName) {
-        this.clientName = clientName;
-    }
-
     public boolean isEnabled() {
         return enabled;
     }