Store openid4java consumer manager in core.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 27 Apr 2012 14:41:33 +0000 (16:41 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 27 Apr 2012 14:41:33 +0000 (16:41 +0200)
src/main/java/net/pterodactylus/demoscenemusic/core/Core.java

index af73754..aa3f31e 100644 (file)
@@ -28,6 +28,8 @@ import net.pterodactylus.demoscenemusic.data.DataManager;
 import net.pterodactylus.util.database.AbstractDatabase;
 import net.pterodactylus.util.database.Database;
 
+import org.openid4java.consumer.ConsumerManager;
+
 /**
  * TODO
  *
@@ -37,10 +39,19 @@ public class Core implements ServletContextListener {
 
        private DataManager dataManager;
 
+       private final ConsumerManager consumerManager = new ConsumerManager();
+
        public DataManager getDataManager() {
                return dataManager;
        }
 
+       /**
+        * @return the consumerManager
+        */
+       public ConsumerManager getConsumerManager() {
+               return consumerManager;
+       }
+
        //
        // SERVLETCONTEXTLISTENER METHODS
        //