Package ognl.security
Class OgnlSecurityManagerFactory
- java.lang.Object
-
- java.lang.ClassLoader
-
- java.security.SecureClassLoader
-
- ognl.security.OgnlSecurityManagerFactory
-
@Deprecated public class OgnlSecurityManagerFactory extends java.security.SecureClassLoaderDeprecated.will be removed in 3.5.xBuilds and provides a JVM wide singleton shared thread-safe with all permissions granted security manager for ognl- Since:
- 3.1.24
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.ObjectognlSecurityManagerDeprecated.private java.lang.Class<?>ognlSecurityManagerClassDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description privateOgnlSecurityManagerFactory()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private java.lang.Objectbuild(java.lang.SecurityManager parentSecurityManager)Deprecated.static java.lang.ObjectgetOgnlSecurityManager()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
-
-
-
-
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.InstantiationExceptionDeprecated.- Throws:
java.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationException
-
toByteArray
private static byte[] toByteArray(java.io.InputStream input) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-