From 19c8ed8a1d173ee16c5717d44b145ca365d2f6f5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 6 Feb 2018 14:36:37 +0300 Subject: api server should authenticate in database for now --- .../configuration/NotificationsAppConfiguration.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'juick-notifications/src/main/java/com') diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java index 67293373..b557cfc7 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java @@ -5,19 +5,11 @@ import com.juick.components.Notifications; import com.juick.server.component.JuickServerComponent; import com.juick.server.component.JuickServerReconnectManager; import com.juick.server.configuration.BaseWebConfiguration; -import com.juick.server.configuration.JuickServerComponentConfiguration; -import org.springframework.beans.factory.annotation.Value; +import com.juick.server.configuration.JuickServerWebsocketConfiguration; import org.springframework.context.annotation.*; -import org.springframework.http.client.ClientHttpRequestInterceptor; -import org.springframework.http.client.InterceptingClientHttpRequestFactory; -import org.springframework.http.client.support.BasicAuthorizationInterceptor; import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.web.client.RestTemplate; import org.springframework.web.servlet.config.annotation.EnableWebMvc; -import java.util.Collections; -import java.util.List; - /** * Created by aalexeev on 11/12/16. */ @@ -27,7 +19,7 @@ import java.util.List; @PropertySource("classpath:juick.conf") @ComponentScan(basePackages = "com.juick.components.service") @Import({ APNSConfiguration.class, MPNSConfiguration.class, - GCMConfiguration.class, JuickServerComponentConfiguration.class}) + GCMConfiguration.class, JuickServerWebsocketConfiguration.class}) public class NotificationsAppConfiguration extends BaseWebConfiguration { @Bean -- cgit v1.2.3