Spring Method Security
12:44
2 жыл бұрын
Spring Security Roles and Permissions
16:36
spring security custom access denied
13:19
Spring Security Authentication
26:04
3 жыл бұрын
spring security success handler
19:56
spring security UserDetailsService
14:12
Spring Security Tags with Thymeleaf
15:09
Spring security concurrent sessions
24:34
session timeout spring boot security
9:24
Spring security forgot password
22:24
Token based remember me
16:20
3 жыл бұрын
Spring Security Logout
12:15
3 жыл бұрын
What are spring security filters?
12:30
What is Spring security?
19:08
4 жыл бұрын
Пікірлер
@22yakesh
@22yakesh 25 күн бұрын
Great job explaining the fundamental. Indeed very useful. Thank you! 🙏
@anjaneyuludaddala1809
@anjaneyuludaddala1809 2 ай бұрын
why new PasswordData(); is necessary .explain this and also i want source code of this.
@umamaheswari6754
@umamaheswari6754 3 ай бұрын
If possible please share the github link please
@javadevjournal
@javadevjournal 3 ай бұрын
github.com/javadevjournal/javadevjournal/tree/master/spring-security/spring-security-series
@mustapharaimilawal8053
@mustapharaimilawal8053 4 ай бұрын
Thank you sir for making this course and especially making it free here on KZbin. This is very, very helpful, it would clarify many not so straight forward parts of spring security. I am grateful sir.
@javadevjournal
@javadevjournal 4 ай бұрын
Thanks and happy that it was helpful to you
@haraldhiemstra3335
@haraldhiemstra3335 5 ай бұрын
This is by far the best tutorial on spring security I have seen. Most of the other tutorials just show the code to make it work without the needed context, which you explain very well! Thanks!
@javadevjournal
@javadevjournal 4 ай бұрын
Glad it helped
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 6 ай бұрын
Thank you! Very well explained! 💛
@javadevjournal
@javadevjournal 4 ай бұрын
Glad you liked it!!
@krishnabangari1292
@krishnabangari1292 8 ай бұрын
Thank you😊
@roxanaganicenco
@roxanaganicenco 8 ай бұрын
If you want to write the steps down : 1. User clicks on forgot password link 2. Provide email id and click on rest password link (we can add additional steps 3. System generates secure token and sends out email to the customer email id 4. Customer clicks on the link: a. System checks if the token is valid and not exired b. Check if there's a valid user 5. Provide user with the reset password link.
@smoothcriminal29
@smoothcriminal29 8 ай бұрын
Thank you so much. Such an amazing informative video. Love the entire playlist.
@javadevjournal
@javadevjournal 4 ай бұрын
You are so welcome!
@akshaypandare123
@akshaypandare123 8 ай бұрын
Thank u for this tutorial, I want to ask something ...... If I dont want to use formLogin() then how to do ? I dont have login page application. I am having REST API application.
@21st_charlie34
@21st_charlie34 10 ай бұрын
Thats not method security. Method security is for the service layer and not the controller layer.
@javadevjournal
@javadevjournal 10 ай бұрын
Not fully agree. For many REST APIs, you need to add it on the API before even they go to the service layer. This all boil down to your requirement. If you are exposing REST API and want to add security on method level based on roles, you will add it on your controller and if this is for some internal application or within the app, you might add it on the service layer.
@Helloboi12-t7v
@Helloboi12-t7v 10 ай бұрын
if you have error just paste this code into your application.yaml. management: endpoints: web: exposure: include: '*'
@depression_plusplus6120
@depression_plusplus6120 11 ай бұрын
Does this work with react. Why everybody uses jsp only...sucks
@javadevjournal
@javadevjournal 11 ай бұрын
all you need a REST API..Spring security will work as is, you may need stateless option
@depression_plusplus6120
@depression_plusplus6120 10 ай бұрын
Yes, eggzactly Flow is as follows :- Username password. I will use manager.autheticate and if it's authenticated. I'll proceed. Now, since I'm doing stateless architecture. What am I gonna send to the user to verify his OTP. Also, doing a stateless Architecture, does it makes those requestMatches.authenticated. permit all redundant?...cuz they use the state on the server. Please answer
@jitendrapatil3276
@jitendrapatil3276 11 ай бұрын
Can we use more than 1 Resolver like AcceptHeaderLocaleResolver and SessionLocaleResolver in one application ?
@javadevjournal
@javadevjournal 11 ай бұрын
Yes, you can. somethig like this @Override public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) { argumentResolvers.add(new HeaderMethodArgumentResolver()); You need to implement WebMvcConfigurer
@jitendrapatil3276
@jitendrapatil3276 11 ай бұрын
@@javadevjournal Thanks. Let me check.
@svalyavasvalyava9867
@svalyavasvalyava9867 11 ай бұрын
an amazing tutorial and explanation, thank you ☺️
@maxchoquemartinez6126
@maxchoquemartinez6126 11 ай бұрын
Hi, how will work this in an fullstack application, if I want to logout from Frontend and the backend response with redirecction? thanks Good video
@ruslansitdikov1489
@ruslansitdikov1489 Жыл бұрын
perfecto!!
@fabrizioferroni609
@fabrizioferroni609 Жыл бұрын
Hello, I see that what you did is in an mvc in spring boot, how could this be taken to a rest api in spring boot for example and consuming it with a frontend made in Angular? Sorry for my English which is not good
@MaximZemlyanoy
@MaximZemlyanoy Жыл бұрын
WebSecurityConfigurerAdapter is deprecated
@javadevjournal
@javadevjournal Жыл бұрын
yes but the workflow and other are still same
@oscarluizoliveira
@oscarluizoliveira Жыл бұрын
Congratulations on the excellent material, could you please enable the subtitles (ClosedCaption) for this video.
@safvanp567
@safvanp567 Жыл бұрын
Great explantion. Thankyou so much
@gajanangaikwad2020
@gajanangaikwad2020 Жыл бұрын
Highly appreciated..
@rahulvaish3034
@rahulvaish3034 Жыл бұрын
I can follow the video, but nothing about what you are explaining. Sorry!
@cponte
@cponte Жыл бұрын
First of all, thanks for sharing your knowledge! HTTP stopped working in my application after configuring HTTPS. The only think I made was include .requiresChannel().antMatchers("/account/**").requiresSecure().and() in the security config file, added the properties and created the p12 file. Any idea why it is happening?
@mohdazharrazaqadri4638
@mohdazharrazaqadri4638 Жыл бұрын
Sir, will the session extend due to some activity within 5 seconds ? or it is static 5 seconds ?
@javadevjournal
@javadevjournal Жыл бұрын
it will increase automatically if there is any activity.
@ManojKumar-hy5yl
@ManojKumar-hy5yl Жыл бұрын
I was trying to use log4j but it wasnt working. Watched your video and followed the steps and it worked. You saved my day. Many Thanks
@guidestudio8856
@guidestudio8856 Жыл бұрын
Dependencies are very important to run log4j2 above 2.7. Thanks
@ZakariaaElK
@ZakariaaElK Жыл бұрын
Thank you for this great tuto, i have a problem when I type in the browser localhost:8080/metrics it works, but when I type localhost:8080/actuator/metrics it appears an error message "Whitelabel Error Page. This application has no explicit mapping for / error, so you are seeing this as a fallback". Knowing that I added the "spring-boot-starter-actuator" dependency.
@sarveshzeke7255
@sarveshzeke7255 10 ай бұрын
Also add the micrometer-registry-prometheus dependency! That worked for me
@ravindrabhatt8699
@ravindrabhatt8699 Жыл бұрын
Hello just wondering on which class we are generating cookie, I know how we can change cookie name and other configs but can you point me where exactly we are creating cookie and setting it to response. Also does this cookie creation logic remains same on oauth2 flow as well. thanks in advance.
@PRIYANJALI22
@PRIYANJALI22 Жыл бұрын
Source code please
@Kim-yv8wn
@Kim-yv8wn Жыл бұрын
I keep getting this Problem but i'm not sure why: java: cannot access javax.servlet.Filter class file for javax.servlet.Filter not found what could be the Problem? I have also tried adding the dependency, but then the whole Server stopped running
@ashwinvarma9349
@ashwinvarma9349 Жыл бұрын
so when is jedis required?
@ArielLevitsky
@ArielLevitsky Жыл бұрын
Great tutorial!
@lahirusandaruwan63
@lahirusandaruwan63 Жыл бұрын
Thanks a lot
@sekhar4033
@sekhar4033 Жыл бұрын
Too good
@medAmineRg
@medAmineRg Жыл бұрын
thanks man thats really great stuff keep it upp
@mohamedjbeli4811
@mohamedjbeli4811 Жыл бұрын
saha ya ba7bou7 yarhem waldek
@kasmizoubeir5009
@kasmizoubeir5009 Жыл бұрын
just woow thank you it was very helpful thank you sinpay
@hkkabir2024
@hkkabir2024 Жыл бұрын
do you have the latest configuration without using webconfigueradaptor ? it's depreciated and i am stuck here for implanting the config of authentication provider
@calebloria3718
@calebloria3718 Жыл бұрын
Why the method CollectionUtils need to use isNotEmpty and not just isEmpty?
@ngndnd
@ngndnd Жыл бұрын
hi can you help me out. How would i do the security if i dont have roles. For example, im just messing around with a banking application and one user can have many accounts (savings or checking)
@javadevjournal
@javadevjournal Жыл бұрын
You still have a role (say customer) and use it for any customer who login to you banking application.
@espinosagarciajonathan2161
@espinosagarciajonathan2161 Жыл бұрын
How connect redis with php i cant resolve that problem pls help me if u know to how resolve this problem
@ngndnd
@ngndnd Жыл бұрын
finally a playlist that i can follow along to. Spent hours looking for something useful. The websites with spring security examples dont explain anything, they just show the code so im thankful for this
@javadevjournal
@javadevjournal Жыл бұрын
Happy..this was helpful for you!!!
@keyur-vamja-it
@keyur-vamja-it Жыл бұрын
Add RoleHierarchy Implementation with Spring Security 6, Spring boot 3 with method level security.
@javadevjournal
@javadevjournal Жыл бұрын
Thanks, will check and do that!!!
@davidtheprogrammer
@davidtheprogrammer Жыл бұрын
I don't understand something, what class do I point to in the spring.factories file, do I add the class with the "@SpringBootApplication" annotation or an autoconfiguration class that I've annotated with "@Configuration"?
@ramkesva7761
@ramkesva7761 Жыл бұрын
Hi @Java Development Journal, On postman I am getting 403 as status, Forbidden as error and message is null how can I give a message there? Can you help me with this
@luccaboets8302
@luccaboets8302 Жыл бұрын
Even after 5 years, this tutorial was helpful. I was stuck on this for a day. Thank you
@lts8683
@lts8683 Жыл бұрын
We can install SSL Certificate on the reverse proxy such as nginx instead to install it directly on the app
@javadevjournal
@javadevjournal Жыл бұрын
yes..but not all application run on HA proxy or web server.
@lts8683
@lts8683 Жыл бұрын
This approche will not affect the performance of application because we will send every time query to the database to verify the token?
@javadevjournal
@javadevjournal Жыл бұрын
I think we are mixing the optimization with the security..both are different topics..you can for sure have in memory cache DB if working on high volume sitr like Redis etc
@lts8683
@lts8683 Жыл бұрын
It is recommande to specify the key on remember me configuration?