camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-10826: camel-salesforce dont log username for login at INFO level, and also if you use clientId instead of username it would log null
Date Wed, 15 Feb 2017 20:25:17 GMT
Repository: camel
Updated Branches:
  refs/heads/master 933b0a869 -> f5ae492ac


CAMEL-10826: camel-salesforce dont log username for login at INFO level, and also if you use
clientId instead of username it would log null


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f5ae492a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f5ae492a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f5ae492a

Branch: refs/heads/master
Commit: f5ae492acf4b42a84bc6a532dbf99335124d3e59
Parents: 933b0a8
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Feb 15 21:25:16 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Feb 15 21:25:16 2017 +0100

----------------------------------------------------------------------
 .../camel/component/salesforce/internal/SalesforceSession.java  | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f5ae492a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/SalesforceSession.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/SalesforceSession.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/SalesforceSession.java
index d8bebf8..f3047f7 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/SalesforceSession.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/SalesforceSession.java
@@ -134,7 +134,7 @@ public class SalesforceSession implements Service {
      */
     public Request getLoginRequest(HttpConversation conversation) {
         final String loginUrl = (instanceUrl == null ? config.getLoginUrl() : instanceUrl)
+ OAUTH2_TOKEN_PATH;
-        LOG.info("Login user {} at Salesforce loginUrl: {}", config.getUserName(), loginUrl);
+        LOG.info("Login at Salesforce loginUrl: {}", loginUrl);
         final Fields fields = new Fields(true);
 
         fields.put("client_id", config.getClientId());
@@ -164,9 +164,6 @@ public class SalesforceSession implements Service {
 
     /**
      * Parses login response, allows SalesforceSecurityHandler to parse a login request for
a failed authentication conversation.
-     * @param loginResponse
-     * @param responseContent
-     * @throws SalesforceException
      */
     public synchronized void parseLoginResponse(ContentResponse loginResponse, String responseContent)
throws SalesforceException {
         final int responseStatus = loginResponse.getStatus();


Mime
View raw message