インターフェース MethodSecurityExpressionHandler
- すべてのスーパーインターフェース:
org.springframework.aop.framework.AopInfrastructureBean
,SecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
- すべての既知の実装クラス:
DefaultMethodSecurityExpressionHandler
public interface MethodSecurityExpressionHandler
extends SecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
メソッド呼び出しの保護に固有のメソッドを追加する拡張式ハンドラーファサード。
- 導入:
- 3.0
メソッドのサマリー
修飾子と型メソッド説明filter
(ObjectSE filterTarget, org.springframework.expression.Expression filterExpression, org.springframework.expression.EvaluationContext ctx) ターゲットのコレクションまたは配列をフィルタリングします。void
setReturnObject
(ObjectSE returnObject, org.springframework.expression.EvaluationContext ctx) 指定された評価コンテキストの戻りオブジェクトを式システムに通知するために使用されます。インターフェース org.springframework.security.access.expression.SecurityExpressionHandler から継承されたメソッド
createEvaluationContext, createEvaluationContext, getExpressionParser
メソッドの詳細
filter
ObjectSE filter(ObjectSE filterTarget, org.springframework.expression.Expression filterExpression, org.springframework.expression.EvaluationContext ctx) ターゲットのコレクションまたは配列をフィルタリングします。メソッド呼び出しにのみ適用されます。- パラメーター:
filterTarget
- フィルタリングする配列またはコレクション。filterExpression
- フィルター条件として使用される式。評価時に false を返す場合、オブジェクトは返されたコレクションから削除されますctx
- 現在の評価コンテキスト(SecurityExpressionHandler.createEvaluationContext(org.springframework.security.core.Authentication, Object)
の呼び出しを通じて作成されたもの)- 戻り値:
- フィルタリングされたコレクションまたは配列
setReturnObject
指定された評価コンテキストの戻りオブジェクトを式システムに通知するために使用されます。メソッド呼び出しにのみ適用されます。- パラメーター:
returnObject
- 戻りオブジェクト値ctx
- オブジェクトを設定するコンテキスト(SecurityExpressionHandler.createEvaluationContext(org.springframework.security.core.Authentication, Object)
の呼び出しで作成されたもの)