インターフェース SecurityExpressionHandler<T>
- すべてのスーパーインターフェース:
org.springframework.aop.framework.AopInfrastructureBean
- すべての既知のサブインターフェース:
MethodSecurityExpressionHandler
- すべての既知の実装クラス:
AbstractSecurityExpressionHandler
、DefaultHttpSecurityExpressionHandler
、DefaultMessageSecurityExpressionHandler
、DefaultMethodSecurityExpressionHandler
、DefaultWebSecurityExpressionHandler
、MessageAuthorizationContextSecurityExpressionHandler
public interface SecurityExpressionHandler<T>
extends org.springframework.aop.framework.AopInfrastructureBean
基になる式オブジェクトの実装からセキュリティ式を評価するための Spring Security の要件を分離するファサード
- 導入:
- 3.1
メソッドのサマリー
修飾子と型メソッド説明default org.springframework.expression.EvaluationContext
createEvaluationContext
(SupplierSE<Authentication> authentication, T invocation) 呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。org.springframework.expression.EvaluationContext
createEvaluationContext
(Authentication authentication, T invocation) 呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。org.springframework.expression.ExpressionParser
メソッドの詳細
getExpressionParser
org.springframework.expression.ExpressionParser getExpressionParser()- 戻り値:
- 実装で使用される式の式パーサー。
createEvaluationContext
org.springframework.expression.EvaluationContext createEvaluationContext(Authentication authentication, T invocation) 呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。createEvaluationContext
default org.springframework.expression.EvaluationContext createEvaluationContext(SupplierSE<Authentication> authentication, T invocation) 呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。Authentication
オブジェクトの遅延初期化を使用するカスタム実装を提供するために、このメソッドをオーバーライドできます。デフォルトでは、このメソッドはAuthentication
オブジェクトの先行初期化を使用します。- パラメーター:
authentication
- 使用するAuthentication
のSupplier
SEinvocation
- 使用するSecurityExpressionHandler
- 戻り値:
- 使用する
EvaluationContext
- 導入:
- 5.8