diff options
author | Vitaly Takmazov | 2018-02-06 14:36:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-06 14:36:37 +0300 |
commit | 19c8ed8a1d173ee16c5717d44b145ca365d2f6f5 (patch) | |
tree | 4a47347f2a98e2b65e62d89cea174e8e6af91fa3 /juick-notifications/src/main | |
parent | 1d520f4d1bcfd78c21b7b542619cc828ff64dcb7 (diff) |
api server should authenticate in database for now
Diffstat (limited to 'juick-notifications/src/main')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java | 12 |
1 files changed, 2 insertions, 10 deletions
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 67293373a..b557cfc7a 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 |