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 2016/01/12 18:37:14 UTC

cxf-fediz git commit: Minor updates to some of JSP pages

Repository: cxf-fediz
Updated Branches:
  refs/heads/master 159bf90ef -> 8c95c3488


Minor updates to some of JSP pages


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

Branch: refs/heads/master
Commit: 8c95c3488467993815db2bd4e823a2feff59c3b3
Parents: 159bf90
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Tue Jan 12 17:36:58 2016 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Tue Jan 12 17:36:58 2016 +0000

----------------------------------------------------------------------
 .../main/webapp/WEB-INF/views/clientAccessTokens.jsp    | 12 ++++++------
 .../src/main/webapp/WEB-INF/views/clientCodeGrants.jsp  | 12 ++++++------
 .../main/webapp/WEB-INF/views/clientRefreshTokens.jsp   | 12 ++++++------
 3 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/8c95c348/services/oidc/src/main/webapp/WEB-INF/views/clientAccessTokens.jsp
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/views/clientAccessTokens.jsp b/services/oidc/src/main/webapp/WEB-INF/views/clientAccessTokens.jsp
index a2884e4..dffc02f 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/clientAccessTokens.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/clientAccessTokens.jsp
@@ -41,7 +41,7 @@
 </head>
 <body>
 <div class="padded">
-<h1>Access Tokens issued to <%= client.getApplicationName() + "(" + client.getClientId() + ")"%>"</h1>
+<h1>Access Tokens issued to <%= client.getApplicationName() + "(" + client.getClientId() + ")"%></h1>
 <br/>
 <table border="1">
     <tr><th>Identifier</th><th>Issue Date</th><th>Expiry Date</th></tr> 
@@ -55,15 +55,15 @@
            <td><input type="text" name="tokenId" size="15" readonly="readonly" value="<%= token.getTokenKey() %>" /></td>
            <td>
            <% 
-               Date date = new Date(token.getIssuedAt() * 1000);
-               String issued = dateFormat.format(date);
+               Date issuedDate = new Date(token.getIssuedAt() * 1000);
+               String issued = dateFormat.format(issuedDate);
 		   %>
            <%=    issued %><br/>
            </td>
            <td>
            <% 
-               Date date = new Date((token.getIssuedAt() + token.getExpiresIn()) * 1000);
-               String expires = dateFormat.format(date);
+               Date expiresDate = new Date((token.getIssuedAt() + token.getExpiresIn()) * 1000);
+               String expires = dateFormat.format(expiresDate);
 		   %>
            <%=    expires %><br/>
            </td>
@@ -77,7 +77,7 @@
 <br/>
 <br/>
 <p>
-<a href="<%= basePath + "clients/" + client.getId() %>">Return</a>
+<a href="<%= basePath + "clients/" + client.getClientId() %>">Return</a>
 </p>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/8c95c348/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp b/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp
index c3afa50..ff13a13 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp
@@ -41,7 +41,7 @@
 </head>
 <body>
 <div class="padded">
-<h1>Code Grants issued to <%= client.getApplicationName() + "(" + client.getClientId() + ")"%>"</h1>
+<h1>Code Grants issued to <%= client.getApplicationName() + "(" + client.getClientId() + ")"%></h1>
 <br/>
 <table border="1">
     <tr><th>Identifier</th><th>Issue Date</th><th>Expiry Date</th></tr> 
@@ -55,15 +55,15 @@
            <td><input type="text" name="tokenId" size="15" readonly="readonly" value="<%= token.getCode() %>" /></td>
            <td>
            <% 
-               Date date = new Date(token.getIssuedAt() * 1000);
-               String issued = dateFormat.format(date);
+               Date issuedDate = new Date(token.getIssuedAt() * 1000);
+               String issued = dateFormat.format(issuedDate);
 		   %>
            <%=    issued %><br/>
            </td>
            <td>
            <% 
-               Date date = new Date((token.getIssuedAt() + token.getExpiresIn()) * 1000);
-               String expires = dateFormat.format(date);
+               Date expiresDate = new Date((token.getIssuedAt() + token.getExpiresIn()) * 1000);
+               String expires = dateFormat.format(expiresDate);
 		   %>
            <%=    expires %><br/>
            </td>
@@ -77,7 +77,7 @@
 <br/>
 <br/>
 <p>
-<a href="<%= basePath + "clients/" + client.getId() %>">Return</a>
+<a href="<%= basePath + "clients/" + client.getClientId() %>">Return</a>
 </p>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/8c95c348/services/oidc/src/main/webapp/WEB-INF/views/clientRefreshTokens.jsp
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/views/clientRefreshTokens.jsp b/services/oidc/src/main/webapp/WEB-INF/views/clientRefreshTokens.jsp
index ddfab90..473f491 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/clientRefreshTokens.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/clientRefreshTokens.jsp
@@ -41,7 +41,7 @@
 </head>
 <body>
 <div class="padded">
-<h1>Refresh Tokens issued to <%= client.getApplicationName() + "(" + client.getClientId() + ")"%>"</h1>
+<h1>Refresh Tokens issued to <%= client.getApplicationName() + "(" + client.getClientId() + ")"%></h1>
 <br/>
 <table border="1">
     <tr><th>Identifier</th><th>Issue Date</th><th>Expiry Date</th></tr> 
@@ -55,15 +55,15 @@
            <td><input type="text" name="tokenId" size="15" readonly="readonly" value="<%= token.getTokenKey() %>" /></td>
            <td>
            <% 
-               Date date = new Date(token.getIssuedAt() * 1000);
-               String issued = dateFormat.format(date);
+               Date issuedDate = new Date(token.getIssuedAt() * 1000);
+               String issued = dateFormat.format(issuedDate);
 		   %>
            <%=    issued %><br/>
            </td>
            <td>
            <% 
-               Date date = new Date((token.getIssuedAt() + token.getExpiresIn()) * 1000);
-               String expires = dateFormat.format(date);
+               Date expiresDate = new Date((token.getIssuedAt() + token.getExpiresIn()) * 1000);
+               String expires = dateFormat.format(expiresDate);
 		   %>
            <%=    expires %><br/>
            </td>
@@ -77,7 +77,7 @@
 <br/>
 <br/>
 <p>
-<a href="<%= basePath + "clients/" + client.getId() %>">Return</a>
+<a href="<%= basePath + "clients/" + client.getClientId() %>">Return</a>
 </p>
 </div>
 </body>