You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2015/11/03 18:16:00 UTC
cxf-fediz git commit: [FEDIZ-134] Disabling the code dealing with
public clients for now
Repository: cxf-fediz
Updated Branches:
refs/heads/master a8c4d86f9 -> be7780ffe
[FEDIZ-134] Disabling the code dealing with public clients for now
Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/be7780ff
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/be7780ff
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/be7780ff
Branch: refs/heads/master
Commit: be7780ffece075f7756f8bdf7cec708574056fe5
Parents: a8c4d86
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Tue Nov 3 17:15:34 2015 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Tue Nov 3 17:15:34 2015 +0000
----------------------------------------------------------------------
.../cxf/fediz/service/oidc/ClientRegistrationService.java | 5 +++--
services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/be7780ff/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 8d90635..070c5f7 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
@@ -66,8 +66,9 @@ public class ClientRegistrationService {
@FormParam("appType") String appType,
@FormParam("redirectURI") String redirectURI) {
String clientId = generateClientId();
- String clientSecret =
- "confidential".equals(appType) ? generateClientSecret() : null;
+ //String clientSecret =
+ // "confidential".equals(appType) ? generateClientSecret() : null;
+ String clientSecret = generateClientSecret();
Client newClient = new Client(clientId, clientSecret, true, appName, null);
newClient.setApplicationDescription(appDesc);
http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/be7780ff/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp b/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp
index cba8661..530a9da 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp
@@ -48,7 +48,7 @@
<tr>
<td><big><big><big>API Client Type:</big></big></big></td>
<td>
- <select name="appType" size="50">
+ <select name="appType">
<option value="confidential">Confidential</option>
<option value="public">Public</option>
</select>