oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1465419 - in /oltu/trunk/openid-connect: ./ client/ client/src/ client/src/main/ client/src/main/java/ client/src/main/java/org/ client/src/main/java/org/apache/ client/src/main/java/org/apache/oltu/ client/src/main/java/org/apache/oltu/op...
Date Sun, 07 Apr 2013 16:21:32 GMT
Author: asanso
Date: Sun Apr  7 16:21:32 2013
New Revision: 1465419

URL: http://svn.apache.org/r1465419
Log:
OLTU-95 - Add OpenIdConnect client module

Added:
    oltu/trunk/openid-connect/client/
    oltu/trunk/openid-connect/client/pom.xml
    oltu/trunk/openid-connect/client/src/
    oltu/trunk/openid-connect/client/src/main/
    oltu/trunk/openid-connect/client/src/main/java/
    oltu/trunk/openid-connect/client/src/main/java/org/
    oltu/trunk/openid-connect/client/src/main/java/org/apache/
    oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/
    oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/
    oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/
    oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/
    oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/OpenIdConnectResponse.java
    oltu/trunk/openid-connect/client/src/test/
    oltu/trunk/openid-connect/client/src/test/java/
Modified:
    oltu/trunk/openid-connect/pom.xml

Added: oltu/trunk/openid-connect/client/pom.xml
URL: http://svn.apache.org/viewvc/oltu/trunk/openid-connect/client/pom.xml?rev=1465419&view=auto
==============================================================================
--- oltu/trunk/openid-connect/client/pom.xml (added)
+++ oltu/trunk/openid-connect/client/pom.xml Sun Apr  7 16:21:32 2013
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.oltu.openidconnect</groupId>
+    <artifactId>org.apache.oltu.openidconnect.parent</artifactId>
+    <version>0.1-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>org.apache.oltu.openidconnect.client</artifactId>
+
+  <name>Apache Oltu -  OpenId Connect - Client</name>
+  <description> OpenId Connect library - Client</description>
+
+  <dependencies>
+  	<dependency>
+      <groupId>org.apache.oltu.oauth2</groupId>
+      <artifactId>org.apache.oltu.oauth2.client</artifactId>
+      <version>0.31-SNAPSHOT</version>
+   </dependency>
+   <dependency>
+      <groupId>org.apache.oltu.openidconnect</groupId>
+      <artifactId>org.apache.oltu.openidconnect.common</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  
+  </dependencies>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>${basedir}../../</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>LICENSE</include>
+          <include>NOTICE</include>
+        </includes>
+      </resource>
+    </resources>
+
+    <plugins>
+    </plugins>
+  </build>
+
+</project>

Added: oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/OpenIdConnectResponse.java
URL: http://svn.apache.org/viewvc/oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/OpenIdConnectResponse.java?rev=1465419&view=auto
==============================================================================
--- oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/OpenIdConnectResponse.java
(added)
+++ oltu/trunk/openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/OpenIdConnectResponse.java
Sun Apr  7 16:21:32 2013
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oltu.openidconnect.client.response;
+
+import org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse;
+import org.apache.oltu.openidconnect.common.OpenIdConnect;
+
+/**
+ * 
+ *
+ */
+public class OpenIdConnectResponse extends OAuthJSONAccessTokenResponse{
+	
+    public String getIdToken() {
+        return getParam(OpenIdConnect.ID_TOKEN);
+    }
+}

Modified: oltu/trunk/openid-connect/pom.xml
URL: http://svn.apache.org/viewvc/oltu/trunk/openid-connect/pom.xml?rev=1465419&r1=1465418&r2=1465419&view=diff
==============================================================================
--- oltu/trunk/openid-connect/pom.xml (original)
+++ oltu/trunk/openid-connect/pom.xml Sun Apr  7 16:21:32 2013
@@ -34,6 +34,7 @@
 
   <modules>
     <module>common</module>
+    <module>client</module>
   </modules>
 
   <ciManagement>



Mime
View raw message