Open amirensit opened 7 years ago
Increase in configuration:
@Bean Public, JdbcTokenRepositoryImpl, tokenRepository () { JdbcTokenRepositoryImpl jtr = new, JdbcTokenRepositoryImpl (); Jtr.setDataSource (dataSource); Return jtr; }
Reference resources: Https://github.com/chenfromsz/spring-boot-security.git
This url http://localhost:8070/produits with Postman works fine
After adding spring security, this url return 403 access denied even with correct username and password.
SecurityConfig.java