File tree Expand file tree Collapse file tree
access-control-spring-security/src/main/java/de/dominikschadow/javasecurity/spring Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 */
1818package de .dominikschadow .javasecurity .spring ;
1919
20- import org .springframework .beans .factory .annotation .Value ;
2120import org .springframework .context .annotation .Bean ;
2221import org .springframework .context .annotation .ComponentScan ;
2322import org .springframework .context .annotation .Configuration ;
24- import org .springframework .core .io .Resource ;
2523import org .springframework .jdbc .core .JdbcTemplate ;
2624import org .springframework .jdbc .datasource .embedded .EmbeddedDatabaseBuilder ;
2725import org .springframework .jdbc .datasource .embedded .EmbeddedDatabaseType ;
4038@ EnableWebMvc
4139@ ComponentScan (basePackages = {"de.dominikschadow.javasecurity.controller" , "de.dominikschadow.javasecurity.services" })
4240public class WebConfig extends WebMvcConfigurerAdapter {
43- @ Value ("classpath:database.sql" )
44- private Resource dataScript ;
45-
4641 @ Bean
4742 public ViewResolver viewResolver () {
4843 InternalResourceViewResolver resolver = new InternalResourceViewResolver ();
You can’t perform that action at this time.
0 commit comments