cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf-fediz git commit: Minor update to the client reg service
Date Tue, 08 Dec 2015 15:43:58 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master fcc0ac6dc -> 56a360597


Minor update to the client reg service


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/56a36059
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/56a36059
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/56a36059

Branch: refs/heads/master
Commit: 56a360597e69f7f211fc1ddce15653e8ec60c820
Parents: fcc0ac6
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Dec 8 15:43:37 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Dec 8 15:43:37 2015 +0000

----------------------------------------------------------------------
 .../cxf/fediz/service/oidc/ClientRegistrationService.java       | 2 +-
 .../java/org/apache/cxf/fediz/service/oidc/FedizClient.java     | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/56a36059/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
index bf93312..c6ee4da 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
@@ -82,7 +82,7 @@ public class ClientRegistrationService {
         boolean isConfidential = "confidential".equals(appType);
         String clientSecret = isConfidential ? generateClientSecret() : null;
         
-        FedizClient newClient = new FedizClient(clientId, clientSecret, isConfidential, appName,
null);
+        FedizClient newClient = new FedizClient(clientId, clientSecret, isConfidential, appName);
         newClient.setHomeRealm(homeRealm);
         newClient.setApplicationDescription(appDesc);
         if (!StringUtils.isEmpty(redirectURI)) {

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/56a36059/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizClient.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizClient.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizClient.java
index fe07277..261e8f9 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizClient.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/FedizClient.java
@@ -40,9 +40,8 @@ public class FedizClient extends Client {
     public FedizClient(String clientId, 
                   String clientSecret,
                   boolean isConfidential,
-                  String applicationName,
-                  String applicationWebUri) {
-        super(clientId, clientSecret, isConfidential, applicationName, applicationWebUri);
+                  String applicationName) {
+        super(clientId, clientSecret, isConfidential, applicationName);
         
     }
 


Mime
View raw message