oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1465407 - in /oltu/trunk/oauth-2.0/client-demo/src/main: java/org/apache/oltu/oauth2/client/demo/model/OAuthParams.java webapp/WEB-INF/views/get_resource.jsp
Date Sun, 07 Apr 2013 15:06:18 GMT
Author: asanso
Date: Sun Apr  7 15:06:18 2013
New Revision: 1465407

URL: http://svn.apache.org/r1465407
Log:
OLTU-93 - Add OpenIdConnect flow to client demo :

* added initial OpenIDConnect support skeleton

Modified:
    oltu/trunk/oauth-2.0/client-demo/src/main/java/org/apache/oltu/oauth2/client/demo/model/OAuthParams.java
    oltu/trunk/oauth-2.0/client-demo/src/main/webapp/WEB-INF/views/get_resource.jsp

Modified: oltu/trunk/oauth-2.0/client-demo/src/main/java/org/apache/oltu/oauth2/client/demo/model/OAuthParams.java
URL: http://svn.apache.org/viewvc/oltu/trunk/oauth-2.0/client-demo/src/main/java/org/apache/oltu/oauth2/client/demo/model/OAuthParams.java?rev=1465407&r1=1465406&r2=1465407&view=diff
==============================================================================
--- oltu/trunk/oauth-2.0/client-demo/src/main/java/org/apache/oltu/oauth2/client/demo/model/OAuthParams.java
(original)
+++ oltu/trunk/oauth-2.0/client-demo/src/main/java/org/apache/oltu/oauth2/client/demo/model/OAuthParams.java
Sun Apr  7 15:06:18 2013
@@ -44,6 +44,7 @@ public class OAuthParams {
     private String application;
     private String requestType;
     private String requestMethod;
+    private String idToken;
 
     private String errorMessage;
 
@@ -178,4 +179,13 @@ public class OAuthParams {
 	public void setRequestMethod(String requestMethod) {
 		this.requestMethod = requestMethod;
 	}
+	
+	public String getIdToken() {
+		return idToken;
+	}
+
+	public void setIdToken(String idToken) {
+		this.idToken = idToken;
+	}
+	
 }

Modified: oltu/trunk/oauth-2.0/client-demo/src/main/webapp/WEB-INF/views/get_resource.jsp
URL: http://svn.apache.org/viewvc/oltu/trunk/oauth-2.0/client-demo/src/main/webapp/WEB-INF/views/get_resource.jsp?rev=1465407&r1=1465406&r2=1465407&view=diff
==============================================================================
--- oltu/trunk/oauth-2.0/client-demo/src/main/webapp/WEB-INF/views/get_resource.jsp (original)
+++ oltu/trunk/oauth-2.0/client-demo/src/main/webapp/WEB-INF/views/get_resource.jsp Sun Apr
 7 15:06:18 2013
@@ -110,5 +110,15 @@
         </tr>
     </table>
 </form:form>
+<form:form commandName="oauthParams" action="/get_resource">
+ 	<table>
+		<h4>OpenId Connect</h4></p>
+		<tr>
+            <td>ID Token:</td>
+            <td><form:input size="70" path="idToken" readonly="true"/></td>
+        </tr>
+	</table>
+</form:form>
+	
 </body>
 </html>



Mime
View raw message