History log of /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f1789afa535b113047ef20623d79fdfb257537aa 07-Aug-2014 Tony Mantler <nicoya@google.com> Switch null checks to TextUtils.isEmpty()

b/16872654

Change-Id: Ib8943f068ad6988ff08f8bfd54e2df8fa5ce0274
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
4b629cf25804fd74712b0f7acce1c2e59135b9bf 15-Nov-2013 Tony Mantler <nicoya@google.com> Null check certificate alias before trying to configure it

Bug: 11678638

Change-Id: Ia12789ac3553ef959a8c9bbf13f017b1a154f560
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
560bfadc3151f7a06f3b06e9a6c92cfa534c63ec 26-May-2013 Scott Kennedy <skennedy@google.com> Unify LogTag

There is now only one LogTag class. The static initializer of
GmailApplication (existing) and EmailApplication (new) will now set
the log tag to "Gmail" and "Email", respectively. Up until that code
is run, it will be "UnifiedEmail".

"setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to
be printed as long as they go through LogUtils, regardless of what tag
is used by that individual log. This lets us still turn on logging
everywhere in one command, but also lets us use more descriptive tags
(like the class name).

And since we no longer have three com.android.mail.utils.LogTag
classes, builds will be much easier.

Also, we now use LogUtils everywhere.

Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
0e969171bb32050e845412fb51bc856bf8a2c954 16-Aug-2012 Marc Blank <mblank@google.com> Update client connection manager w/ bdc fix in AOSP branch

Bug: 6838215
Change-Id: I39a2ea0b54aca34062e1a2ccc472e701c3ef2f79
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
7d5e2a7c08966ffd4a9e8c78f504cc4fd5be4216 01-Aug-2012 Marc Blank <mblank@google.com> Do "same certificate" checking when using "trust certificates"

* Refactor/simplify Transport/MailTransport
* Add serverCert column to HostAuth table in EmailProvider
* During first connection to server, save the server certificate
in the HostAuth; on subsequent connections, ensure that the
certificate presented has the same public key as the one
stored
* For now, we'll just fail to connect (with a CertificateException)
if there's a mismatch

TODO: Add some UI to handle different certificates

Bug: 6888866
Change-Id: Ia79497e89eaad8d43617b50d3771121b2ed7f687
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 28-Jun-2012 Marc Blank <mblank@google.com> DO NOT MERGE: Move emailcommon2 sources to emailcommon

Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
f4f10a3fdf3fdf94db4780017c4392823942b1d7 01-Jul-2011 Ben Komalo <benkomalo@google.com> Make client certificate requests optional.

This prevents things from always failing if the server requires a client
SSL certificate.

Note that the solution used to determine if a certificate request was
made for a given request is approximate; it is timestamp based and can
theoretically give a false positive. In practice, this is very unlikely,
since another cert request had to have happened around the same time,
AND the response must be a 401/403.

Change-Id: Ieb77cf91db3bd52ba4adf1fb07357fef7e204ba5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
cb24e515b7983133133ca38bd3e3e6354daaab76 16-Jun-2011 Ben Komalo <benkomalo@google.com> Add one more error state to certificate process

When the KeyStore fails to give us back a certificate for any reason (it
was removed from the keystore perhaps), propagate the error back up.

Change-Id: I4f0ef783c1665589cc8ccb43d95da43a297a3e9a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
f4dbbf10996e6bca926a5825bbc69e1e172c20c0 16-Jun-2011 Ben Komalo <benkomalo@google.com> Indicate to the user when a cert error happens.

This introduces an exception which needs to be thrown from a KeyManager
when it tries to establish a connection with a server requesting a
certificate.

Change-Id: I06dfad7789ed5d320b630e7e4380e15da42a48df
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java
78959916e771114ff8c48fc181e34a7dff0aa672 04-May-2011 Ben Komalo <benkomalo@google.com> Add support for client side SSL certificates

This introduces the ability for clients (i.e. the exchange service) to
register "special connection types" that use a client certificate stored
in the system keystore. The alias is encoded into the URI scheme for
those clients, and the socket factory used for those connections will
use the approprate KeyManager.

Lots of TODO's, including bubbling a lot of this up to the higher level
and wiring the UI to actually set the alias in the HostAuth table.

Change-Id: If5e1901c5b58731fdabd3e6b6da7198134b512d2
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java