public ScriptSecurity
getScriptSecurity(String scriptType,
ParsedURL scriptURL,
ParsedURL docURL) {
ScriptSecurity result = null;
if (scripts.indexOf(scriptType) == -1) {
result = new NoLoadScriptSecurity(scriptType);
} else {
if ("ANY".equals(scriptOrigin)) {
result = new RelaxedScriptSecurity(scriptType,