incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pids...@apache.org
Subject svn commit: r962479 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
Date Fri, 09 Jul 2010 10:52:27 GMT
Author: pidster
Date: Fri Jul  9 10:52:26 2010
New Revision: 962479

URL: http://svn.apache.org/viewvc?rev=962479&view=rev
Log:
Utilise the configuration object on initialisation

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=962479&r1=962478&r2=962479&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
Fri Jul  9 10:52:26 2010
@@ -25,5 +25,21 @@ package org.apache.amber.server;
  * @version $Id$
  */
 public abstract class OAuthServer implements OAuthnServer, OAuthzServer {
+	
+	private OAuthServerConfiguration configuration;
 
+	/**
+	 * @param configuration
+	 */
+	protected OAuthServer(OAuthServerConfiguration configuration) {
+		this.configuration = configuration;
+	}
+	
+	/**
+	 * @return configuration
+	 */
+	protected OAuthServerConfiguration getConfiguration() {
+		return configuration;
+	}
+	
 }



Mime
View raw message