In this video of code decode we have covered Spring security Interview questions and answers for experienced and freshers in Spring boot
Spring Security Interview Questions part 2
https://www.youtube.com/watch?v=DhBqC_Vy28o&ab_channel=CodeDecode
We have covered :
Why Spring Security is needed at first place?
We have seen how to answer this question through an analogy of layers of server. We can answer this in Spring Security Interview Questions.
How Spring Security is used to secure your application at a high level?
To answer this too, we have used an analogy of resort and receptionist which helped us understand how spring security in spring boot works and why.
We also have seen Types of Authentication
Knowledge Based Authentication
Possession Based Authentication
Multifactor Authentication
We have seen What are core key concepts of Spring security Interview Questions.
Authentication
Authentication
Principal
Granted Authority
Roles
If given a CRUD or simple spring boot app , How will you implement the Spring security ?
The First and only step to implement Spring security in any spring boot Application is by adding following starter dependency in Pom. Xml
And that’s all.
You have created a reception(filter) in front of your hotel (application). Who will do authentication n authorization for you.
It will also do validations for you bcz now u have ur receptionist in place to ask for your authentication.
Code Decode Playlists
Most Asked Core Java Interview Questions and Answers : https://youtube.com/playlist?list=PLyHJZXNdCXscoyL5XEZoHHZ86_6h3GWE1
Advance Java Interview Questions and Answers : https://youtube.com/playlist?list=PLyHJZXNdCXsexOO1VQ4vs-BM2-8CKrixd
Java 8 Interview Questions and Answers : https://youtube.com/playlist?list=PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
Hibernate Interview Questions and Answers : https://youtube.com/playlist?list=PLyHJZXNdCXsdC-p2186C6NO4FpadnCC_q
Spring Boot Interview Questions and Answers : https://youtube.com/playlist?list=PLyHJZXNdCXsexOO1VQ4vs-BM2-8CKrixd
Angular Playlist :
https://www.youtube.com/watch?v=CAl7RQSdq2Q&list=PLyHJZXNdCXsfxRtDwtGkDD_lLfTWc1g0i
GIT : https://youtube.com/playlist?list=PLyHJZXNdCXscpl6pxOnL2lRWJlzvzjyZE
-------------------------------------------------------------------------------------------------------------------------------------
Subscriber and Follow Code Decode
Subscriber Code Decode : https://www.youtube.com/c/CodeDecode?sub_confirmation=1
Linkedin : https://www.linkedin.com/in/codedecodeyoutube/
Instagram : https://www.instagram.com/codedecode25/
--------------------------------------------------------------------------------------------------------------------------------------------------
#codedecode #springbootinterviewquestionsandanswers #springsecurity