クラス 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
使用すべきではありません。
代わりに AuthorizationManager を使用してください
特定のメソッド呼び出しに対して「呼び出し前」の特権があるかどうかをユーザーが判断できるようにします。

もちろん、AfterInvocationManager を使用してメソッド呼び出しの結果を承認する場合、このクラスは、AfterInvocationManager がアクセスを有効にするかどうかの決定を支援できません。代わりに、このクラスは、「後」の呼び出し処理に関係なく、現在のプリンシパルが少なくともメソッドの呼び出しを試行できるかどうかをアプリケーションが判断できるようにすることを目的としています。

  • フィールドの詳細

    • logger

      protected static final org.apache.commons.logging.Log logger
      使用すべきではありません。
  • コンストラクターの詳細

    • MethodInvocationPrivilegeEvaluator

      public MethodInvocationPrivilegeEvaluator()
      使用すべきではありません。
  • メソッドの詳細

    • afterPropertiesSet

      public void afterPropertiesSet()
      使用すべきではありません。
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
    • isAllowed

      public boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation, Authentication authentication)
      使用すべきではありません。
    • setSecurityInterceptor

      public void setSecurityInterceptor(AbstractSecurityInterceptor securityInterceptor)
      使用すべきではありません。