ivan333m commented on a change in pull request #642: FINERACT-724 Upgrade 
Spring Boot, Spring and Spring Security to their latest stable version
URL: https://github.com/apache/fineract/pull/642#discussion_r335314571
 
 

 ##########
 File path: 
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/AbstractApplicationConfiguration.java
 ##########
 @@ -48,7 +52,11 @@
 @EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class,
                HibernateJpaAutoConfiguration.class,
                DataSourceTransactionManagerAutoConfiguration.class,
-               FlywayAutoConfiguration.class })
+               FlywayAutoConfiguration.class,
+               GsonAutoConfiguration.class,
+               JdbcTemplateAutoConfiguration.class})
+@EnableWebSecurity
+@EnableTransactionManagement
 
 Review comment:
   @EnableTransactionManagement is a replacement for <tx:annotation-driven /> . 
Without @EnableWebSecurity we need to configure additional spring security 
beans for example 
`org.springframework.security.config.annotation.ObjectPostProcessor`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to