*/
public void storeCredentials(String sscfPerson,BookmarkingSource bookmarkingSource,String login, String password) throws BadCredentialsException{
if(login == null || "".equals(login) ||
password == null || "".equals(password))
throw new BadCredentialsException("Invalid login/password");
Person person = PersonFactory.getPerson(sscfPerson);
if(person != null){
String mbox_sha1sum = person.getMbox_sha1sum();
PBEKeySpec keySpec = new PBEKeySpec(mbox_sha1sum.toCharArray());
String[] encryptedCredentials = encryptCredentials(login, password, keySpec);
if(encryptedCredentials != null && encryptedCredentials[0] != null && encryptedCredentials[1] != null){
String loginToStore = encryptedCredentials[0];
String passwordToStore = encryptedCredentials[1];