クラス AuthorizationManagerBeforeReactiveMethodInterceptor
java.lang.ObjectSE
org.springframework.security.authorization.method.AuthorizationManagerBeforeReactiveMethodInterceptor
- 実装されたすべてのインターフェース:
org.aopalliance.aop.Advice
、org.aopalliance.intercept.Interceptor
、org.aopalliance.intercept.MethodInterceptor
、org.springframework.aop.Advisor
、org.springframework.aop.framework.AopInfrastructureBean
、org.springframework.aop.PointcutAdvisor
、org.springframework.core.Ordered
、AuthorizationAdvisor
public final class AuthorizationManagerBeforeReactiveMethodInterceptor
extends ObjectSE
implements AuthorizationAdvisor
構成された
ReactiveAuthorizationManager
を使用して、Authentication
が MethodInvocation
にアクセスできるかどうかを判別できる MethodInterceptor
。- 導入:
- 5.8
フィールドサマリー
インターフェース org.springframework.aop.Advisor から継承されたフィールド
EMPTY_ADVICE
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターのサマリー
コンストラクターコンストラクター説明AuthorizationManagerBeforeReactiveMethodInterceptor
(org.springframework.aop.Pointcut pointcut, ReactiveAuthorizationManager<org.aopalliance.intercept.MethodInvocation> authorizationManager) インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明org.aopalliance.aop.Advice
int
getOrder()
org.springframework.aop.Pointcut
invoke
(org.aopalliance.intercept.MethodInvocation mi) boolean
PreAuthorize
アノテーションのインスタンスを作成します。preAuthorize
(ReactiveAuthorizationManager<org.aopalliance.intercept.MethodInvocation> authorizationManager) PreAuthorize
アノテーションのインスタンスを作成します。void
setOrder
(int order)
コンストラクターの詳細
AuthorizationManagerBeforeReactiveMethodInterceptor
public AuthorizationManagerBeforeReactiveMethodInterceptor(org.springframework.aop.Pointcut pointcut, ReactiveAuthorizationManager<org.aopalliance.intercept.MethodInvocation> authorizationManager) インスタンスを作成します。- パラメーター:
pointcut
- 使用するPointcut
authorizationManager
- 使用するReactiveAuthorizationManager
メソッドの詳細
preAuthorize
PreAuthorize
アノテーションのインスタンスを作成します。preAuthorize
public static AuthorizationManagerBeforeReactiveMethodInterceptor preAuthorize(ReactiveAuthorizationManager<org.aopalliance.intercept.MethodInvocation> authorizationManager) PreAuthorize
アノテーションのインスタンスを作成します。- パラメーター:
authorizationManager
- 使用するReactiveAuthorizationManager
- 戻り値:
- 使用する
AuthorizationManagerBeforeReactiveMethodInterceptor
invoke
- 次で指定:
- インターフェース
org.aopalliance.intercept.MethodInterceptor
のinvoke
- パラメーター:
mi
- 使用するMethodInvocation
- 戻り値:
MethodInvocation
からのPublisher
、またはアクセスが拒否された場合のPublisher
エラー- 例外:
ThrowableSE
getPointcut
public org.springframework.aop.Pointcut getPointcut()- 次で指定:
- インターフェース
org.springframework.aop.PointcutAdvisor
のgetPointcut
getAdvice
public org.aopalliance.aop.Advice getAdvice()- 次で指定:
- インターフェース
org.springframework.aop.Advisor
のgetAdvice
isPerInstance
public boolean isPerInstance()- 次で指定:
- インターフェース
org.springframework.aop.Advisor
のisPerInstance
getOrder
public int getOrder()- 次で指定:
- インターフェース
org.springframework.core.Ordered
のgetOrder
setOrder
public void setOrder(int order)