インターフェース 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.EvaluationContextcreateEvaluationContext(java.util.function.Supplier<Authentication> authentication, T invocation)呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。org.springframework.expression.EvaluationContextcreateEvaluationContext(Authentication authentication, T invocation)呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。org.springframework.expression.ExpressionParsergetExpressionParser()
メソッドの詳細
getExpressionParser
org.springframework.expression.ExpressionParser getExpressionParser()
- 戻り値:
- 実装で使用される式の式パーサー。
createEvaluationContext
org.springframework.expression.EvaluationContext createEvaluationContext(Authentication authentication, T invocation)
呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。
createEvaluationContext
default org.springframework.expression.EvaluationContext createEvaluationContext(java.util.function.Supplier<Authentication> authentication, T invocation)
呼び出し型のセキュリティ式を評価するための評価コンテキストを提供します。Authenticationオブジェクトの遅延初期化を使用するカスタム実装を提供するために、このメソッドをオーバーライドできます。デフォルトでは、このメソッドはAuthenticationオブジェクトの先行初期化を使用します。- パラメーター:
authentication- 使用するAuthenticationのSupplierinvocation- 使用するSecurityExpressionHandler- 戻り値:
- 使用する
EvaluationContext - 導入:
- 5.8