summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/SslCertLookupTable.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-72/+0
| | | | | | | | | Delete all the Java classes used only by the old WebView implementation, and also sections of common classes that were only needed for the old WebView. Bug: 10427705 Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d
* Fix SslCertLookupTable to correctly determine whether we have a valid cached ↵Steve Block2011-10-051-19/+16
| | | | | | | | | | | decision We should only re-use a cached 'allow' decision if the decision ... - is for the same host - is for an error which is at least as severe as the current error Bug: 5409251 Change-Id: Id8516f58c8d23de44e80539ffeaf945be3d2914a
* SSL-related cleanup in BrowserFrame and SslCertLookupTableSteve Block2011-10-051-3/+4
| | | | | | | | | | | - Fix a comment in BrowserFrame.certificate() - Simplify SslCertLookupTable by not storing 'deny' decisions. We only need to store 'allow' decisions, as we don't re-use 'deny' decisions. No change in behaviour. Bug: 5409251 Change-Id: I447cd1966fbb6c2dea8088b2e4c4e2de22405cb9
* Fix BrowserFrame to construct SslError using the full URL, rather than the hostSteve Block2011-10-051-2/+23
| | | | | | | | | | | | | | | | | | | | | | https://android-git.corp.google.com/g/#/c/133348 changed BrowserFrame to construct the SslError using only the host. This was done so that we match on just the host component of the URL when re-using previous decisions in case of an SSL error. It also means that the browser displays only the host when it shows the SSL error dialog. This change fixes BrowserFrame to pass the full URL to SslError. We modify SslCertLookupTable to keep the existing behaviour regarding matching on only the host component. There's no need to change Browser to continue displaying only the host as I think this change was an unintentional side-effect. Also remove dead code-path in BrowserFrame.reportSslCertError(). This method is used only with the Chromium HTTP stack. This code was added in https://android-git.corp.google.com/g/#/c/121023. No functional change. Bug: 5410252 Change-Id: Ief2dbf4558095fb6fa7ab0caac7d37fa4f640b66
* Hook up WebView.clearSslPreferences() for the Chromium HTTP stackKristian Monsen2011-09-281-0/+4
| | | | | | | | | Note that this is an incomplete fix, as we do not clear the responses for connections currently in use, as they maintain their own cache. See http:/b/5324235. Bug: 5287216 Change-Id: I18f6638efeff0bee1e7ffed606be1444d683bebd
* Remove superfluous synchronized modifier on SslCertLookupTable.getInstance()Steve Block2011-09-271-11/+8
| | | | | | | Also fixes style in SslCertLookupTable and WebViewcore.reportSslCertError(). Bug: 5287216 Change-Id: I1cd975b1c8cecf1ca1dad0643be8ab62f7a950bc
* Implement android.webkit.BrowserFrame.requestClientCertBrian Carlstrom2011-06-091-2/+2
| | | | | | | | | | | | | | | | Following the example of reportSslCertError, implement requestClientCert ERROR CASE CLIENT CERT CASE <... From external/webkit ...> <... From external/webkit ...> android.webkit.BrowserFrame.reportSslCertError android.webkit.BrowserFrame.requestClientCert CallbackProxy.onReceivedSslError CallbackProxy.onReceivedClientCertRequest WebViewClient.onReceivedSslError WebViewClient.onReceivedClientCertRequest <... See packages/apps/Browser ...> <... See packages/apps/Browser ...> SslErrorHandler.proceed (with SslCertLookupTable) ClientCertRequestHandler.proceed (with SslClientCertLookupTable) android.webkit.BrowserFrame.nativeSslCertErrorProceed android.webkit.BrowserFrame.nativeSslClientCert <... To external/webkit ...> <... To external/webkit ...> Change-Id: I2ba6007ad9b2ee520a0a6b17f3a767679b1664de
* b/2864818 Prompt the SSL error dialog to user and proceed or cancelHuahui Wu2010-12-151-0/+52
the request. C++ side cl: https://android-git.corp.google.com/g/#change,84529 Change-Id: I1f4c69c6ddb92324a1ec3c193018e8d703454f56