クラス ExpressionBasedPreInvocationAdvice
- java.lang.Object
-
- org.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice
- 実装済みのインターフェース一覧:
org.springframework.aop.framework.AopInfrastructureBean,PreInvocationAuthorizationAdvice
@Deprecated public class ExpressionBasedPreInvocationAdvice extends java.lang.Object implements PreInvocationAuthorizationAdvice
使用すべきではありません。代わりにAuthorizationManagerAfterMethodInterceptorを使用してください式に基づくメソッド呼び出し前の処理。- 導入:
- 3.0
コンストラクター概要
コンストラクター コンストラクター 説明 ExpressionBasedPreInvocationAdvice()使用すべきではありません。
方法の概要
すべてのメソッド インスタンスメソッド 具象メソッド 非推奨のメソッド 修飾子と型 メソッド 説明 booleanbefore(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute attr)使用すべきではありません。必要なフィルタリングを実行し、メソッド呼び出しが許可されるかどうかを決定するために実行する必要がある「前」のアドバイス。voidsetExpressionHandler(MethodSecurityExpressionHandler expressionHandler)使用すべきではありません。
メソッドの詳細
before
public boolean before(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute attr)
使用すべきではありません。インターフェースからコピーされた説明:PreInvocationAuthorizationAdvice必要なフィルタリングを実行し、メソッド呼び出しが許可されるかどうかを決定するために実行する必要がある「前」のアドバイス。- 次で指定:
- インターフェース
PreInvocationAuthorizationAdvice内のbefore - パラメーター:
authentication- 決定を下すべきアカウントの元本に関する情報mi- 試行されたメソッド呼び出しattr- @PreFilter および @PostFilter アノテーションから構築された属性。- 戻り値:
- 許可されている場合は true、そうでない場合は false
setExpressionHandler
public void setExpressionHandler(MethodSecurityExpressionHandler expressionHandler)
使用すべきではありません。