クラス MethodInvocationPrivilegeEvaluator
java.lang.ObjectSE
org.springframework.security.access.intercept.MethodInvocationPrivilegeEvaluator
- 実装されているすべてのインターフェース:
org.springframework.beans.factory.InitializingBean
@DeprecatedSE
public class MethodInvocationPrivilegeEvaluator
extends ObjectSE
implements org.springframework.beans.factory.InitializingBean
使用すべきではありません。
特定のメソッド呼び出しに対して「呼び出し前」の特権があるかどうかをユーザーが判断できるようにします。
もちろん、AfterInvocationManager を使用してメソッド呼び出しの結果を承認する場合、このクラスは、AfterInvocationManager がアクセスを有効にするかどうかの決定を支援できません。代わりに、このクラスは、「後」の呼び出し処理に関係なく、現在のプリンシパルが少なくともメソッドの呼び出しを試行できるかどうかをアプリケーションが判断できるようにすることを目的としています。
フィールドのサマリー
フィールドコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void使用すべきではありません。booleanisAllowed(org.aopalliance.intercept.MethodInvocation invocation, Authentication authentication) 使用すべきではありません。voidsetSecurityInterceptor(AbstractSecurityInterceptor securityInterceptor) 使用すべきではありません。
フィールドの詳細
logger
protected static final org.apache.commons.logging.Log logger使用すべきではありません。
コンストラクターの詳細
MethodInvocationPrivilegeEvaluator
public MethodInvocationPrivilegeEvaluator()使用すべきではありません。
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()使用すべきではありません。- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBeanのafterPropertiesSet
isAllowed
public boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation, Authentication authentication) 使用すべきではありません。setSecurityInterceptor
使用すべきではありません。
AuthorizationManagerを使用してください