package net.davidvoid.thor.lightning.config;

import net.davidvoid.thor.lightning.data.access.AbstractStore;
import net.davidvoid.thor.lightning.data.source.MongoDataSource;
import net.davidvoid.thor.lightning.service.Auth;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(basePackageClasses = {AbstractStore.class, Auth.class, MongoDataSource.class})
public class RootConfig {
}

@@ -167,24 +167,95 @@
 ataSource;%0D%0A
+import net.davidvoid.thor.lightning.security.JwtAuthenticationFilter;%0D%0A
 import net.d
@@ -528,16 +528,47 @@
 ce.class
+, JwtAuthenticationFilter.class
 %7D)%0D%0Apubl

add secure package to the scan list