Java Javascript Mozilla Library createSecurityController()

Here you can find the source of createSecurityController()

Description

create Security Controller

License

Open Source License

Declaration

public static SecurityController createSecurityController() 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:/*from  w  w  w. j  a va  2  s  .c om*/
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/

import org.mozilla.javascript.PolicySecurityController;
import org.mozilla.javascript.SecurityController;

public class Main {
    public static SecurityController createSecurityController() {
        return new PolicySecurityController();
    }
}

Related

  1. copyPropertiesToScriptable(Hashtable properties, Scriptable scriptable)
  2. copyScope(Context context, Scriptable scope)
  3. copyScriptableToProperties(Scriptable scriptable, Map properties)
  4. createJavaAdapterArgs(Scriptable scope, Class[] ifaces, Object jsImpl)
  5. createNativeArray(int length, Scriptable scope)
  6. ensureValid(Object obj)
  7. enterContext()
  8. evaluateJSExpression(String expr, Context cx, Scriptable scope)
  9. from(Scriptable scriptable)