profileEntity.setEncryptedSecurityAnswer(encryptedAnswer); String verificationCode = securityDetails.getEncryptedVerificationCode() != null ? securityDetails.getEncryptedVerificationCode().getContent() : null; profileEntity.setEncryptedVerificationCode(verificationCode);