Bug 141924. Refresh secrets after unlock. Additional GUI behavior fixes.
This commit is contained in:
@@ -27,8 +27,10 @@ namespace Novell.CASA.DataEngines
|
||||
{
|
||||
// Always Aggregate miCASA.
|
||||
micasaengine = new miCASAEngine();
|
||||
#if LINUX
|
||||
kwEngine = new KWalletEngine();
|
||||
gkEngine = new GKEngine();
|
||||
#endif
|
||||
/*
|
||||
|
||||
// Reading Policy to see what else needs to be Aggregated.
|
||||
@@ -191,10 +193,12 @@ namespace Novell.CASA.DataEngines
|
||||
{
|
||||
if (StoreID == ConstStrings.CASA_STORE_MICASA)
|
||||
return micasaengine.SetSecret(secret, opnType);
|
||||
#if LINUX
|
||||
if (StoreID == ConstStrings.CASA_STORE_KWALLET)
|
||||
return kwEngine.SetSecret(secret, opnType);
|
||||
if (StoreID == ConstStrings.CASA_STORE_GK)
|
||||
return gkEngine.SetSecret(secret, opnType);
|
||||
#endif
|
||||
else
|
||||
{
|
||||
#if LINUX
|
||||
@@ -238,10 +242,12 @@ namespace Novell.CASA.DataEngines
|
||||
{
|
||||
if (StoreID == ConstStrings.CASA_STORE_MICASA)
|
||||
return micasaengine.SetSecret(secret);
|
||||
#if LINUX
|
||||
if (StoreID == ConstStrings.CASA_STORE_KWALLET)
|
||||
return kwEngine.SetSecret(secret);
|
||||
if (StoreID == ConstStrings.CASA_STORE_GK)
|
||||
return gkEngine.SetSecret(secret);
|
||||
#endif
|
||||
else
|
||||
{
|
||||
#if LINUX
|
||||
@@ -297,10 +303,12 @@ namespace Novell.CASA.DataEngines
|
||||
|
||||
if (StoreID == ConstStrings.CASA_STORE_MICASA)
|
||||
return micasaengine.Remove(secret);
|
||||
#if LINUX
|
||||
if (StoreID == ConstStrings.CASA_STORE_KWALLET)
|
||||
return kwEngine.Remove(secret);
|
||||
if (StoreID == ConstStrings.CASA_STORE_GK)
|
||||
return gkEngine.Remove(secret);
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user