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: Brenden Conley
date: 2016-10-20 23:39:33.000000000

Patch Set 3:

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

-------------------------------------
author: Brenden Conley
date: 2016-10-21 00:04:42.000000000

Patch Set 3: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/9170/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2016-10-24 13:09:08.000000000

Patch Set 3: -Code-Review

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

-------------------------------------
author: Brenden Conley
date: 2016-10-24 13:17:36.000000000

Patch Set 3: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit.gerrit/9175/ : FAILURE

-------------------------------------
author: Brenden Conley
date: 2016-10-24 14:34:02.000000000

Patch Set 3: -Verified

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

-------------------------------------
author: Brenden Conley
date: 2016-10-24 14:56:14.000000000

Patch Set 3: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/9181/ : 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

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