Package ognl.security

Class UserMethod

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction<java.lang.Object>

    @Deprecated
    public class UserMethod
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction<java.lang.Object>
    Deprecated.
    will be removed in 3.5.x
    A signature for OgnlSecurityManager.isAccessDenied(java.security.Permission). Also executes user methods with not any permission.
    Since:
    3.1.24
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object[] argsArray
      Deprecated.
       
      private java.lang.reflect.Method method
      Deprecated.
       
      private java.lang.Object target
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      UserMethod​(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] argsArray)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object run()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        private final java.lang.Object target
        Deprecated.
      • method

        private final java.lang.reflect.Method method
        Deprecated.
      • argsArray

        private final java.lang.Object[] argsArray
        Deprecated.
    • Constructor Detail

      • UserMethod

        public UserMethod​(java.lang.Object target,
                          java.lang.reflect.Method method,
                          java.lang.Object[] argsArray)
        Deprecated.
    • Method Detail

      • run

        public java.lang.Object run()
                             throws java.lang.Exception
        Deprecated.
        Specified by:
        run in interface java.security.PrivilegedExceptionAction<java.lang.Object>
        Throws:
        java.lang.Exception