Home
last modified time | relevance | path

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

12

/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.java184 private Authenticator authenticator; field in OkHttpClient
215 this.authenticator = okHttpClient.authenticator; in OkHttpClient()
419 public OkHttpClient setAuthenticator(Authenticator authenticator) { in setAuthenticator() argument
420 this.authenticator = authenticator; in setAuthenticator()
425 return authenticator; in getAuthenticator()
628 if (result.authenticator == null) { in copyWithDefaults()
629 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.java108 Authenticator authenticator = new RecordingAuthenticator(); in copyWithDefaultsWhenDefaultIsGlobal() local
115 Authenticator.setDefault(authenticator); in copyWithDefaultsWhenDefaultIsGlobal()
/external/wpa_supplicant_8/src/radius/
Dradius.c409 os_memcpy(msg->hdr->authenticator, req_authenticator, in radius_msg_finish_srv()
410 sizeof(msg->hdr->authenticator)); in radius_msg_finish_srv()
423 md5_vector(4, addr, len, msg->hdr->authenticator); in radius_msg_finish_srv()
452 os_memcpy(msg->hdr->authenticator, req_hdr->authenticator, 16); in radius_msg_finish_das_resp()
461 if (md5_vector(2, addr, len, msg->hdr->authenticator) < 0) in radius_msg_finish_das_resp()
480 os_memset(msg->hdr->authenticator, 0, MD5_MAC_LEN); in radius_msg_finish_acct()
485 md5_vector(2, addr, len, msg->hdr->authenticator); in radius_msg_finish_acct()
501 os_memcpy(msg->hdr->authenticator, req_authenticator, MD5_MAC_LEN); in radius_msg_finish_acct_resp()
506 md5_vector(2, addr, len, msg->hdr->authenticator); in radius_msg_finish_acct_resp()
533 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; in radius_msg_verify_acct_req()
[all …]
Dradius_server.c776 if (!radius_msg_add_mppe_keys(msg, hdr->authenticator, in radius_server_encapsulate_eap()
835 hdr->authenticator) < 0) { in radius_server_encapsulate_eap()
916 hdr->authenticator) < 0) { in radius_server_macacl()
961 hdr->authenticator) < in radius_server_reject()
1035 radius_msg_get_hdr(msg)->authenticator, 16) == 0) { in radius_server_request()
1161 os_memcpy(sess->last_authenticator, hdr->authenticator, 16); in radius_server_request()
1402 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.c982 wps_process_authenticator(wps, attr->authenticator, msg) || in wps_process_m2()
1097 wps_process_authenticator(wps, attr->authenticator, msg) || in wps_process_m4()
1152 wps_process_authenticator(wps, attr->authenticator, msg)) { in wps_process_m6()
1209 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()
DURLConnectionTest.java1496 RecordingAuthenticator authenticator = new RecordingAuthenticator(null);
1497 Authenticator.setDefault(authenticator);
1510 return authenticator.calls;
2804 RecordingOkAuthenticator authenticator = new RecordingOkAuthenticator(credential);
2805 client.client().setAuthenticator(authenticator);
2811 assertEquals(Proxy.NO_PROXY, authenticator.onlyProxy());
2812 Response response = authenticator.onlyResponse();
2824 RecordingOkAuthenticator authenticator = new RecordingOkAuthenticator("oauthed abc123");
2825 client.client().setAuthenticator(authenticator);
2831 Response response = authenticator.onlyResponse();
[all …]
/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
DChangeLog750 * added support for EAP-AKA in the integrated EAP authenticator
827 using integrated EAP authenticator for EAP-TLS; new hostapd.conf
840 authenticator
882 * added support for EAP-PEAP in the integrated EAP authenticator
883 * added support for EAP-GTC in the integrated EAP authenticator
885 the integrated EAP authenticator can, e.g., use the wildcard entry
887 * added support for EAP-TTLS in the integrated EAP authenticator
888 * added support for EAP-SIM in the integrated EAP authenticator
890 with the integrated EAP authenticator taking care of EAP
899 * 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()

12