Hello! Are you a Java enthusiast? Are you just starting to learn Java as a programming language or you are already an experienced software developer? In any case, this is a channel to follow. Here you will find full dedicated subjects, presented live, for all level of Java developers. Follow and share if you like it. Leave comments and suggestions... and of course, questions!
Follow me on Twitter and LinkedIn to stay more connected: @laurspilca
Let's say I want to create a Person, and the Person needs a Passport, if i have a "CascadeType.PERSIST" on the "passport" field in the Person class, does that mean I don't need to call "passportRepository.save()" since the Cascading will take care of persisting the passport object through the Person class?
I dont know if people and author are active here, i have a question, its said we can have multiple authentication provider for a manager. How to do we have multiple providers, my guess is these two 1. Have multiple provider class and autowire them in manager class and inside that class we use series of if else to check if any of provider class suports the given authentication type. 2. Suport method can be overloaded with our own authentication types and we call specific support method depending upon the type of authentication we got in manager class.
Hello. Thanks for the question. Best is to follow the series and understand the Spring Security architecture. The authentication manager indeed goes through a collection of providers and will pick the first most appropriate provider. This happens given on the provider implementation.
For the people who have dificultties getting the access token or understand the oauth diagram schema (like me) , I found it here explained more in detail : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H1SmCoirFCo.html After that coming back to this will be life changing for the rest of the playlist
Hey laur i do same thing but when i hit url then login form come from my spring security not from authorization server thats why i got 404 error code resource oauth2/token not found does not give authorization code why i understand everything what you do and follow same code as you please reply
@@vishalkushwaha6879 Hi. No, I have implemented a custom AS. However, if you understand OAuth 2 and OpenID Connect you will be able to connect to any AS including Okta.
@@laurspilca hey i solve the problem but one thing I want know that the code challeng you generate , is you generated it using hashing Or encoding if hashing then I can use any hashing method or there is restriction in oauth2 related hashing method
hey, Hope you are doing well! i have one doubt im following your playlist its really amazing i just want to know is it enough for exam??? i've been practicing questions on wiley also suggest me some tips
From a theory point of view it may be enough. However, how I said in other videos too, you need to use mock exams to learn the way he questions are made. Otherwise chances you'll pass the exam are small.
We went from explaining everything step by step in the previous tutorials, to 100 real quick without much explanation to many things, why they are done, what purpose they serve, you made assumptions that we know things that were also NEVER explained in the previous videos of the series. I was thoroughly enjoying every tutorial so far, keeping up, taking notes, coding along, adding my own things, doing personal research, to feeling like drowning in water and that now I need to watch other videos and read other things just to get up to speed with what's going on in this one. Why did you make the assumption that we should know why the registered client repository is needed? We can infer, but why make the assumption at all and not explicitly tell us, same for the rest of the things. It feels like we were learning how 2+2 is 4 and all of a sudden we are dropped in a calculus course expected to know the material??
@@laurspilca Hi Laurentiu, I wanted to apologize for the way I have made the previous comment. It is not how I intended for it to sound and I know it is not the constructive criticism that you deserve. I really respect you for what you have done and are doing for us, and the community as a whole. You are one of the best at teaching these subjects, which is why I chose to follow you and your tutorials. For some reason I was waiting for this part of the series from the beginning and I just got a bit upset with feeling like I fell behind all of a sudden, when I was following along everything. I want to thank you for everything you have done for us and I hope you keep it up!
Hi Laurentiu. Congratulations to both of you for this video. Video with experts teaches us a lot. Laurentiu, I need to ask you if it happened to you to remember to ask why in the ManyToMany the @JoinTable with no-default name columns was failing to you in the SpringSecurity2022. I hope you remember that video... If you did not ask him, can you please ask him somehow, because it was very strange to me also. Thanks a lot
@@laurspilca Hi again. It was in the Spring security fundmentals 2022 Lesson 2 managin user. I was around 59:00. I was not working with the custom names for the jointable columns, and worked only with the default names. Did you found out why the custom names did not work. Thanks a lot and sorry for disturbing you. I don't know if I should ask in that playlist...
40:55 I understand that the GenerationType.IDENTITY creates the id for you in an incremental manner. But does the id generation depend on the datatype of the id field? In your example you demonstrated the GenerationType.IDENTITY with a primary key of "int". So the auto increment makes sense since it'll start from 1, 2, 3 etc. However, if I make my id field a type of "String", does the GenerationType.IDENTITY have a way of making the incremental generation work? Or in this scenario it's better to just use a different strategy.
Hi. Thanks for the question. That would work only if the DB you use has a way to generate strings. However, I don't think that's the case for any common technology.
Hi. Thanks for the question. The filters are registered in a specific order in a chain. This chain of filters can even be changed (you can add or remove filters in it).