クラス BearerTokenAuthenticationFilter

java.lang.ObjectSE
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter
実装されたすべてのインターフェース:
jakarta.servlet.Filterorg.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanNameAwareorg.springframework.beans.factory.DisposableBeanorg.springframework.beans.factory.InitializingBeanorg.springframework.context.EnvironmentAwareorg.springframework.core.env.EnvironmentCapableorg.springframework.web.context.ServletContextAware
既知の直属サブクラス
BearerTokenAuthenticationFilter

public class BearerTokenAuthenticationFilter extends org.springframework.web.filter.OncePerRequestFilter
OAuth 2.0 ベアラートークンを含むリクエストを認証します。このフィルターは、BearerTokenAuthenticationToken を認証できる AuthenticationManager と接続する必要があります。
導入:
5.1
関連事項:
  • コンストラクターの詳細

    • BearerTokenAuthenticationFilter

      public BearerTokenAuthenticationFilter(AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest> authenticationManagerResolver)
      提供されたパラメーターを使用して BearerTokenAuthenticationFilter を構築します
      パラメーター:
      authenticationManagerResolver -
    • BearerTokenAuthenticationFilter

      public BearerTokenAuthenticationFilter(AuthenticationManager authenticationManager)
      提供されたパラメーターを使用して BearerTokenAuthenticationFilter を構築します
      パラメーター:
      authenticationManager -
  • メソッドの詳細