クラス ExpressionBasedPreInvocationAdvice

java.lang.ObjectSE
org.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice
実装されたすべてのインターフェース:
org.springframework.aop.framework.AopInfrastructureBeanPreInvocationAuthorizationAdvice

@DeprecatedSE public class ExpressionBasedPreInvocationAdvice extends ObjectSE implements PreInvocationAuthorizationAdvice
使用すべきではありません。
代わりに AuthorizationManagerAfterMethodInterceptor を使用してください
式に基づくメソッド呼び出し前の処理。
導入:
3.0
  • コンストラクターの詳細

    • ExpressionBasedPreInvocationAdvice

      public ExpressionBasedPreInvocationAdvice()
      使用すべきではありません。
  • メソッドの詳細

    • before

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

      public void setExpressionHandler(MethodSecurityExpressionHandler expressionHandler)
      使用すべきではありません。