cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbernha...@apache.org
Subject cxf-fediz git commit: Fix OIDC registration form URL for dynamic base context path
Date Thu, 28 Jan 2016 14:39:53 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master ff611c4c7 -> 9f95f6d21


Fix OIDC registration form URL for dynamic base context path


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

Branch: refs/heads/master
Commit: 9f95f6d21515cbd1d0094f6c592f0d117608faa3
Parents: ff611c4
Author: Jan Bernhardt <jbernhardt@talend.com>
Authored: Thu Jan 28 15:11:50 2016 +0100
Committer: Jan Bernhardt <jbernhardt@talend.com>
Committed: Thu Jan 28 15:39:34 2016 +0100

----------------------------------------------------------------------
 services/oidc/src/main/webapp/WEB-INF/views/client.jsp         | 4 ++--
 services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/9f95f6d2/services/oidc/src/main/webapp/WEB-INF/views/client.jsp
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/views/client.jsp b/services/oidc/src/main/webapp/WEB-INF/views/client.jsp
index 750bae0..3f2ad38 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/client.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/client.jsp
@@ -117,7 +117,7 @@
     if (client.getClientSecret() != null) {
 %>
 <td class="td_no_border">
-<form name="resetSecretForm" action="/fediz-oidc/clients/<%= client.getClientId() +
"/reset"%>" method="POST">
+<form name="resetSecretForm" action="<%=basePath%>clients/<%= client.getClientId()
+ "/reset"%>" method="POST">
 		<div data-type="control_button" class="form-line">
 				<button name="submit_reset_button" class="form-submit-button" type="submit">Reset
Secret</button>
 		</div>
@@ -127,7 +127,7 @@
     }
 %>
 <td class="td_no_border">
-<form name="deleteForm" action="/fediz-oidc/clients/<%= client.getClientId() + "/remove"%>"
method="POST">
+<form name="deleteForm" action="<%=basePath%>clients/<%= client.getClientId()
+ "/remove"%>" method="POST">
 		<div data-type="control_button" class="form-line">
 				<button name="submit_delete_button" class="form-submit-button" type="submit">Delete
Client</button>
 		</div>

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/9f95f6d2/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 9b56414..c88252b 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/registerClient.jsp
@@ -61,7 +61,7 @@ input, select, button {
 </style>
 </head>
 <body>
-	<form action="/fediz-oidc/clients" method="POST">
+	<form action="<%=basePath%>clients" method="POST">
 		<div class="form">
 			<div class="header-text">
 				<h2>OIDC Client Registration</h2>


Mime
View raw message