Skip to content
Snippets Groups Projects

Add @ComponentScan for configurer-adapter

  1. May 05, 2020
    • Chris Lemaire's avatar
      Add @ComponentScan for configurer-adapter · d90138ad
      Chris Lemaire authored
      The ComponentScan annotation will make sure that the entire package is
      imported by Spring when at least a LabradorSecurityConfigurerAdapter is
      configured.
      
      In the future, if the option of not enabling security should exist, we
      may want to add custom annotations to enable the ComponentScan.
      Additionally, we might want a separate ComponentScan for just
      LabracoreApiConfiguration.
      
      Tests were added in the form of smoke tests to test an application
      without explicit imports of labracore.lib.
      d90138ad
Loading