Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Spring Security をセキュリティ フレームワークとして使用していますが、ユーザーの特権を変更する場合、アプリ サーバー (Tomcat) を再起動して機能させる必要があります。アプリ サーバーを再起動せずに特権をフラッシュする方法はありますか? たぶん、春のセキュリティは私が知らないAPIを提供しましたか?
助けてくれてありがとう!
ログイン、パスワード、およびロール情報をデータベースにJdbcDetailsService 保存し、xml で認証と認可のために SQL ステートメントを使用および構成することをお勧めします。
JdbcDetailsService