http://bugzilla.moblin.org/show_bug.cgi?id=3604
--- Comment #9 from yongsheng zhu <yongsheng.zhu(a)intel.com> 2009-09-02 01:28:37
---
Here is my implementation:
ConfigUserInterface:
1) Add a new function in the ConfigUserInterface - 'savePassword' to let
different UI implemement its own mechanism to store password.
2) Add a parameter 'ConfigNode' for 'askPassword'. This allows
ConfigUserInterface accessing some auxiliary information, such as server, user
name.
EvolutionSyncConfig:
Add a function 'savePassword(ConfigUserInterface &ui)'. similar to
'checkPassword'.
SyncSourceConfig:
Add a function 'savePassword(ConfigUserInterface &ui)'. Currently not use.
Probably later we'll use it to save syncsource password in the keyring.
CmdlineSyncClient:
1) derived from EvolutionSyncClient which is derived from EvolutionSyncConfig
and ConfigUserInterface.
2) implement two functions from ConfigUserInterface: savePassword and
askPassword. They retrieve or save passsword from or into keyring.
EvolutionSyncCmdline:
When it runs for sync configuration, use CmdlineSyncClient instead of original
EvolutionSyncConfig to hold configuration and then use it to save password.
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.