Ask questions and see you at October 2nd, 8 pm CET: youtube.com/c/bienadam
Also checkout recent episode:
Please keep the questions as short and as concise as only possible. Feel free to ask several, shorter questions. I will also cover some questions in my "shorts" youtube.com/@bienadam/shorts between the shows.
Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
New: the airhacks.tv discord server: discord.gg/airhacks

Hello @AdamBien,
I have two questions :
I was wondering how you manage your authentication and authorization. How do you get your end user in your controllers or how do you check its permissions ?
With Spring Security, the
SecurityContextcan get you anAuthenticationwhich is roughly no better than anObjectbecause you have to know the implementation to get anything out of it. There are some not so well-known conventions but no strict API therefore it is often pure chaos.Is it any better with Jakarta or microprofiles ?
Java 21 is now released (yay !) and Virtual Threads are soon (if not already) there with the LTS flag.
Do you foresee any gain when using virtual threads for APIs using JPA ? As the database connection pool is limited, will virtual threads still help ?