- Added Modify and Delete functionalities for Firefox Password

Manager Secrets into CASAManager.
This commit is contained in:
lsreevatsa
2006-03-15 15:56:11 +00:00
parent 49d966cf50
commit b6ff2610b2
8 changed files with 275 additions and 13 deletions

View File

@@ -640,6 +640,23 @@ namespace Novell.CASA.GUI {
newKeyElement.AppendChild(newValue);
}
}
else if( Common.STORE_FIREFOX == storeIDentifier )
{
storeChainKey = CCFXML_ELEMENT_FIREFOX_PROFILE;
ccfRootStorePath = "//CCF/FireFox";
if( Common.OPERATION_MODIFY_KEY == operation || Common.OPERATION_DELETE_KEY == operation )
{
ccfSecretPath = "//CCF/FireFox/Profile[@ID='" + keyChainID + "']/Secret[@ID='" + SecretID + "']/Key[@ID='" + keyID + "']";
//Console.WriteLine("OPERATION_MODIFY_KEY-OR-OPERATION_DELETE_KEY:ccfSecretPath:"+ccfSecretPath);//FIXME:Remove this line
}
else if( Common.OPERATION_DELETE_SECRET == operation )
{
ccfKeyChainPath = "//CCF/FireFox/Profile[@ID='" + keyChainID + "']";
ccfSecretPath = "Secret[@ID='" + SecretID + "']";
//Console.WriteLine("OPERATION_DELETE_SECRET:ccfKeyChainPath:"+ccfKeyChainPath);//FIXME:Remove this line
//Console.WriteLine("OPERATION_DELETE_SECRET:ccfSecretPath:"+ccfSecretPath);//FIXME:Remove this line
}
}
else
return( Common.STATUS_STORE_UNSUPPORTEDOPERATION );