From ec14179943150b1716d642c2761e7fc9f12a524f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 27 Apr 2012 16:41:33 +0200 Subject: [PATCH] Store openid4java consumer manager in core. --- src/main/java/net/pterodactylus/demoscenemusic/core/Core.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java b/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java index af73754..aa3f31e 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java @@ -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 // -- 2.7.4