From: David ‘Bombe’ Roden Date: Fri, 27 Apr 2012 14:41:33 +0000 (+0200) Subject: Store openid4java consumer manager in core. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ec14179943150b1716d642c2761e7fc9f12a524f;p=demoscenemusic.git Store openid4java consumer manager in core. --- 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 //