Class SecureCaller


  • public abstract class SecureCaller
    extends java.lang.Object
    • Field Detail

      • secureCallerImplBytecode

        private static final byte[] secureCallerImplBytecode
      • callers

        private static final java.util.Map<java.security.CodeSource,​java.util.Map<java.lang.ClassLoader,​java.lang.ref.SoftReference<SecureCaller>>> callers
    • Constructor Detail

      • SecureCaller

        public SecureCaller()
    • Method Detail

      • callSecurely

        static java.lang.Object callSecurely​(java.security.CodeSource codeSource,
                                             Callable callable,
                                             Context cx,
                                             Scriptable scope,
                                             Scriptable thisObj,
                                             java.lang.Object[] args)
        Call the specified callable using a protection domain belonging to the specified code source.
      • loadBytecode

        private static byte[] loadBytecode()
      • loadBytecodePrivileged

        private static byte[] loadBytecodePrivileged()