Put every configuration in annotations.
Add spring security configuration.
Clear Spring security configuration.