インターフェース PreInvocationAuthorizationAdvice
- すべてのスーパーインターフェース:
org.springframework.aop.framework.AopInfrastructureBean
- すべての既知の実装クラス:
ExpressionBasedPreInvocationAdvice
@DeprecatedSE
public interface PreInvocationAuthorizationAdvice
extends org.springframework.aop.framework.AopInfrastructureBean
使用すべきではありません。
メソッドが呼び出される前に引数のフィルタリングと認証ロジックを実行します。
- 導入:
- 3.0
メソッドのサマリー
修飾子と型メソッド説明boolean
before
(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute preInvocationAttribute) 使用すべきではありません。必要なフィルタリングを実行し、メソッド呼び出しが許可されるかどうかを決定するために実行する必要がある「前」のアドバイス。
メソッドの詳細
before
boolean before(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute preInvocationAttribute) 使用すべきではありません。必要なフィルタリングを実行し、メソッド呼び出しが許可されるかどうかを決定するために実行する必要がある「前」のアドバイス。- パラメーター:
authentication
- 決定を下すべきアカウントの元本に関する情報mi
- 試行されたメソッド呼び出しpreInvocationAttribute
- @PreFilter および @PostFilter アノテーションから構築された属性。- 戻り値:
- 許可されている場合は true、そうでない場合は false
AuthorizationManagerBeforeMethodInterceptor
を使用してください