[Spring Boot Security] #20 Database Authentication - Configure Database Provider

preview_player
Показать описание
⚫ Description

In this episode of the Spring Boot security course you will learn how to create a new DaoAuthenticationProvider and how to integrate it in the security configuration of your app. You will leverage the implementations for UserDetailsService and UserDetails created in the previous episodes.

At the end of this episode, you will finish the Database Authentication feature.
_______

⚫ Source code

_______

Check out the latest software programming articles on my blog, where you will find lots of software development tutorials that will sharpen your programming skills

_______

⚫ Say hi on social

#springboot #spring #java #webapplication #security #springsecurity #springbootsecurity #dangeabunea

_______
Created with ❤️ by Dan Geabunea (Romanian Coder)
Рекомендации по теме
Комментарии
Автор

best spring security course I'v seen until now, thank you so much.

vinui
Автор

This is the best spring security course for free, thank you so much

davidfabian
Автор

Thank you so much, its the best channel for learning SSec .. Merci beaucoup

shomer
Автор

This is a great series. Beautifully explained, works great, and is completely extendable! THANK YOU!

keyboardbandit
Автор

Very good explanation. Completely understand.
Thank you so much.

MYmUmTT
Автор

I was so right to suscribe to your channel. Finally I understand clearly what I read on github :D

aaronlabuka
Автор

Thanks for help, thanks to you, my login system is working after 10 hours of search the solution :D

adamgulyas
Автор

It would help a lot if you can make a playlist for Spring Boot Security.

Also it would be interesting if you can show us how to secure a spring backend api and a frontend service ( for example in React or Angular ).

Apreciez efortul pe care-l depui pentru crearea acestui content de calitate.

Tine-o tot asa! :)

reluscarlat
Автор

You do not need to call bean method (passwordEncoder() in our case), you can put bean as an argument to other methods because you are creating a new instance every time

rostyslavbaldovskyi
Автор

Great work, great explanation, but I think that the use of the @Autowired annotation could simplify many things here .

anastariq
Автор

To Use Db authentication, we need to have any in-memory type of DB like H2 and we can use @autorwire configuration instead of using constructor initialization everytime.

priyankjoshi
Автор

Great explanation, Can you please show me how to authenticate with mysql db, I really need it please !!

linecode
Автор

Good morning Dan thanks for this tuto it was really helpful to me despite i have a question i follow ur tuto until this episode i have one problem when i authenticate one of the users of the app in the next run i have not the access to change that user plz help me in that and thank u so much

raniakhdhaier
Автор

Hello, when as admin I try to access the test2 endpoint, a 403 error arrives, if my user has for example ACCESS_TEST1 and ACCESS_TEST2, as authority, it seems that it does not analyze the second but stops at the first.

syseng
Автор

Thank you for the playlist, just one question i was thinking is there is a method to not using HasRole("xxxx") and make it load from the datatbase after login, i was trying to use getAuthorities from the userDetaillsService in the security config class but it doesn't work, is this possible ?? if yes how ? i was searching on the internet for four day with no result .
Thank you very much :)

mahmoudtimoumi
Автор

Autowired can be used, any reason for not using in your tutorials?

sneharamaswamy
Автор

Great tutorials.
I tried using without the authentication provider and it works for some reason.
Does anyone have any idea about it why? Is it new feature in spring sec or is it something else?

fazlizekiqi
Автор

hey, are You going to present how to configure bearer token authentication for API? I created a service with 2 sets of endpoints, first for Angular admin webapp and second for api consumers. At the moment I use query param to authenticate api clients but this is very poor design. And also no auth for angular webapp yet

SadSadDeadM
Автор

@Override
protected void auth) throws Exception {


}

ojgukbk
Автор

How to do if easily with mysql database b'cause i don't understand how

fanuelguill