Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I plug my own database in? #28

Open
mvrozanti opened this issue Jun 17, 2019 · 0 comments
Open

How do I plug my own database in? #28

mvrozanti opened this issue Jun 17, 2019 · 0 comments

Comments

@mvrozanti
Copy link

mvrozanti commented Jun 17, 2019

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

@mvrozanti mvrozanti changed the title How do I plugin my own database? How do I plug my own database in? Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant