Disable CSRF in Spring Security 6.x
3:22
16 сағат бұрын
Пікірлер
@mohamedabdelrehim858
@mohamedabdelrehim858 9 сағат бұрын
Thanks
@mohamedabdelrehim858
@mohamedabdelrehim858 10 сағат бұрын
Thank you so much for this great series on heroku. It was so helpful
@PhuongThuyVu-uf2lq
@PhuongThuyVu-uf2lq 2 күн бұрын
Anh ơi em làm tới phút 20 thì báo lỗi như sau ạ: *************************** APPLICATION FAILED TO START *************************** Description: Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found. Action: Consider defining a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' in your configuration.
@emirwertyukes9587
@emirwertyukes9587 2 күн бұрын
i did everything you showed but in try block when compiler came to connect object the execution never ends, no output/no exception
@Someorangething
@Someorangething 3 күн бұрын
Installation was not difficult. Either way this video was very helpful.
@Ccandt
@Ccandt 4 күн бұрын
Hi, any Idea how to mock ths ListObjectResponse with custom values? Is that even possible?
@CodeJava
@CodeJava 4 күн бұрын
I'm not sure. Try using Mock and Spy in Mockito.
@SimoYouTubeHandle
@SimoYouTubeHandle 5 күн бұрын
Thanks, exactly what I needed
@CodeJava
@CodeJava 4 күн бұрын
Glad it helped :)
@sidof8065
@sidof8065 5 күн бұрын
thanks sir
@CodeJava
@CodeJava 4 күн бұрын
Most welcome
@minhnguyen86
@minhnguyen86 6 күн бұрын
what is prerequisite before learning those annotation, I'm beginner in Springboot. Thank you for replying
@CodeJava
@CodeJava 4 күн бұрын
have basic knowledge in MVC (model view controller) paradigm with Java Servlet and Spring MVC.
@gaurrahul619
@gaurrahul619 6 күн бұрын
plz make seperate playlist for spring security 6
@CodeJava
@CodeJava 4 күн бұрын
Sure, I will.
@lam.4721
@lam.4721 7 күн бұрын
antMatcher() not working
@mohitpatiyal5773
@mohitpatiyal5773 7 күн бұрын
Feature unavailable: Facebook Login is currently unavailable for this app as we are updating additional details for this app. Please try again later. I am facing this problem if i try to logic with other fb id. So do i need to verify business account?
@CodeJava
@CodeJava 4 күн бұрын
maybe you need to. Also try to create a new app.
@TheMrBazil
@TheMrBazil 7 күн бұрын
So if we are using web forms you don't need disable CSRF to work? Or you miss something man to handle then this?
@CodeJava
@CodeJava 7 күн бұрын
I mean CSRF should be enabled for web forms (best security practice). It's default config in Spring Security if you don't override it via security config.
@gaurrahul619
@gaurrahul619 7 күн бұрын
plz load complete playlist for spring security 6 version
@dilseind977
@dilseind977 7 күн бұрын
Nice
@CodeJava
@CodeJava 7 күн бұрын
Thanks
@adelsonjunior3211
@adelsonjunior3211 7 күн бұрын
ajudou em porra nenhuma
@lam.4721
@lam.4721 7 күн бұрын
my first time learn jwt auth. But something is not working... my head is very down now. can you give me some docs about jwt auth ussually update?
@CodeJava
@CodeJava 7 күн бұрын
I recommend you check references on jwt.io
@gaurrahul619
@gaurrahul619 8 күн бұрын
please make spring security latest tutorial with version with 3.0
@CodeJava
@CodeJava 7 күн бұрын
yes, I use Spring Boot 3.x with Spring Security 6.x in the recent and upcoming new videos.
@gaurrahul619
@gaurrahul619 7 күн бұрын
@@CodeJava I m waiting for it for the complete series with spring security 6
@janphillipdacallos4214
@janphillipdacallos4214 8 күн бұрын
Hello sir. I still can't access my springboot api. I already set the server port into 5000 but then, when I tried to upload and access the domain again, bad gate way error still appeared. How to fix this? Great video by the way!
@CodeJava
@CodeJava 8 күн бұрын
you need to check server's logs to see what really caused the error.
@regykb
@regykb 9 күн бұрын
Very nostalgic :D
@manhtritran51
@manhtritran51 11 күн бұрын
are you Vietnamese ?
@CodeJava
@CodeJava 8 күн бұрын
yes, I am. And welcome to my channel !
@lathamanimj2497
@lathamanimj2497 12 күн бұрын
Again same error I added those dependies
@_PhamQuocCuong
@_PhamQuocCuong 12 күн бұрын
Cái login Facebook em nhập có nhập đường dẫn localhost:8080/login/oauth2/code/facebook nhưng khi chạy bấm tiếp tục với tên tài khoản và truy cập vào không được a ạ
@giapcao9682
@giapcao9682 13 күн бұрын
My school require JDK 1.8 so i download the Derby suitable version. When I customize Java DB (Network), i can't see file derbyshared.jar. Can you give me another file that exist in lib that i can add to connect DB with netbeans. Thank you !
@mohsinabbas833
@mohsinabbas833 14 күн бұрын
thanks so much you solved my problems
@CodeJava
@CodeJava 14 күн бұрын
you're welcome. Glad it helped.
@rainermitai1337
@rainermitai1337 14 күн бұрын
ja ähm das war sehr sehr lecker
@bunty6999
@bunty6999 17 күн бұрын
Wow terrific English accent you had . I didn't even understand anything you say dude. Can't you pronounce the words clearly
@CodeJava
@CodeJava 16 күн бұрын
sorry to hear that, I will improve my accent in future videos.
@alexis_withluv
@alexis_withluv 17 күн бұрын
I have a problem with starting the server in Java DB, it says "Error: Could not find or load main class..."
@CodeJava
@CodeJava 17 күн бұрын
maybe you specified wrong Java DB installation directory, so it couldn't find the main class.
@thanhnguyendiep2261
@thanhnguyendiep2261 18 күн бұрын
Máy em dùng sql sever express, port 1433, em làm như anh xong lúc run nó báo lỗi java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.sqlExceptionHelper()" is null... thì phải sửa như nào ạ@@
@CodeJava
@CodeJava 17 күн бұрын
có khả năng là phiên bản JDBC driver cho SQL server chưa phù hợp với version của Hibernet hoặc version của SQL Server. Em thử kiểm tra và dùng phiên bản khác xem.
@IndianLearningSociety
@IndianLearningSociety 19 күн бұрын
Your are just awesome 🎉
@CodeJava
@CodeJava 17 күн бұрын
glad it helped.
@ChauVinhTienK18HCM
@ChauVinhTienK18HCM 21 күн бұрын
Cám cơn anh nhiều ạ
@CodeJava
@CodeJava 17 күн бұрын
you're welcome :)
@user-iq5wx7qq4v
@user-iq5wx7qq4v 21 күн бұрын
Thank you, dear friend! Your lesson helped me a lot.
@CodeJava
@CodeJava 21 күн бұрын
You are welcome! Glad it helped.
@alexis_withluv
@alexis_withluv 22 күн бұрын
I don't know why but it still showed the error "No suitable driver found..." even after I configured the classpath. Do I need to download something else?
@CodeJava
@CodeJava 22 күн бұрын
I guess the path you specified in classpath does not exist. So it couldn't find Derby jar files.
@alexis_withluv
@alexis_withluv 23 күн бұрын
When i entered cd derby in CMD, it says "The system cannot find the path specified." how can i fix this? I did everything up until that point
@CodeJava
@CodeJava 22 күн бұрын
check the path in cd command. It doesn't exist. type cd to see the current directory.
@FPT-LT
@FPT-LT 24 күн бұрын
Are you vietnamese right? I reconized from your ascent.
@CodeJava
@CodeJava 24 күн бұрын
yes, I am. Welcome to my Java channel :)
@sayunhettiarachchi6940
@sayunhettiarachchi6940 25 күн бұрын
Thxs for the vid. BTW its NOT FREE anymore we have to pay.
@CodeJava
@CodeJava 24 күн бұрын
right. Heroku is not free anymore.
@arturotopete237
@arturotopete237 25 күн бұрын
Thanks for the help!
@CodeJava
@CodeJava 24 күн бұрын
Happy to help!
@user-hc3zf4dd7e
@user-hc3zf4dd7e 26 күн бұрын
Thanks a lot for your work! It really helps.
@CodeJava
@CodeJava 24 күн бұрын
Glad to hear that!
@fene2899
@fene2899 27 күн бұрын
Thanks a lot for these helpful details. I might not need to install any additional db utilities since intellij has so much db functionality. Are there any other db utilities you consider essential that do things intellij can't?
@CodeJava
@CodeJava 26 күн бұрын
Glad I could help. I couldn't find anything better than the built-in one.
@hanieh.k
@hanieh.k 28 күн бұрын
Thank you a lot🙏🙏🙏🙏🙏
@CodeJava
@CodeJava 26 күн бұрын
Always welcome
@phuan1101
@phuan1101 28 күн бұрын
Previously, I successfully deployed a web application as you instructed. But recently when deploying according to your instructions, I got a log error: "Stack named 'awseb-....-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBAutoScalingGroup]". I tried creating another account and trying to deploy but still get this error, do you have any solution? Please help me!
@CodeJava
@CodeJava 26 күн бұрын
hmm, I don't know why.
@ROCKEMSOCKEM51
@ROCKEMSOCKEM51 29 күн бұрын
Great video, thanks!
@CodeJava
@CodeJava 29 күн бұрын
Glad you liked it!
@hpq9650
@hpq9650 Ай бұрын
nghe giong biet ngay nguoi Viet anh a. kkk
@CodeJava
@CodeJava 29 күн бұрын
đúng rồi em. Ủng hộ kênh của anh nhé :)
@nv-tgaming9763
@nv-tgaming9763 Ай бұрын
you are vietnamese people?
@CodeJava
@CodeJava 29 күн бұрын
sure, I am.
@nv-tgaming9763
@nv-tgaming9763 28 күн бұрын
@@CodeJava haha bảo sao nghe giọng quen quen :))
@shankarraj3433
@shankarraj3433 Ай бұрын
Thanks Mr. Nam Ha Minh. 👍
@CodeJava
@CodeJava Ай бұрын
you're welcome. Glad it helped.
@nelsonpvarzim
@nelsonpvarzim Ай бұрын
Hello! Can you give me code on gitHub ?
@TobiasZinke
@TobiasZinke Ай бұрын
I encountered a few problems myself and want to share my solution to my problems, in case someone happens to have the same: .zshrc could not be found: you can use "cat > .zshrc" as @Code Java thankfully already provided the solution in the comments. Closing the Terminal with 'exit' lead to problems for me. Every time i reopened a terminal it terminated the session. Here I deleted the latest two entries in .zsh_sessions. I do not generally recommend to delete files in hidden documents like history- or session-data but this was the only thing, that helped me fix the terminal. For those who rather work in the finder: Open the finder and reveal hidden folders by using "command shift period". Here you can directly open and edit files like .zshrc or .zsh_sessions Thanks for the helpful video. It still works and solved my problem :D
@minhhoangcong9155
@minhhoangcong9155 Ай бұрын
làm sao để backend biết được là hóa đơn đã thanh toán vậy ạ
@CodeJava
@CodeJava Ай бұрын
Khi gọi PaymentExecution thành công. Em xem thêm chi tiết trong bài viết này: www.codejava.net/coding/how-to-integrate-paypal-payment-into-java-web-application
@minhhoangcong9155
@minhhoangcong9155 Ай бұрын
@@CodeJava Em cảm ơn a
@nikse2028
@nikse2028 Ай бұрын
Thank you so much bro, you deserve a lot! I was crying with this error because I think that spring.servlet.multipart.maxsizes would be enough but then this one appears. The fk tomcat... well I learned something new today, thanks!
@CodeJava
@CodeJava Ай бұрын
You are welcome! Glad it helped.
@mohamedabdoulkader4056
@mohamedabdoulkader4056 Ай бұрын
In tomcat v 10