From ddf18579a926dfb192c59a1f7c9e0c96c97094ab Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 18 Jul 2019 20:22:18 +0200 Subject: [PATCH] fixes --- .../ethz/seb/sebserver/webservice/WebServiceInit.java | 10 ---------- .../dao/impl/ConfigurationDAOBatchService.java | 7 +++++++ .../webservice/weblayer/WebServiceSecurityConfig.java | 9 +++++++++ 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/WebServiceInit.java b/src/main/java/ch/ethz/seb/sebserver/webservice/WebServiceInit.java index 2bf9720f..586d57a1 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/WebServiceInit.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/WebServiceInit.java @@ -11,8 +11,6 @@ package ch.ethz.seb.sebserver.webservice; import java.net.InetAddress; import java.net.UnknownHostException; -import javax.sql.DataSource; - import org.cryptonode.jncryptor.AES256JNCryptor; import org.cryptonode.jncryptor.JNCryptor; import org.slf4j.Logger; @@ -26,11 +24,9 @@ import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.context.annotation.Lazy; import org.springframework.core.env.Environment; -import org.springframework.security.oauth2.provider.token.TokenStore; import ch.ethz.seb.sebserver.gbl.Constants; import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile; -import ch.ethz.seb.sebserver.webservice.weblayer.oauth.CachableJdbcTokenStore; // TODO check if DataSourceAutoConfiguration and TokenStore bean definition is really needed here // or if it is possible to move them to the WebServiceSecurityConfig. @@ -70,12 +66,6 @@ public class WebServiceInit implements ApplicationListener