発生していた問題 未ログイン状態で、認証が必要なWebAPI-1にリクエスト HTTP 401が返される ログイン HTTP 200 ログイン成功 レスポンスボディなし WebAPI-2(1とは異なるAPI)を呼び出す WebAPI-1のレスポンスが返される クライアントサイドのリクエストパラメータは、WebAPI-2を指定 サーバーログを見る限り、1.でリクエストした際のリクエストパラメータを元に処理が行われ、レスポンスが返されている Spring Bootのバージョン Spring Boot 1.4.2 Spring Security 4.1.3 原因 問題が発生するパターンのSpring Securityの設定は概ねこんな感じ。 public class ApiWebSecurityConfig extends WebSecurityConfigurerAdapter { priva