On com.brahalla.Cerberus.configuration.WebSecurityConfiguration there's the configureAuthentication method and it links it's Autowired userDetailsService attribute to Spring Boot's default AuthenticationManager builder.
This specific part is what is relative to each and every user of this project. Which means this is probably the part that needs changing every time this project is forked. It is unclear as to how to proceed with these motifications, taking in consideration Hibernate, JPA, DataSources, JDBC and so on.
I have a table of users on my database. I just want to check if the username and encoded password match a row in that database table to authenticate. How hard is that exactly can I do that?
Thanks
On
com.brahalla.Cerberus.configuration.WebSecurityConfigurationthere's theconfigureAuthenticationmethod and it links it's AutowireduserDetailsServiceattribute to Spring Boot's default AuthenticationManager builder.This specific part is what is relative to each and every user of this project. Which means this is probably the part that needs changing every time this project is forked. It is unclear as to how to proceed with these motifications, taking in consideration Hibernate, JPA, DataSources, JDBC and so on.
I have a table of users on my database. I just want to check if the username and encoded password match a row in that database table to authenticate. How
hard is thatexactly can I do that?Thanks