You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oltu.apache.org by pi...@apache.org on 2010/07/09 12:51:30 UTC

svn commit: r962478 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java

Author: pidster
Date: Fri Jul  9 10:51:30 2010
New Revision: 962478

URL: http://svn.apache.org/viewvc?rev=962478&view=rev
Log:
Incorporate storage methods in a configuration interface, more config will be added here

Added:
    incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java   (with props)

Added: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java?rev=962478&view=auto
==============================================================================
--- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java (added)
+++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java Fri Jul  9 10:51:30 2010
@@ -0,0 +1,40 @@
+/*
+ * 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.server;
+
+/**
+ * @version $Id $HeadURL $Revision $Date $Author
+ *
+ */
+public interface OAuthServerConfiguration {
+
+	/**
+	 * @return access storage
+	 */
+	AccessStorage getAccessStorage();
+
+	/**
+	 * @return consumer storage
+	 */
+	ConsumerStorage getConsumerStorage();
+
+	/**
+	 * @return token storage
+	 */
+	TokenStorage getTokenStorage();
+
+}

Propchange: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServerConfiguration.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain