-1
スケジュールタスクで呼び出されたメソッド内に記録されているユーザー名にアクセスしたいので、問題があります。私は次のコードを持っています:スケジュールタスクでログに記録されたユーザーを取得する - Spring
public void updateCategorizedProdutcsFile()
{
Authentication authentication SecurityContextHolder.getContext().getAuthentication();
私はあなたに感謝します。
リファレンスガイドにその上の全体[章](http://docs.spring.io/spring-security/site/docs/current/reference/html/concurrency.html)があります。 –
WebアプリケーションまたはSpringベースのJavaアプリケーションがありますか? –