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