Demystifying Spring Session: A Comprehensive Introduction for Java Developers!

Demystifying Spring Session: A Comprehensive Introduction for Java Developers!

Dan Vega

1 год назад

37,772 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Aarti singh
Aarti singh - 27.09.2023 23:21

Can i store otp using redis session store?

Ответить
FiberHive
FiberHive - 03.09.2023 10:01

This is siiick! Thanks for the knowledge, my friend.

Ответить
Ali Tariq
Ali Tariq - 01.09.2023 21:48

Dan you are doing tremendous work in Java world.

Ответить
Никита Мусинов
Никита Мусинов - 25.08.2023 10:29

Hi Dan! Thank you for this video, but I have one question. Why we can't see our attribute in session storage?

Ответить
Svalyava Svalyava
Svalyava Svalyava - 13.08.2023 11:53

what an awesome tutorial and explanation, thank you infinitely ☺️

Ответить
avonzo
avonzo - 04.08.2023 03:52

Well explained. Well done! Thank you.

Ответить
Eugene Smith
Eugene Smith - 23.07.2023 17:46

Does next person, who downloaded this project, need to install and setup docker?

Ответить
Mateusz Krajewski
Mateusz Krajewski - 22.07.2023 22:31

Are there any reasons to manage Session along with JWT tokens?

Ответить
Luka Maletić
Luka Maletić - 03.07.2023 16:49

will you do a follow-up tutorial for database usage with session? Or does anyone have a good tutorial/documentation for it? Everything I found is pretty vague

Ответить
enjoy it
enjoy it - 02.07.2023 14:32

Great video, thanks!

Ответить
Most wanted
Most wanted - 12.06.2023 11:17

thanks

Ответить
ASHISH KUMAR
ASHISH KUMAR - 09.06.2023 13:35

Can you please make a video on providing cosnistent error body for all type of Security error( eg. DisabledException etc) using global rest controller advice?

Ответить
m_jdm35
m_jdm35 - 09.06.2023 10:00

I integrated Spring Session with Redis, OAuth2 Login, Google reCapthca v3 and Docker for PostgreSQL and Redis into my project thanks to you!

Ответить
Angry
Angry - 22.05.2023 19:27

Hi! Do somebody know how to save session to database since spring security 6?

Ответить
Hicham Britel
Hicham Britel - 22.05.2023 02:38

great content, and great way to explain it. keep up the good work !

Ответить
sandeep prabhakula
sandeep prabhakula - 19.05.2023 13:33

Hi Dan. Firstly It's a great tutorial beginners can easily learn spring security. Secondly I'm working on my project where I'm facing an issue that "user are able to access the data of other users".

In simple words no user should have the authority to read or manipulate data of other users except theirs.

There's no scope of admin and user-based authorization. because there's no such content that users should not see. Every user has their own data, and it should not be visible to others except the current authorized user.

Please suggest me how to do customized authorization on each user.

Thanks in advance
Dan

Ответить
Guram Kankava
Guram Kankava - 08.05.2023 20:28

Thank you

Ответить
Marcel
Marcel - 08.05.2023 19:55

Hi Dan, the Github link does not work.

Ответить
Heiko Zelt
Heiko Zelt - 06.05.2023 20:34

What's the differnce between a session attribute and a session scoped bean? When should I use what?

Ответить
Please Think
Please Think - 05.05.2023 21:22

Every time I think I can skip one of your videos but wind up watching it instead, I realize how much I would have missed out had I skipped it.
Keep up the good work and please keep these coming!

Ответить
Rick Dkrd
Rick Dkrd - 04.05.2023 14:37

Great guide, thanks

Ответить
Thato Shebe
Thato Shebe - 04.05.2023 12:20

Hi Dan, I just wanted to find out if running multiple instances with spring session, are csrf tokens stored on spring session as that request can go to any of the instances?

Ответить
Rostik
Rostik - 04.05.2023 10:05

Each new video is like holiday!🥳
ty

Ответить
AleksandarT10
AleksandarT10 - 04.05.2023 08:30

Does it make sense to use JWT tokens along with sessions? If so, can you make video on that?

Ответить
Руслан Виноградов
Руслан Виноградов - 04.05.2023 08:28

Hey Dan! This works just fine but wht about sharing sessions between mocroservices in spring cloud architecture. This is also works fine but with autogenerated user and password. When I'm trying to implement somw security logis (UserDeatils and UserDetailsService) this goes just bad. Any thougts about it?

Ответить
fjspitz
fjspitz - 04.05.2023 03:34

Nice! Thank you for sharing this Dan.

Ответить
Nathan Lively
Nathan Lively - 04.05.2023 01:15

Hey Dan, unable to find your podcast in Pocket casts. Also tried adding the rss feed. Clicking the Pocket Casts link in your embedded player returns 404.

Ответить
Fred Araújo Soares
Fred Araújo Soares - 04.05.2023 00:53

Nice Dan! I am working right now in a project that will replace servlet to spring redis session in an openshift cluster. I had to debug entire app to identify bottlenecks that might cause some troubles. First step was to build a POC in a container. After fixed a few flows that could show the value of using of spring session, I started to debug entire app. Now in a stage of performance test and improvements about resources usage like database pool.
Spring redis session is amazing to leverage app performance. Jmeter was a good enough tool that helped me improve a scenario that before performed in 5 minutes with 16% errors(memory and pool) to only 50 seconds and 0% errors.
The next stage is to start replace some servlets by Spring boot components! Of course, using spring session + redis.

Ответить
Miguel Mosquera
Miguel Mosquera - 04.05.2023 00:28

Thank you so much

Ответить
meletis korres
meletis korres - 04.05.2023 00:17

Comment for the algo

Ответить
Benjamin E.Ndugga
Benjamin E.Ndugga - 03.05.2023 23:29

This is Good, I think you can do the same thing with Hazelcast which I find it alot better than Redis; it's scalable

Ответить