Package ognl.security

Class OgnlSecurityManagerFactory


  • @Deprecated
    public class OgnlSecurityManagerFactory
    extends java.security.SecureClassLoader
    Deprecated.
    will be removed in 3.5.x
    Builds and provides a JVM wide singleton shared thread-safe with all permissions granted security manager for ognl
    Since:
    3.1.24
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      private java.lang.Object build​(java.lang.SecurityManager parentSecurityManager)
      Deprecated.
       
      static java.lang.Object getOgnlSecurityManager()
      Deprecated.
       
      private static byte[] toByteArray​(java.io.InputStream input)
      Deprecated.
       
      • Methods inherited from class java.security.SecureClassLoader

        defineClass, defineClass, getPermissions
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

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

      • ognlSecurityManager

        private static volatile java.lang.Object ognlSecurityManager
        Deprecated.
      • ognlSecurityManagerClass

        private final java.lang.Class<?> ognlSecurityManagerClass
        Deprecated.
    • Constructor Detail

      • OgnlSecurityManagerFactory

        private OgnlSecurityManagerFactory()
                                    throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
    • Method Detail

      • getOgnlSecurityManager

        public static java.lang.Object getOgnlSecurityManager()
        Deprecated.
      • build

        private java.lang.Object build​(java.lang.SecurityManager parentSecurityManager)
                                throws java.lang.NoSuchMethodException,
                                       java.lang.IllegalAccessException,
                                       java.lang.reflect.InvocationTargetException,
                                       java.lang.InstantiationException
        Deprecated.
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
        java.lang.InstantiationException
      • toByteArray

        private static byte[] toByteArray​(java.io.InputStream input)
                                   throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException