You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/09/15 16:25:51 UTC
[1/2] git commit: ARGUS-55: Modified to show password only if
installation is called with -Ddebug=true on the credential command to encrypt
the password
Repository: incubator-argus
Updated Branches:
refs/heads/master b1370f3a5 -> bf6402e3a
ARGUS-55: Modified to show password only if installation is called with -Ddebug=true on the credential command to encrypt the password
Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/7c1f9f90
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/7c1f9f90
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/7c1f9f90
Branch: refs/heads/master
Commit: 7c1f9f90aa88779c4522894c47094feadbd3f80d
Parents: c3513b2
Author: sneethiraj <sn...@apache.org>
Authored: Mon Sep 15 08:16:53 2014 -0400
Committer: sneethiraj <sn...@apache.org>
Committed: Mon Sep 15 08:16:53 2014 -0400
----------------------------------------------------------------------
.../java/com/hortonworks/credentialapi/buildks.java | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7c1f9f90/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java
----------------------------------------------------------------------
diff --git a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java
index f5c25f9..257e311 100644
--- a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java
+++ b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java
@@ -315,14 +315,16 @@ public class buildks {
public static void displayCommand(String args[])
{
- StringBuffer tempBuffer=new StringBuffer("");
- if(args!=null && args.length>0){
- for(int index=0;index<args.length;index++){
- tempBuffer.append(args[index]+" ");
+ String debugOption = System.getProperty("debug") ;
+ if (debugOption != null && "TRUE".equalsIgnoreCase(debugOption)) {
+ StringBuffer tempBuffer=new StringBuffer("");
+ if(args!=null && args.length>0){
+ for(int index=0;index<args.length;index++){
+ tempBuffer.append(args[index]+" ");
+ }
+ System.out.println("Command to execute:["+tempBuffer+"]");
}
- System.out.println("Command to execute:["+tempBuffer+"]");
}
-
}
public static void displaySyntax()
[2/2] git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-argus
Posted by sn...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-argus
Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/bf6402e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/bf6402e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/bf6402e3
Branch: refs/heads/master
Commit: bf6402e3a52585dae6ce130ae30fa1fcfecdf0f1
Parents: 7c1f9f9 b1370f3
Author: sneethiraj <sn...@apache.org>
Authored: Mon Sep 15 10:25:36 2014 -0400
Committer: sneethiraj <sn...@apache.org>
Committed: Mon Sep 15 10:25:36 2014 -0400
----------------------------------------------------------------------
.../db/patches/007-updateBlankPolicyName.sql | 171 +++++++++++++++++++
.../db/patches/008-removeTrailingSlash.sql | 129 ++++++++++++++
.../main/java/com/xasecure/rest/PublicAPIs.java | 6 +-
.../scripts/modules/globalize/message/en.js | 3 +-
.../src/main/webapp/scripts/utils/XAUtils.js | 24 +++
.../scripts/views/hbase/HbasePolicyCreate.js | 4 +-
.../scripts/views/hbase/HbasePolicyForm.js | 8 +-
.../scripts/views/hbase/HbaseTableLayout.js | 7 +-
.../scripts/views/hdfs/HDFSTableLayout.js | 7 +-
.../scripts/views/hive/HivePolicyCreate.js | 4 +-
.../scripts/views/hive/HiveTableLayout.js | 7 +-
.../scripts/views/knox/KnoxPolicyCreate.js | 4 +-
.../scripts/views/knox/KnoxTableLayout.js | 7 +-
.../webapp/scripts/views/policy/PolicyCreate.js | 4 +-
.../scripts/views/storm/StormPolicyCreate.js | 4 +-
.../scripts/views/storm/StormTableLayout.js | 7 +-
.../scripts/views/users/UserTableLayout.js | 12 +-
security-admin/src/main/webapp/styles/xa.css | 12 +-
.../templates/hbase/HbasePolicyCreate_tmpl.html | 5 +-
.../templates/hbase/HbasePolicyForm_tmpl.html | 5 +-
.../templates/hbase/HbaseTableLayout_tmpl.html | 6 +-
.../templates/hdfs/HDFSTableLayout_tmpl.html | 8 +-
.../templates/hdfs/PolicyCreate_tmpl.html | 4 +
.../webapp/templates/hdfs/PolicyForm_tmpl.html | 5 +-
.../templates/hive/HivePolicyCreate_tmpl.html | 5 +-
.../templates/hive/HivePolicyForm_tmpl.html | 5 +-
.../templates/hive/HiveTableLayout_tmpl.html | 6 +-
.../templates/knox/KnoxPolicyCreate_tmpl.html | 5 +-
.../templates/knox/KnoxPolicyForm_tmpl.html | 5 +-
.../templates/knox/KnoxTableLayout_tmpl.html | 6 +-
.../templates/storm/StormPolicyCreate_tmpl.html | 5 +-
.../templates/storm/StormPolicyForm_tmpl.html | 5 +-
.../templates/storm/StormTableLayout_tmpl.html | 6 +-
.../templates/users/UserTableLayout_tmpl.html | 6 +-
34 files changed, 439 insertions(+), 68 deletions(-)
----------------------------------------------------------------------