亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rhinosecurity.js

?? 開源項(xiàng)目:工作流流程編輯器及工作流引擎源代碼及文檔
?? JS
字號:
/*   Copyright 2002 The Apache Software Foundation    Licensed under the Apache License, Version 2.0 (the "License");   you may not use this file except in compliance with the License.   You may obtain a copy of the License at       http://www.apache.org/licenses/LICENSE-2.0   Unless required by applicable law or agreed to in writing, software   distributed under the License is distributed on an "AS IS" BASIS,   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   See the License for the specific language governing permissions and   limitations under the License. *//** * This ECMA Script file represents an example of untrusted code. * * It creates a number of Java Permissions and checks that access is denied. * the tests fail if the Permissions are granted. * * The only thing that the class should be allowed to make is a connection * back to the server that served the document containing this script. * * @author <a href="mailto:vhardy@apache.org">Vincent Hardy</a> * @version $Id: rhinoSecurity.js,v 1.4 2005/04/01 02:28:11 deweese Exp $ */importPackage(Packages.java.awt);importPackage(Packages.java.io);importPackage(Packages.java.lang.reflect);importPackage(Packages.java.net);importPackage(Packages.java.security);importPackage(Packages.java.sql);importPackage(Packages.java.util);importPackage(Packages.javax.sound.sampled);var svgNS = "http://www.w3.org/2000/svg";var testedPath = "build.sh";var testedHost = "nagoya.apache.org:8080";var basePermissions = [        ["AllPermission", new AllPermission()],         ["FilePermission read", new FilePermission(testedPath, "read")],         ["FilePermission write", new FilePermission(testedPath, "write")],         ["FilePermission execute", new FilePermission(testedPath, "execute")],         ["FilePermission delete", new FilePermission(testedPath, "delete")],         ["SocketPermission accept", new SocketPermission(testedHost, "accept")],         ["SocketPermission connect", new SocketPermission(testedHost, "connect")],         ["SocketPermission listen", new SocketPermission(testedHost, "listen")],         ["SocketPermission resolve", new SocketPermission(testedHost, "resolve")],         ["AudioPermission play", new AudioPermission("play")],         ["AudioPermission record", new AudioPermission("record")],         ["AWTPermission accessClipboard", new AWTPermission("accessClipboard")],         ["AWTPermission accessEventQueue", new AWTPermission("accessEventQueue")],         ["AWTPermission listenToAllAWTEvents", new AWTPermission("listenToAllAWTEvents")],         ["AWTPermission showWindowWithoutWarningBanner", new AWTPermission("showWindowWithoutWarningBanner")],         ["AWTPermission readDisplayPixels", new AWTPermission("readDisplayPixels")],         ["AWTPermission createRobot", new AWTPermission("createRobot")],         ["AWTPermission fullScreenExclusive", new AWTPermission("fullScreenExclusive")],         ["NetPermission setDefaultAuthenticator", new NetPermission("setDefaultAuthenticator")],         ["NetPermission requestPasswordAuthentication", new NetPermission("requestPasswordAuthentication")],         ["NetPermission specifyStreamHandler", new NetPermission("specifyStreamHandler")],         ["PropertyPermission java.home read", new PropertyPermission("java.home", "read")],         ["PropertyPermission java.home write", new PropertyPermission("java.home", "write")],         ["ReflectPermission", new ReflectPermission("suppressAccessChecks")],         ["RuntimePermission createClassLoader", new RuntimePermission("createClassLoader")],         ["RuntimePermission getClassLoader", new RuntimePermission("getClassLoader")],         ["RuntimePermission setContextClassLoader", new RuntimePermission("setContextClassLoader")],         ["RuntimePermission setSecurityManager", new RuntimePermission("setSecurityManager")],         ["RuntimePermission createSecurityManager", new RuntimePermission("createSecurityManager")],         ["RuntimePermission exitVM", new RuntimePermission("exitVM")],         ["RuntimePermission shutdownHooks", new RuntimePermission("shutdownHooks")],         ["RuntimePermission setFactory", new RuntimePermission("setFactory")],         ["RuntimePermission setIO", new RuntimePermission("setIO")],         ["RuntimePermission modifyThread", new RuntimePermission("modifyThread")],         ["RuntimePermission stopThread", new RuntimePermission("stopThread")],         ["RuntimePermission modifyThreadGroup", new RuntimePermission("modifyThreadGroup")],         ["RuntimePermission getProtectionDomain", new RuntimePermission("getProtectionDomain")],         ["RuntimePermission readFileDescriptor", new RuntimePermission("readFileDescriptor")],         ["RuntimePermission writeFileDescriptor", new RuntimePermission("writeFileDescriptor")],         ["RuntimePermission loadLibrary.{library name}", new RuntimePermission("loadLibrary.{library name}")],         ["RuntimePermission accessClassInPackage.java.security", new RuntimePermission("accessClassInPackage.java.security")],         ["RuntimePermission defineClassInPackage.java.lang", new RuntimePermission("defineClassInPackage.java.lang")],         ["RuntimePermission accessDeclaredMembers", new RuntimePermission("accessDeclaredMembers")],         ["RuntimePermission queuePrintJob", new RuntimePermission("queuePrintJob")],         ["SecurityPermission createAccessControlContext", new SerializablePermission("createAccessControlContext")],         ["SecurityPermission getDomainCombiner", new SerializablePermission("getDomainCombiner")],         ["SecurityPermission getPolicy", new SerializablePermission("getPolicy")],         ["SecurityPermission setPolicy", new SerializablePermission("setPolicy")],         ["SecurityPermission setSystemScope", new SerializablePermission("setSystemScope")],         ["SecurityPermission setIdentityPublicKey", new SerializablePermission("setIdentityPublicKey")],         ["SecurityPermission setIdentityInfo", new SerializablePermission("setIdentityInfo")],         ["SecurityPermission addIdentityCertificate", new SerializablePermission("addIdentityCertificate")],         ["SecurityPermission removeIdentityCertificate", new SerializablePermission("removeIdentityCertificate")],         ["SecurityPermission printIdentity", new SerializablePermission("printIdentity")],         ["SecurityPermission getSignerPrivateKey", new SerializablePermission("getSignerPrivateKey")],         ["SecurityPermission setSignerKeyPair", new SerializablePermission("setSignerKeyPair")],         ["SerializablePermission enableSubclassImplementation", new SerializablePermission("enableSubclassImplementation")],        ["SerializablePermission enableSubstitution", new SerializablePermission("enableSubstitution")],        ["SQLPermission", new SQLPermission("setLog")],     ];    var permissions = null;var statusRects = null;var nGranted = 0;function init(){    var docURL = document.getURLObject();    if (docURL != null         && (docURL.getHost() != null)        && !( "" == docURL.getHost())        ) {        permissions = new Array();        var docHost = docURL.getHost();        if (docURL.getPort() != -1) {            docHost += ":" + docURL.getPort();        }        permissions[0] = ["SocketPermission accept " + docHost,                          new SocketPermission(docHost, "accept")];        permissions[1] = ["SocketPermission connect " + docHost,                          new SocketPermission(docHost, "connect")];        permissions[2] = ["SocketPermission resolve " + docHost,                          new SocketPermission(docHost, "resolve")];        // permissions.concat(basePermissions);        for (var i=0; i<basePermissions.length; i++){            permissions[3+i] = basePermissions[i];        }        nGranted = 3;    } else {        permissions = basePermissions;    }    //    // Build a table in the scrollable area of the document    //    var securityResults = document.getElementById("securityResults");    statusRects = new Array();    for (var i=0; i<permissions.length; i++){        var textElt = document.createElementNS(svgNS, "text");        textElt.setAttributeNS(null, "x", "55");        textElt.setAttributeNS(null, "y", "" + (85 + i*20));        textElt.appendChild(document.createTextNode(permissions[i][0].toString()));        securityResults.appendChild(textElt);        var rectElt = document.createElementNS(svgNS, "rect");        rectElt.setAttributeNS(null, "x", "50");        rectElt.setAttributeNS(null, "y", "" + (70 + i*20));        rectElt.setAttributeNS(null, "width", "330");        rectElt.setAttributeNS(null, "height", "20" );        rectElt.setAttributeNS(null, "class", "tableCell");        securityResults.appendChild(rectElt);        rectElt = document.createElementNS(svgNS, "rect");        rectElt.setAttributeNS(null, "x", "380");        rectElt.setAttributeNS(null, "y", "" + (70 + i*20));        rectElt.setAttributeNS(null, "width", "20");        rectElt.setAttributeNS(null, "height", "20" );        rectElt.setAttributeNS(null, "class", "tableCell");        securityResults.appendChild(rectElt);        rectElt = document.createElementNS(svgNS, "rect");        rectElt.setAttributeNS(null, "x", "383");        rectElt.setAttributeNS(null, "y", "" + (73 + i*20));        rectElt.setAttributeNS(null, "width", "14");        rectElt.setAttributeNS(null, "height", "14" );        rectElt.setAttributeNS(null, "class", "untested");        securityResults.appendChild(rectElt);        statusRects[i] = rectElt;    }}init();function runEcmascriptSecurityTest(){    var sm = System.getSecurityManager();    var successCnt = 0;    if (sm == null){        for (var i=0; i<nGranted; i++) {            statusRects[i].setAttributeNS(null, "class", "passedTest");            successCnt++;        }        for (var i=nGranted; i<permissions.length; i++) {            statusRects[i].setAttributeNS(null, "class", "failedTest");        }    }    else {        for (var i=0; i<nGranted; i++) {            var p = permissions[i][1];            var success = true;            try {                sm.checkPermission(p);                statusRects[i].setAttributeNS(null, "class", "passedTest");                successCnt++;            } catch (se){                statusRects[i].setAttributeNS(null, "class", "failedTest");                se.printStackTrace();            }        }        for (var i=nGranted; i<permissions.length; i++) {            var p = permissions[i][1];            var success = true;            try {                sm.checkPermission(p);                statusRects[i].setAttributeNS(null, "class", "failedTest");            } catch (se){                statusRects[i].setAttributeNS(null, "class", "passedTest");                successCnt++;            }        }    }    // Update the global status    var globalStatus = document.getElementById("globalStatus");    if ( successCnt == (statusRects.length) ) {        globalStatus.setAttributeNS(null, "class", "passedTest");    } else {        globalStatus.setAttributeNS(null, "class", "failedTest");    }    var successRatioString = "Test Result: " + successCnt + " / " + statusRects.length;    var successRatio = document.getElementById("successRatio");    successRatio.replaceChild(document.createTextNode(successRatioString),                              successRatio.getFirstChild());}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av网站免费线看精品| av一区二区三区黑人| 国产精品无人区| 精品视频一区 二区 三区| 国产精品99久久久久久宅男| 一区二区不卡在线播放 | 日本一区二区高清| 欧美日韩在线直播| www.亚洲精品| 经典三级视频一区| aaa亚洲精品| 久久爱www久久做| 亚洲国产一区二区视频| 国产精品私人自拍| 日韩精品影音先锋| 欧美日韩视频专区在线播放| 99麻豆久久久国产精品免费| 裸体一区二区三区| 午夜精品福利一区二区蜜股av| 中文字幕在线不卡一区二区三区 | 国产欧美日韩麻豆91| 欧美日本一区二区在线观看| 成人福利在线看| 国产在线国偷精品免费看| 免费观看在线色综合| 亚洲福利视频一区| 亚洲精品中文字幕乱码三区| 国产精品天天摸av网| 久久久久久亚洲综合影院红桃| 日韩一区二区中文字幕| 欧美日韩免费观看一区二区三区| 91视频观看免费| 国产成人综合在线| 精品对白一区国产伦| 欧美日韩国产综合一区二区| 色综合 综合色| av电影一区二区| 99国产精品久久久| 99视频在线精品| 国产99久久久精品| 不卡大黄网站免费看| 成人网在线免费视频| 国产高清不卡一区| 粉嫩aⅴ一区二区三区四区 | 国产高清精品在线| 国产精品自在欧美一区| 国产成人av资源| 91免费视频网址| 99re热视频这里只精品| 成人黄色国产精品网站大全在线免费观看 | 激情文学综合插| 国产一区二区在线观看免费| 国产一区二区三区国产| 国产福利一区二区三区在线视频| 国产精品一区二区久激情瑜伽| 福利电影一区二区三区| 99久久精品一区二区| 日本乱码高清不卡字幕| 欧美二区三区的天堂| 日韩免费性生活视频播放| 精品88久久久久88久久久| 国产农村妇女精品| 国产精品夫妻自拍| 亚洲成人精品在线观看| 久国产精品韩国三级视频| 国产成人免费在线| 91免费版pro下载短视频| 欧美日韩综合一区| 欧美岛国在线观看| 国产精品美女久久福利网站| 一区二区三国产精华液| 日韩国产一二三区| 成人自拍视频在线| 在线看日韩精品电影| 欧美电视剧在线看免费| 国产精品免费久久久久| 亚洲影视在线观看| 九一久久久久久| 91啪亚洲精品| 欧美电影免费观看高清完整版在线| 中文字幕av一区二区三区| 亚洲一线二线三线视频| 中文字幕的久久| 亚洲免费资源在线播放| 秋霞国产午夜精品免费视频| 国产精品77777| 色婷婷香蕉在线一区二区| 日韩精品专区在线影院观看| 亚洲欧美综合另类在线卡通| 无码av免费一区二区三区试看| 国产精品自拍在线| 欧美午夜电影一区| 欧美国产日韩在线观看| 奇米精品一区二区三区在线观看 | 色综合久久中文字幕综合网| 精品日韩欧美一区二区| 亚洲精品免费在线播放| 九一九一国产精品| 欧美日韩一级黄| 国产精品九色蝌蚪自拍| 美女视频网站黄色亚洲| 一本久道中文字幕精品亚洲嫩| 2023国产精品视频| 亚洲成人免费视频| 91免费国产在线观看| 免费在线观看一区二区三区| 国产成人自拍网| 欧美二区三区的天堂| 日韩毛片视频在线看| 国产精一区二区三区| 欧美放荡的少妇| 亚洲另类一区二区| 国产91精品露脸国语对白| 69久久99精品久久久久婷婷 | 欧美日韩激情在线| 国产精品美女久久福利网站| 国产乱码精品一品二品| 欧美一区二区三区四区视频| 亚洲一卡二卡三卡四卡无卡久久| 成人不卡免费av| 欧美激情一区二区在线| 国产乱淫av一区二区三区| 日韩欧美资源站| 婷婷成人综合网| 欧美日韩一区不卡| 亚洲一区自拍偷拍| 91小视频在线免费看| 国产精品美女久久久久av爽李琼 | 日韩一级完整毛片| 亚洲美女视频在线观看| 国产成人在线观看免费网站| 精品噜噜噜噜久久久久久久久试看| 亚洲成av人片在线| 欧美色视频在线| 亚洲国产精品天堂| 欧美视频日韩视频在线观看| 一区二区三区在线免费视频| 在线精品视频一区二区| 亚洲人成影院在线观看| 日本久久电影网| 一区二区激情视频| 欧美视频完全免费看| 亚洲成人精品一区| 91精品久久久久久久91蜜桃| 麻豆精品在线播放| 精品欧美一区二区三区精品久久| 久久丁香综合五月国产三级网站| 日韩欧美国产电影| 国产一区美女在线| 国产精品情趣视频| 91一区二区在线| 亚洲一区二区三区四区在线| 欧美日韩一二三区| 日产精品久久久久久久性色| 日韩一区二区三| 免费观看成人av| 国产精品免费免费| k8久久久一区二区三区 | 欧美一区午夜精品| 毛片av一区二区| 国产清纯白嫩初高生在线观看91 | 视频一区二区国产| 日韩午夜精品电影| 国产精品18久久久久久久久| 国产精品久久久久久久蜜臀 | 美腿丝袜亚洲色图| 日本一区二区三区国色天香| 色一情一伦一子一伦一区| 亚洲图片欧美色图| 精品国产乱码久久久久久闺蜜 | 国产一区二区三区| 亚洲欧洲99久久| 欧美美女黄视频| 国产精一区二区三区| 亚洲最色的网站| 69堂国产成人免费视频| 蜜桃视频一区二区三区| 国产欧美精品一区二区三区四区 | 毛片av一区二区三区| 国产精品久久久久久久久快鸭| 欧美理论电影在线| 国产精品小仙女| 亚洲一区av在线| 亚洲国产精品二十页| 欧美老女人第四色| 成人av在线网| 欧美aaaaaa午夜精品| 中文字幕一区在线观看视频| 欧美精品第1页| 国产91高潮流白浆在线麻豆| 亚洲成年人网站在线观看| 国产女人aaa级久久久级| 欧美区视频在线观看| 成年人网站91| 精品亚洲成av人在线观看| 一区二区三区中文免费| 国产视频不卡一区| 欧美一三区三区四区免费在线看 | 精彩视频一区二区| 亚洲一区在线播放|