Lines Matching refs:viewer

54 -    if (viewer.socketFactory == null) {
55 + if (! viewer.disableSSL) {
69 + } else if (viewer.socketFactory == null) {
125 + if (viewer.debugKeyboard) {
145 + if(key == 0xffc2 && viewer.mapF5_to_atsign) {
146 + if (viewer.debugKeyboard) {
167 + if(viewer.forbid_Ctrl_Alt) {
172 + if (viewer.debugKeyboard) {
226 + VncViewer viewer;
297 + viewer = v;
556 + if (viewer.oneTimeKey != null && viewer.oneTimeKey.equals("PROMPT")) {
558 + viewer.oneTimeKey = d.queryUser();
560 + if (viewer.oneTimeKey != null && viewer.oneTimeKey.indexOf(",") > 0) {
561 + int idx = viewer.oneTimeKey.indexOf(",");
563 + String onetimekey = viewer.oneTimeKey.substring(0, idx);
565 + String onetimecert = viewer.oneTimeKey.substring(idx+1);
601 + if (viewer.serverCert != null) {
603 + byte[] cert = hex2bytes(viewer.serverCert);
711 + if (viewer.ignoreProxy) {
723 + if (viewer.httpsPort != null) {
724 + ustr += viewer.httpsPort;
728 + ustr += viewer.urlPrefix + "/check.https.proxy.connection";
774 + if (! viewer.GET) {
778 + viewer.GET = true;
790 + } else if (trusturlCerts != null && !viewer.forceProxy) {
804 + ustr += viewer.urlPrefix + "/index.vnc";
830 + if (! viewer.GET) {
834 + viewer.GET = true;
855 + dbg("viewer.trustSrvCert-0 using trustsrv_ctx");
858 + } else if (viewer.trustAllVncCerts) {
860 + dbg("viewer.trustAllVncCerts-0 using trustall_ctx");
875 + if (proxy_in_use && viewer.forceProxy) {
877 + } else if (viewer.CONNECT != null) {
893 + if (proxy_in_use || viewer.CONNECT != null) {
898 + dbg("viewer.CONNECT reverse proxy in use. Trying to go with it.");
921 + if (viewer.trustAllVncCerts) {
922 + dbg("viewer.trustAllVncCerts-1 keeping socket.");
941 + if (viewer.trustAllVncCerts) {
942 + dbg("viewer.trustAllVncCerts-2 skipping browser certs dialog");
944 + } else if (viewer.serverCert != null && trustsrvCerts != null) {
945 + dbg("viewer.serverCert-1 skipping browser certs dialog");
947 + } else if (viewer.trustUrlVncCert) {
948 + dbg("viewer.trustUrlVncCert-1 skipping browser certs dialog");
1037 + if (viewer.trustAllVncCerts) {
1038 + dbg("viewer.trustAllVncCerts-3. skipping dialog, trusting everything.");
1129 + if (socket != null && viewer.GET) {
1131 + str += viewer.urlPrefix;
1184 + if (viewer.serverCert != null || trustsrvCerts != null) {
1350 + if (viewer.proxyHost != null) {
1351 + dbg("Using supplied proxy " + viewer.proxyHost + " " + viewer.proxyPort + " applet parameters."…
1352 + proxyHost = viewer.proxyHost;
1353 + if (viewer.proxyPort != null) {
1354 + proxyPort = gint(viewer.proxyPort);
1469 + } else if (viewer.CONNECT != null) {
1470 + dbg("viewer.CONNECT psocket:");
1478 + if (viewer.CONNECT != null) {
1479 + String hp = viewer.CONNECT;
2268 VncViewer viewer;
2296 if (viewer.showControls) {
2297 viewer.buttonPanel.enableRemoteAccessControls(true);
2304 if (viewer.showControls) {
2305 viewer.buttonPanel.enableRemoteAccessControls(false);
2316 if (viewer.rfb != null && rfb.inNormalProtocol) {
2322 + if (viewer.rfb != null && rfb.inNormalProtocol) {
2335 if (viewer.rfb != null && rfb.inNormalProtocol) {