Mercurial > hg > Members > nobuyasu > tightVNCProxy
comparison src/myVncProxy/RfbProto.java @ 166:3c055da4d050
add authenticate AuthAccess
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 Oct 2011 19:50:30 +0900 |
parents | db5f735fd2b4 |
children | 134deb9f8148 |
comparison
equal
deleted
inserted
replaced
162:13458f88d8c9 | 166:3c055da4d050 |
---|---|
347 } | 347 } |
348 } | 348 } |
349 | 349 |
350 // Find first supported security type. | 350 // Find first supported security type. |
351 for (int i = 0; i < nSecTypes; i++) { | 351 for (int i = 0; i < nSecTypes; i++) { |
352 if (secTypes[i] == SecTypeNone || secTypes[i] == SecTypeVncAuth) { | 352 // if (secTypes[i] == SecTypeNone || secTypes[i] == SecTypeVncAuth) { |
353 if (secTypes[i] == SecTypeNone || secTypes[i] == SecTypeVncAuth | |
354 || secTypes[i] == MyRfbProto.SecTypeReqAccess ) { | |
353 secType = secTypes[i]; | 355 secType = secTypes[i]; |
354 break; | 356 break; |
355 } | 357 } |
356 } | 358 } |
357 | 359 |