Comprehensive Spring Security Tutorial: kzfaq.info/get/bejne/b7BdlZmA0bbdYmg.html
@machilikanthyadav46023 күн бұрын
i want to use the Spring Cloud Gateway. With this, how can i use it? Please tell me @GenuineCoder
@GenuineCoder23 күн бұрын
@@machilikanthyadav460 You can run Spring Cloud Gateway as another service and then link to this JWT service. I have explained this in the following tutorial & chapter kzfaq.info/get/bejne/g9iDeKaVuK_Ff5s.html&si=H6Fjo_CHn0PsU7xH
@machilikanthyadav46013 күн бұрын
@@GenuineCoder TQ
@TheHarshet4 күн бұрын
Just Clapped for you after watching the video, Just at to the point explanations👏👏👏
@shubhammguptaaАй бұрын
This is the best tutorial on spring security (including the previous video). Explain of everything why a particular line is written. Brilliant!! Thank you so much Sir 🙏
@user-vn2lc4sh9y6 күн бұрын
Great Teacher!
@MichaelsSoftwareTestingA-wu3xp2 ай бұрын
Thank you for this tutorial. I like that you are not just showing the code, but also explain it.
@rajbabu_mrb11 күн бұрын
This is brilliant tutorial for spring security and jwt integration, Thankyou
@rutikchakane4507Күн бұрын
thanx brother love you❣
@avinashchaurasiya762Ай бұрын
Crisp and Clear.
@seman71Ай бұрын
بارك الله فيك ارجوا ان تستمر في هذا الابداع وعمل سلسله للتعليم اخى العزيز May God bless you. I hope you continue this creativity and create a series for education, my dear brother
@mohamadmj61582 ай бұрын
Well explained, it's complete and clear demonstration of how to use spring security
@cozitsyash13013 ай бұрын
Thank you Sir ... Please bring more Spring boot tutorials and its important and advanced concepts Great Learning
@SaqibWani-p2i2 ай бұрын
Thank you for your precious time and effort.
@weitanglau16226 күн бұрын
your videos are amazing! please keep up the good work!
@scottanderson67622 ай бұрын
You're incredibly smart and helpful. Thank you so much!
@2RAJ2113 күн бұрын
Thank you. clearful explanation.
@thushanchathuranga66942 ай бұрын
Thank you for this wonderful tutorial. I really enjoyed the way you explained the code. Can you add and extend this Spring security series with refreshing tokens, OAuth and practical advantages & disadvantages of using JWT. Can you make a tutorial for OpenID and Keycloak.
@user-ty3il9wy1jАй бұрын
Thank you for all you've done. That is helpful.
@thisgnop31772 ай бұрын
You're a lifesaver, brother. Find your taste and drink a cup. It's on me :)
@kj4saeko3332 ай бұрын
Thank you for the video, great explanation. Keep it up !
@nahomdiro7818Ай бұрын
clear and on point.
@Premkumar-es4bx3 ай бұрын
Hi bro,the way you are explaining and writing code is really awesome,keep rocking Can you plz post video for interceptor concept in java spring boot
@sinhvienit-o7f2 ай бұрын
Thank you for this tutorial , video is so very good
@saigovardhanveggalam65113 ай бұрын
Thank you very much been looking for this !
@pierrelebon66273 ай бұрын
Great explanation, thank you
@lovelypets966Ай бұрын
thank you. good tutorial
@hizbusoftware76833 күн бұрын
i built an registration and login system using ReactJS by utilizing your previous spring security tutorial and this one together. i'm just stuck in one part where after user logs in to the system i want to display username, and the user role(User or Admin) but it is undefined in the UI. could you please suggest me some tips to overcome this error?
@liqwis9598Ай бұрын
Nice explanation , if possible Can you also please teach us SSO or AUTH2 or MFA like this SIR
@ganeshenamala83173 ай бұрын
Waiting for this video, thank you bro 🙏
@ankeshwarapujokesh5430Ай бұрын
java.lang.NoSuchMethodError: 'boolean org.springframework.security.authentication.AuthenticationTrustResolver.isAuthenticated(org.springframework.security.core.Authentication)' i got this error please give solution for this
@VickyKumar-xo6mpАй бұрын
Sir thank u for this video. Can you take one class of spring project how to debugging our and execution flow of project.
@AshwaniKumarTrading3 ай бұрын
Thanks for the video 🎉
@liqwis959817 күн бұрын
Hello @Afsal , while working the code i think i found a bud in the code, we are able to call the api , by two auth mechanism 1 - Bearer token which you explained , but we are also able to login by 2 - Basic Auth and access the admin or user api , do let us know is this expected behavior Thank you .
@tekapurnadeem8240Күн бұрын
jwts.SIG option is not showing
@elforeyyy21 күн бұрын
hello friends may you please assist me in my application used springboot security problem is after a successful login it's calling the login page again not redirecting to the specified endpoint. How can I share my classes with you. Thank you sir for the favor you explain so well
@user-gl7js3kz3xАй бұрын
Thanks sir
@jrdillipАй бұрын
Sir one question here, so every time we actually pass the token as part of the request header. And it goes inside doFilterChain() method but why it is hitting the database every time to get the user details. It hits the loadUserByUsername() and the request goes to the database. Is it the expected scenario that every time it is hitting the database with every request. Please help me I have been struggling to understand this for a long time.
@gnsc28 күн бұрын
Nive video
@pankajthakur97602 ай бұрын
Great well explained . well how we connect the api's with HTML pages ?
@RN-jo8zt2 ай бұрын
i think it's Symmetric Cryptography my knowledge: A single secret key is used for both creating and validating the token. Both the issuer and the verifier need to have access to this key. my question how verifier will get this secret key? like i will send him personally or it will store in cloud .so he/she can access it , or i will send in mail,teams....
@ScoobyDoo-ct9ndАй бұрын
is it OATH2 or OIDC?
@hamidmohammadi8570Ай бұрын
Assuming backend just accept request that contain token. How can handle returned token from backend to use in all request of frontend(javaFX) that send to backend? My problem is handling token in frontend.
@GenuineCoderАй бұрын
You can pass the JWT with every request with "Authorization" header. First, do the login and get JWT. Then for all subsequent requests, pass the obtained JWT via the request headers.
@chaitanyagupta66682 ай бұрын
[QUESTION] Why is the jwt auth filter to be brought before usernamepasswordauthentication filter? I still didn't get. Some kind soul please help me out on this?
@GenuineCoder2 ай бұрын
50:48 UsernamePasswordAuthenticationFilter is actually for form-based login (This one kzfaq.info/get/bejne/b7BdlZmA0bbdYmg.htmlsi=_HI2Z6AbMDh2-SgL&t=282) and is provided automatically by the Spring boot. The UsernamePasswordAuthenticationFilter and JwtAuthenticationFilter both handle authentication but in different ways. To function correctly, the JwtAuthenticationFilter should be called first. The JwtAuthenticationFilter intercepts the request, checks for the presence of a JWT token, validates it, and sets up the security context. If the token is valid, the request proceeds with the authenticated context. If the token is not valid or absent, the request will then be processed by the default authentication mechanisms, such as the UsernamePasswordAuthenticationFilter. When the UsernamePasswordAuthenticationFilter is called before the JwtAuthenticationFilter, any request that doesn't have the proper username and password will be immediately rejected with an unauthorized status without giving the JwtAuthenticationFilter a chance to authenticate the user based on a JWT token. Therefore, the JwtAuthenticationFilter must be called before the UsernamePasswordAuthenticationFilter.
@ajithkrkd25622 ай бұрын
AOP video cheyyuo
@zoomer6192 ай бұрын
sir I need a little help regarding your Library management project. Im trying to get done with a small presentation and Ive seen your project. When I use it, it shows a 'help' box linkin to your youtube channel. I want it to hide for the time being. Can you help me with it, with your github. You can direct me what can I do to remove it from your repo that I would download.
@GenuineCoder2 ай бұрын
You can remove links to my channel and LinkedIn profiles from the about page FXML file github.com/afsalashyana/Library-Assistant/blob/master/src/library/assistant/ui/about/about.fxml
@suraj17_17Ай бұрын
Sir which version u r using
@GenuineCoderАй бұрын
I have used the Spring Boot v3.3.0. As of today, the latest version of spring boot available.
@calmyour3 ай бұрын
hi there how to connect post man with our application ?
@GenuineCoder3 ай бұрын
Hi, there is no special connection required from the postman. Postman can automatically send requests to the app via ip:port address. You just have to make sure that the app is started and the localhost:8080 is loading on the browser. If the browser is loading in that address, then the postman can connect to it too.