“40 If you need to dynamically update a logged in user's authorities (when these have changed, for whatever reason), without having to log out and log in of course, you just need to reset the Authentication object (security token) in the Spring SecurityContextHolder.”
I'm doing an application with authentication by OpenID using Spring Security. When user is logged-in, some authorities are loaded in his session. I have User with full right which can modify author...
“40 If you need to dynamically update a logged in user's authorities (when these have changed, for whatever reason), without having to log out and log in of course, you just need to reset the Authentication object (security token) in the Spring SecurityContextHolder.”
sumanyarn のブックマーク 2019/06/09 01:21
このブックマークにはスターがありません。
最初のスターをつけてみよう!
How to reload authorities on user update with Spring Security
stackoverflow.com2019/06/09
I'm doing an application with authentication by OpenID using Spring Security. When user is logged-in, some authorities are loaded in his session. I have User with full right which can modify author...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /