Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69A4217B0F for ; Sat, 11 Oct 2014 15:50:43 +0000 (UTC) Received: (qmail 43859 invoked by uid 500); 11 Oct 2014 15:50:43 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 43800 invoked by uid 500); 11 Oct 2014 15:50:43 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 43788 invoked by uid 99); 11 Oct 2014 15:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Oct 2014 15:50:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chamilad@wso2.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-ig0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Oct 2014 15:50:38 +0000 Received: by mail-ig0-f175.google.com with SMTP id uq10so6093250igb.14 for ; Sat, 11 Oct 2014 08:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=Lh1qCrYjWlJBXc8z2UIfvoLlU5siOSZmPHy5wK9AwuM=; b=Z5TY3fCg5QUQ/eFhm9zwJ5q/zQVXzDt99wVM1DGdf5mk/6hS1lLWNYblfyK6IjHzRW k4gzi7kY7f6v1u8NYyDaZa58KT+ti/Uqe+h81NqeiRAdMFDLvNtLEX1seyFTuBH/IOgr 79OquJ6Erc1RhTGmrNqvvw9dPwG1+SfPNTFyw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=Lh1qCrYjWlJBXc8z2UIfvoLlU5siOSZmPHy5wK9AwuM=; b=lG/qFwllXuwTrP7SWcNxWYADsAmkeSx54yZRtrAZw2An5yk8JCBcZUogKHoC6z9MUh bHLuYjWYNxkTERYX57O3Bg0KK0mjEnJ7bN2Hvxokn0AeMTFpEwY06tHKf52IhYVMSTEG lhL1+vaNmsshXmzk+ezDuyAByBvGeUUiq9YBxpBSJ5kaJdzqBwwlbLA2/SsVjlmArBFa k0bBDE3yD2WzQRiSkt7oOhYvou6d44HB1c7+IL5NVPntUhJotFBH5A1TDqWXUqyUIsZk tDRCbu0JZclVXsjEOy/d3Vx4fWFZNtL8o/cKos6Hlgas8d4vGupIDA0ItMuwk3P2cP4e 1XCw== X-Gm-Message-State: ALoCoQmGRPBaPb7rpluK+BGsCVRwARnZJnmY95Q76GLAIqq34t3cL/5Bq2FfYP42HBi1UOJqEKrE X-Received: by 10.42.106.204 with SMTP id a12mr3108859icp.88.1413042617405; Sat, 11 Oct 2014 08:50:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.137.7 with HTTP; Sat, 11 Oct 2014 08:49:47 -0700 (PDT) From: Chamila De Alwis Date: Sat, 11 Oct 2014 21:19:47 +0530 Message-ID: Subject: Hardcoded username and password for CEP publishing To: dev Content-Type: multipart/alternative; boundary=20cf304352b643680e0505279f59 X-Virus-Checked: Checked by ClamAV on apache.org --20cf304352b643680e0505279f59 Content-Type: text/plain; charset=UTF-8 Hi, In the class org.apache.stratos.common.statistics.publisher.WSO2CEPStatisticsPublisher, the username and the password for the CEP is hardcoded as admin:admin. Is there any particular reason for this or is this being developed in a separate branch? We could simply look for system properties *thrift.server.admin.username* and *thrift.server.admin.password* and if they are not present revert to admin:admin. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com --20cf304352b643680e0505279f59 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

In the class org.apache.st= ratos.common.statistics.publisher.WSO2CEPStatisticsPublisher, the username = and the password for the CEP is hardcoded as admin:admin.

Is t= here any particular reason for this or is this being developed in a separat= e branch?

We could simply look for system properties thrif= t.server.admin.username and thrift.server.admin.password and if = they are not present revert to admin:admin.

Regards,
Chamila de A= lwis
Softw= are Engineer | WSO2 | +9477= 2207163
Blog: code.chamiladealwis.com


--20cf304352b643680e0505279f59--