You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oltu.apache.org by to...@apache.org on 2010/12/18 17:42:07 UTC
svn commit: r1050666 - in
/incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common: ./ src/
src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/amber/ src/main/java/org/apache/amber/oauth2/
src/main/java/org/...
Author: tommaso
Date: Sat Dec 18 16:42:06 2010
New Revision: 1050666
URL: http://svn.apache.org/viewvc?rev=1050666&view=rev
Log:
[AMBER-11] - import of Leelo OAuth 2.0 implementation - oauth2-dynamicreg-common module
Added:
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/ (with props)
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/pom.xml (with props)
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/
incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/OAuthRegistration.java (with props)
Propchange: incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Dec 18 16:42:06 2010
@@ -0,0 +1 @@
+target
Added: incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/pom.xml
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/pom.xml?rev=1050666&view=auto
==============================================================================
--- incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/pom.xml (added)
+++ incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/pom.xml Sat Dec 18 16:42:06 2010
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2010 Newcastle University
+
+ http://research.ncl.ac.uk/smart/
+
+ 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>
+ <artifactId>oauth2-dynamicreg-common</artifactId>
+ <name>Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Common</name>
+ <packaging>jar</packaging>
+ <version>0.2-SNAPSHOT</version>
+
+ <parent>
+ <artifactId>amber-oauth2-parent</artifactId>
+ <groupId>org.apache.amber</groupId>
+ <version>0.2-SNAPSHOT</version>
+ </parent>
+
+ <build>
+ <finalName>oauth2-dynamicreg-common</finalName>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.amber</groupId>
+ <artifactId>oauth2-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+</project>
Propchange: incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/OAuthRegistration.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/OAuthRegistration.java?rev=1050666&view=auto
==============================================================================
--- incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/OAuthRegistration.java (added)
+++ incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/OAuthRegistration.java Sat Dec 18 16:42:06 2010
@@ -0,0 +1,63 @@
+/**
+ * Copyright 2010 Newcastle University
+ *
+ * http://research.ncl.ac.uk/smart/
+ *
+ * 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.amber.oauth2.ext.dynamicreg.common;
+
+/**
+ * @author Maciej Machulak (m.p.machulak@ncl.ac.uk)
+ * @author Lukasz Moren (lukasz.moren@ncl.ac.uk)
+ * @author Aad van Moorsel (aad.vanmoorsel@ncl.ac.uk)
+ */
+public final class OAuthRegistration {
+ private OAuthRegistration() {
+ }
+
+ public static final class Type {
+ private Type() {
+ }
+
+ public static final String PUSH = "push";
+ public static final String PULL = "pull";
+ }
+
+ public static final class Request {
+ private Request() {
+ }
+
+ public static final String TYPE = "type";
+ public static final String NAME = "name";
+ public static final String URL = "url";
+ public static final String DESCRIPTION = "description";
+ public static final String ICON = "icon";
+ public static final String REDIRECT_URI = "redirect_uri";
+ }
+
+ public static final class Response {
+ private Response() {
+ }
+
+ public static final String CLIENT_ID = "client_id";
+ public static final String CLIENT_SECRET = "client_secret";
+ public static final String ISSUED_AT = "issued_at";
+ public static final String EXPIRES_IN = "expires_in";
+ }
+
+}
Propchange: incubator/amber/trunk/oauth-2.0/oauth2-dynamicreg-common/src/main/java/org/apache/amber/oauth2/ext/dynamicreg/common/OAuthRegistration.java
------------------------------------------------------------------------------
svn:eol-style = native