Home
last modified time | relevance | path

Searched refs:authScheme (Results 1 – 12 of 12) sorted by relevance

/external/apache-http/src/org/apache/http/auth/
DAuthState.java50 private AuthScheme authScheme; field in AuthState
70 this.authScheme = null; in invalidate()
76 return this.authScheme != null; in isValid()
84 public void setAuthScheme(final AuthScheme authScheme) { in setAuthScheme() argument
85 if (authScheme == null) { in setAuthScheme()
89 this.authScheme = authScheme; in setAuthScheme()
98 return this.authScheme; in getAuthScheme()
/external/libvncserver/libvncclient/
Dtls_gnutls.c216 uint32_t authScheme; in ReadVeNCryptSecurityType() local
233 authScheme=0; in ReadVeNCryptSecurityType()
249 authScheme=t; in ReadVeNCryptSecurityType()
250 … rfbClientLog("Selecting security type %d (%d/%d in the list)\n", authScheme, loop, count); in ReadVeNCryptSecurityType()
256 if (authScheme==0) in ReadVeNCryptSecurityType()
269 *result = authScheme; in ReadVeNCryptSecurityType()
355 uint32_t authScheme; in HandleVeNCryptAuth() local
389 if (!ReadVeNCryptSecurityType(client, &authScheme)) return FALSE; in HandleVeNCryptAuth()
392 rfbClientLog("Server refused VeNCrypt authentication %d (%d).\n", authScheme, (int)status); in HandleVeNCryptAuth()
395 client->subAuthScheme = authScheme; in HandleVeNCryptAuth()
[all …]
Dtls_openssl.c369 uint32_t authScheme; in ReadVeNCryptSecurityType() local
386 authScheme=0; in ReadVeNCryptSecurityType()
402 authScheme=t; in ReadVeNCryptSecurityType()
403 … rfbClientLog("Selecting security type %d (%d/%d in the list)\n", authScheme, loop, count); in ReadVeNCryptSecurityType()
409 if (authScheme==0) in ReadVeNCryptSecurityType()
422 *result = authScheme; in ReadVeNCryptSecurityType()
442 uint32_t authScheme; in HandleVeNCryptAuth() local
475 if (!ReadVeNCryptSecurityType(client, &authScheme)) return FALSE; in HandleVeNCryptAuth()
478 rfbClientLog("Server refused VeNCrypt authentication %d (%d).\n", authScheme, (int)status); in HandleVeNCryptAuth()
481 client->subAuthScheme = authScheme; in HandleVeNCryptAuth()
[all …]
Drfbproto.c570 uint32_t authScheme; in ReadSupportedSecurityType() local
582 authScheme=0; in ReadSupportedSecurityType()
604 authScheme=tAuth[loop]; in ReadSupportedSecurityType()
612 authScheme=tAuth[loop]; in ReadSupportedSecurityType()
616 … rfbClientLog("Selecting security type %d (%d/%d in the list)\n", authScheme, loop, count); in ReadSupportedSecurityType()
622 if (authScheme==0) in ReadSupportedSecurityType()
635 *result = authScheme; in ReadSupportedSecurityType()
1063 uint32_t authScheme; in InitialiseRFBConnection() local
1132 if (!ReadSupportedSecurityType(client, &authScheme, FALSE)) return FALSE; in InitialiseRFBConnection()
1136 if (!ReadFromRFBServer(client, (char *)&authScheme, 4)) return FALSE; in InitialiseRFBConnection()
[all …]
Dvncviewer.c223 client->authScheme = 0; in rfbGetClient()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestTargetAuthentication.java88 AuthScheme authScheme = authState.getAuthScheme(); in process() local
89 if (authScheme == null) { in process()
99 if (authState.getAuthScope() != null || !authScheme.isConnectionBased()) { in process()
101 request.addHeader(authScheme.authenticate(creds, request)); in process()
DRequestProxyAuthentication.java88 AuthScheme authScheme = authState.getAuthScheme(); in process() local
89 if (authScheme == null) { in process()
98 if (authState.getAuthScope() != null || !authScheme.isConnectionBased()) { in process()
100 request.addHeader(authScheme.authenticate(creds, request)); in process()
/external/apache-http/src/org/apache/http/impl/client/
DAbstractAuthenticationHandler.java136 AuthScheme authScheme = null; in selectScheme() local
146 authScheme = registry.getAuthScheme(id, response.getParams()); in selectScheme()
161 if (authScheme == null) { in selectScheme()
167 return authScheme; in selectScheme()
DDefaultRequestDirector.java735 AuthScheme authScheme = this.proxyAuthState.getAuthScheme(); in createTunnelToTarget() local
739 if (authScope != null || !authScheme.isConnectionBased()) { in createTunnelToTarget()
741 connect.addHeader(authScheme.authenticate(creds, connect)); in createTunnelToTarget()
1069 AuthScheme authScheme = authState.getAuthScheme(); in processChallenges() local
1070 if (authScheme == null) { in processChallenges()
1072 authScheme = authHandler.selectScheme(challenges, response, context); in processChallenges()
1073 authState.setAuthScheme(authScheme); in processChallenges()
1075 String id = authScheme.getSchemeName(); in processChallenges()
1082 authScheme.processChallenge(challenge); in processChallenges()
1103 AuthScheme authScheme = authState.getAuthScheme(); in updateAuthState() local
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DDefaultRequestDirector.java967 AuthScheme authScheme = proxyAuthState.getAuthScheme(); in handleResponse() local
968 if (authScheme != null && authScheme.isConnectionBased()) { in handleResponse()
1099 AuthScheme authScheme = authState.getAuthScheme(); in processChallenges() local
1100 if (authScheme == null) { in processChallenges()
1102 authScheme = authHandler.selectScheme(challenges, response, context); in processChallenges()
1103 authState.setAuthScheme(authScheme); in processChallenges()
1105 String id = authScheme.getSchemeName(); in processChallenges()
1112 authScheme.processChallenge(challenge); in processChallenges()
1133 AuthScheme authScheme = authState.getAuthScheme(); in updateAuthState() local
1137 authScheme.getRealm(), in updateAuthState()
[all …]
/external/libvncserver/rfb/
Drfbclient.h316 uint32_t authScheme, subAuthScheme; member
/external/libvncserver/webclients/java-applet/ssl/
Dultravnc-102-JavaViewer-ssl-etc.patch5256 + int authScheme;
5270 - int authScheme = rfb.readAuthScheme();
5273 + authScheme = rfb.readAuthScheme();
5276 + authGot = authScheme;
5278 + authScheme = authGot;
5282 + if (authScheme == RfbProto.NoAuth) {
5289 +System.out.println("as: " + authScheme);
5292 switch (authScheme) {