- Added Modify and Delete functionalities for Firefox Password
Manager Secrets into CASAManager.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Novell.CASA.DataEngines
|
||||
//for firefox below.
|
||||
kwEngine = new KWalletEngine();
|
||||
gkEngine = new GKEngine();
|
||||
//ffEngine = new FFEngine();
|
||||
ffEngine = new FFEngine();
|
||||
//Note:
|
||||
//The new instantiation of a wallet should not be done here since
|
||||
//if the policy has a specific wallet disabled, the constructor for the wallet
|
||||
@@ -245,6 +245,8 @@ namespace Novell.CASA.DataEngines
|
||||
return kwEngine.SetSecret(secret, opnType);
|
||||
if (StoreID == ConstStrings.CASA_STORE_GK)
|
||||
return gkEngine.SetSecret(secret, opnType);
|
||||
if (StoreID == ConstStrings.CASA_STORE_FFOX)
|
||||
return ffEngine.SetSecret(secret, opnType);
|
||||
#endif
|
||||
else
|
||||
{
|
||||
@@ -355,6 +357,8 @@ namespace Novell.CASA.DataEngines
|
||||
return kwEngine.Remove(secret);
|
||||
if (StoreID == ConstStrings.CASA_STORE_GK)
|
||||
return gkEngine.Remove(secret);
|
||||
if (StoreID == ConstStrings.CASA_STORE_FFOX)
|
||||
return ffEngine.Remove(secret);
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user