incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pids...@apache.org
Subject svn commit: r961940 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
Date Thu, 08 Jul 2010 21:16:36 GMT
Author: pidster
Date: Thu Jul  8 21:16:34 2010
New Revision: 961940

URL: http://svn.apache.org/viewvc?rev=961940&view=rev
Log:
Incorporate storage mechanisms into the server API, (protected methods will be hidden from
users but accessible to the implementation)

Modified:
    incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java

Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java?rev=961940&r1=961939&r2=961940&view=diff
==============================================================================
--- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
(original)
+++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
Thu Jul  8 21:16:34 2010
@@ -26,4 +26,19 @@ package org.apache.amber.server;
  */
 public abstract class OAuthServer implements OAuthnServer, OAuthzServer {
 
+	/**
+	 * @return access storage
+	 */
+	protected abstract AccessStorage getAccessStorage();
+
+	/**
+	 * @return consumer storage
+	 */
+	protected abstract ConsumerStorage getConsumerStorage();
+
+	/**
+	 * @return token storage
+	 */
+	protected abstract TokenStorage getTokenStorage();
+	
 }



Mime
View raw message