Here you can find the source of createSecurityController()
public static SecurityController createSecurityController()
//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(); } }