Add @ComponentScan for configurer-adapter
- May 05, 2020
-
-
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.
-