HttpSession
ユーザー認証が成功した後にオブジェクトを追加したい。SavedRequestAwareAuthenticationSuccessHandler
このアプリでは何らかの理由でアプリケーションが元のリクエストを無視しているため、解決策を提案しないでください。
public class AuthenticationSuccessListener implements ApplicationListener<InteractiveAuthenticationSuccessEvent> {
@Override
public void onApplicationEvent(InteractiveAuthenticationSuccessEvent e) {
//adding object to HttpSession
}
}