クラス 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
使用すべきではありません。boolean
isAllowed
(org.aopalliance.intercept.MethodInvocation invocation, Authentication authentication) 使用すべきではありません。void
setSecurityInterceptor
(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
を使用してください