Home
last modified time | relevance | path

Searched refs:authenticator (Results 1 – 25 of 56) sorted by relevance

123

/external/jetty/src/java/org/eclipse/jetty/security/
DDefaultAuthenticatorFactory.java60 Authenticator authenticator=null; in getAuthenticator() local
63 authenticator=new BasicAuthenticator(); in getAuthenticator()
65 authenticator=new DigestAuthenticator(); in getAuthenticator()
67 authenticator=new FormAuthenticator(); in getAuthenticator()
69 authenticator = new SpnegoAuthenticator(); in getAuthenticator()
71 authenticator = new SpnegoAuthenticator(Constraint.__NEGOTIATE_AUTH); in getAuthenticator()
73 authenticator=new ClientCertAuthenticator(); in getAuthenticator()
75 return authenticator; in getAuthenticator()
DSecurityHandler.java138 public void setAuthenticator(Authenticator authenticator) in setAuthenticator() argument
142 _authenticator = authenticator; in setAuthenticator()
454 final Authenticator authenticator = _authenticator; in handle()
475 if (isAuthMandatory && authenticator==null) in handle()
492 …authentication=authenticator==null?Authentication.UNAUTHENTICATED:authenticator.validateRequest(re… in handle()
523 if (authenticator!=null) in handle()
524 authenticator.secureResponse(request, response, isAuthMandatory, userAuth); in handle()
540 if (authenticator!=null) in handle()
546authenticator.secureResponse(request, response, isAuthMandatory, userAuth); in handle()
549 authenticator.secureResponse(request, response, isAuthMandatory, null); in handle()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java46 final Authenticator authenticator; field in Address
53 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, in Address() argument
57 if (authenticator == null) throw new IllegalArgumentException("authenticator == null"); in Address()
67 this.authenticator = authenticator; in Address()
111 return authenticator; in getAuthenticator()
158 && equal(this.authenticator, that.authenticator) in equals()
174 result = 31 * result + authenticator.hashCode(); in hashCode()
DOkHttpClient.java191 private Authenticator authenticator; field in OkHttpClient
222 this.authenticator = okHttpClient.authenticator; in OkHttpClient()
429 public OkHttpClient setAuthenticator(Authenticator authenticator) { in setAuthenticator() argument
430 this.authenticator = authenticator; in setAuthenticator()
435 return authenticator; in getAuthenticator()
638 if (result.authenticator == null) { in copyWithDefaults()
639 result.authenticator = AuthenticatorAdapter.INSTANCE; in copyWithDefaults()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DAddressTest.java30 private Authenticator authenticator = AuthenticatorAdapter.INSTANCE; field in AddressTest
37 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode()
39 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode()
46 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent()
48 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent()
DOkHttpClientTest.java115 Authenticator authenticator = new RecordingAuthenticator(); in copyWithDefaultsWhenDefaultIsGlobal() local
122 Authenticator.setDefault(authenticator); in copyWithDefaultsWhenDefaultIsGlobal()
DURLConnectionTest.java1512 RecordingAuthenticator authenticator = new RecordingAuthenticator(null);
1513 Authenticator.setDefault(authenticator);
1526 return authenticator.calls;
2870 RecordingOkAuthenticator authenticator = new RecordingOkAuthenticator(credential);
2871 client.client().setAuthenticator(authenticator);
2877 assertEquals(Proxy.NO_PROXY, authenticator.onlyProxy());
2878 Response response = authenticator.onlyResponse();
2890 RecordingOkAuthenticator authenticator = new RecordingOkAuthenticator("oauthed abc123");
2891 client.client().setAuthenticator(authenticator);
2897 Response response = authenticator.onlyResponse();
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius.c412 os_memcpy(msg->hdr->authenticator, req_authenticator, in radius_msg_finish_srv()
413 sizeof(msg->hdr->authenticator)); in radius_msg_finish_srv()
426 md5_vector(4, addr, len, msg->hdr->authenticator); in radius_msg_finish_srv()
455 os_memcpy(msg->hdr->authenticator, req_hdr->authenticator, 16); in radius_msg_finish_das_resp()
464 if (md5_vector(2, addr, len, msg->hdr->authenticator) < 0) in radius_msg_finish_das_resp()
483 os_memset(msg->hdr->authenticator, 0, MD5_MAC_LEN); in radius_msg_finish_acct()
488 md5_vector(2, addr, len, msg->hdr->authenticator); in radius_msg_finish_acct()
504 os_memcpy(msg->hdr->authenticator, req_authenticator, MD5_MAC_LEN); in radius_msg_finish_acct_resp()
509 md5_vector(2, addr, len, msg->hdr->authenticator); in radius_msg_finish_acct_resp()
536 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; in radius_msg_verify_acct_req()
[all …]
Dradius_server.c779 if (!radius_msg_add_mppe_keys(msg, hdr->authenticator, in radius_server_encapsulate_eap()
838 hdr->authenticator) < 0) { in radius_server_encapsulate_eap()
919 hdr->authenticator) < 0) { in radius_server_macacl()
964 hdr->authenticator) < in radius_server_reject()
1038 radius_msg_get_hdr(msg)->authenticator, 16) == 0) { in radius_server_request()
1164 os_memcpy(sess->last_authenticator, hdr->authenticator, 16); in radius_server_request()
1405 hdr->authenticator); in radius_server_receive_acct()
Dradius.h22 u8 authenticator[16]; member
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, in wps_process_authenticator() argument
23 if (authenticator == NULL) { in wps_process_authenticator()
44 if (os_memcmp_const(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) { in wps_process_authenticator()
Dwps_validate.c766 static int wps_validate_authenticator(const u8 *authenticator, int mandatory) in wps_validate_authenticator() argument
768 if (authenticator == NULL) { in wps_validate_authenticator()
1382 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m2()
1470 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m3()
1508 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m4()
1575 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m5()
1642 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m6()
1710 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m7()
1784 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m8()
Dwps_attr_parse.h35 const u8 *authenticator; /* WPS_AUTHENTICATOR_LEN (8) octets */ member
Dwps_enrollee.c983 wps_process_authenticator(wps, attr->authenticator, msg) || in wps_process_m2()
1098 wps_process_authenticator(wps, attr->authenticator, msg) || in wps_process_m4()
1153 wps_process_authenticator(wps, attr->authenticator, msg)) { in wps_process_m6()
1210 wps_process_authenticator(wps, attr->authenticator, msg)) { in wps_process_m8()
Dwps_i.h183 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DDeferredAuthentication.java53 public DeferredAuthentication(LoginAuthenticator authenticator) in DeferredAuthentication() argument
55 if (authenticator == null) in DeferredAuthentication()
57 this._authenticator = authenticator; in DeferredAuthentication()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java75 private final Authenticator authenticator = AuthenticatorAdapter.INSTANCE; field in RouteSelectorTest
89 .setAuthenticator(authenticator) in setUp()
145 Address address = new Address(uriHost, uriPort, socketFactory, null, null, null, authenticator, in explicitProxyTriesThatProxysAddressesOnly()
161 Address address = new Address(uriHost, uriPort, socketFactory, null, null, null, authenticator, in explicitDirectProxy()
373 return new Address(uriHost, uriPort, socketFactory, null, null, null, authenticator, null, in httpAddress()
379 hostnameVerifier, null, authenticator, null, protocols, connectionSpecs, proxySelector); in httpsAddress()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java281 public static Request processAuthHeader(Authenticator authenticator, Response response, in processAuthHeader() argument
284 ? authenticator.authenticateProxy(proxy, response) in processAuthHeader()
285 : authenticator.authenticate(proxy, response); in processAuthHeader()
/external/wpa_supplicant_8/hostapd/
Dhostapd.sim_db1 # Example GSM authentication triplet file for EAP-SIM authenticator
Dhostapd.eap_user36 # Multiple methods can be configured to make the authenticator try them one by
42 # authenticator advertises the highest supported version and select the version
DChangeLog786 * added support for EAP-AKA in the integrated EAP authenticator
863 using integrated EAP authenticator for EAP-TLS; new hostapd.conf
876 authenticator
918 * added support for EAP-PEAP in the integrated EAP authenticator
919 * added support for EAP-GTC in the integrated EAP authenticator
921 the integrated EAP authenticator can, e.g., use the wildcard entry
923 * added support for EAP-TTLS in the integrated EAP authenticator
924 * added support for EAP-SIM in the integrated EAP authenticator
926 with the integrated EAP authenticator taking care of EAP
935 * added support for EAP-MSCHAPv2 in the integrated EAP authenticator
[all …]
Dhlr_auc_gw.txt1 HLR/AuC testing gateway for hostapd EAP-SIM/AKA database/authenticator
/external/e2fsprogs/lib/et/test_cases/
Dsimple.et13 "Can't decode authenticator"
Dheimdal.et31 ec RD_AP_UNDEC, "Kerberos error: Can't decode authenticator"
/external/ppp/pppd/
Dchap_ms.c924 u_char authResponse[], int authenticator) in ChapMS2() argument
952 &response[MS_CHAP2_NTRESP], authenticator); in ChapMS2()

123