Add CommonsMultipartResolver.
Change the location of the messages properties file.
Experiment for a stackoverflow's question.
Change cacheable setting.
Experiment for custom UserDetailsService and UserDetails.