インターフェース PreInvocationAuthorizationAdvice

  • すべてのスーパーインターフェース:
    org.springframework.aop.framework.AopInfrastructureBean
    すべての既知の実装クラス:
    ExpressionBasedPreInvocationAdvice

    @Deprecated
    public interface PreInvocationAuthorizationAdvice
    extends org.springframework.aop.framework.AopInfrastructureBean
    使用すべきではありません。
    代わりに AuthorizationManagerBeforeMethodInterceptor を使用してください
    メソッドが呼び出される前に引数のフィルタリングと認証ロジックを実行します。
    導入:
    3.0
    • メソッドの詳細

      • before

        boolean before​(Authentication authentication,
                       org.aopalliance.intercept.MethodInvocation mi,
                       PreInvocationAttribute preInvocationAttribute)
        使用すべきではありません。
        必要なフィルタリングを実行し、メソッド呼び出しが許可されるかどうかを決定するために実行する必要がある「前」のアドバイス。
        パラメーター:
        authentication - 決定を下すべきアカウントの元本に関する情報
        mi - 試行されたメソッド呼び出し
        preInvocationAttribute - @PreFilter および @PostFilter アノテーションから構築された属性。
        戻り値:
        許可されている場合は true、そうでない場合は false