DESCRIPTION

Improve error handling when using SecureStore

- if reading credentials fails remove the failing credentials from
secure store, otherwise the same error will occur again next time when
trying again to get the same credentials from a corrupted entry stored
in secure store
- improve error messages logged when a secure store operation fails
- add SecureStoreUtils.clearCredentials() to simplify error handling

Bug: 495539
Change-Id: Ie6e8712b4a8eb936bfe874c2f01ce081305ba156
Signed-off-by: Douglas Trujillo xxx@xxx.xxx

COMMENTS

author: Douglas Trujillo
date: 2016-12-08 23:38:27.000000000

Uploaded patch set 5: Patch Set 4 was rebased.

-------------------------------------
author: Douglas Trujillo
date: 2016-12-08 23:38:44.000000000

Patch Set 5: Code-Review+2

-------------------------------------
author: Brenden Conley
date: 2016-12-08 23:44:53.000000000

Patch Set 5:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/9339/

-------------------------------------
author: Brenden Conley
date: 2016-12-09 00:08:10.000000000

Patch Set 5: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/9339/ : SUCCESS

-------------------------------------
author: Gerrit Johnathan Pham
date: 2016-12-09 10:30:40.000000000

Change has been successfully merged into the git repository by Douglas Trujillo

-------------------------------------
