You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by di...@apache.org on 2014/10/14 03:37:28 UTC
[4/4] git commit: ARGUS-106: add apache copyright to shell scripts,
xml files, properties files, html files missing copyrihgt
ARGUS-106: add apache copyright to shell scripts, xml files, properties files, html files missing copyrihgt
Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/99c462d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/99c462d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/99c462d2
Branch: refs/heads/master
Commit: 99c462d2c3140b672af6574947bbcd5cb6ccb197
Parents: 09bd79a
Author: Dilli Dorai Arumugam <da...@hortonworks.com>
Authored: Mon Oct 13 17:46:47 2014 -0700
Committer: Dilli Dorai Arumugam <da...@hortonworks.com>
Committed: Mon Oct 13 17:52:54 2014 -0700
----------------------------------------------------------------------
agents-audit/pom.xml | 16 ++++++++++++++++
.../com/xasecure/audit/provider/DebugTracer.java | 16 ++++++++++++++++
.../com/xasecure/audit/provider/Log4jTracer.java | 16 ++++++++++++++++
.../java/com/xasecure/audit/provider/MiscUtil.java | 16 ++++++++++++++++
.../audit/provider/hdfs/HdfsAuditProvider.java | 16 ++++++++++++++++
.../src/main/resources/META-INF/persistence.xml | 16 ++++++++++++++++
agents-common/conf/log4j.properties | 15 +++++++++++++++
agents-common/pom.xml | 16 ++++++++++++++++
agents-common/scripts/enable-agent.sh | 16 ++++++++++++++++
.../authorization/hadoop/log/HdfsFileAppender.java | 16 ++++++++++++++++
agents-cred/pom.xml | 16 ++++++++++++++++
agents-impl/pom.xml | 16 ++++++++++++++++
agents-installer/pom.xml | 16 ++++++++++++++++
credentialbuilder/pom.xml | 16 ++++++++++++++++
embededwebserver/conf/xapolicymgr.properties | 15 +++++++++++++++
embededwebserver/pom.xml | 16 ++++++++++++++++
embededwebserver/scripts/startpolicymgr.sh | 16 ++++++++++++++++
embededwebserver/scripts/stoppolicymgr.sh | 16 ++++++++++++++++
hbase-agent/conf/xasecure-audit.xml | 16 ++++++++++++++++
hbase-agent/conf/xasecure-hbase-security.xml | 16 ++++++++++++++++
hbase-agent/conf/xasecure-policymgr-ssl.xml | 16 ++++++++++++++++
hbase-agent/pom.xml | 16 ++++++++++++++++
hbase-agent/scripts/install.properties | 15 +++++++++++++++
hbase-agent/scripts/install.sh | 16 ++++++++++++++++
hbase-agent/scripts/uninstall.sh | 16 ++++++++++++++++
hdfs-agent/conf/xasecure-audit.xml | 16 ++++++++++++++++
hdfs-agent/conf/xasecure-hadoop-env.sh | 16 ++++++++++++++++
hdfs-agent/conf/xasecure-hdfs-security.xml | 16 ++++++++++++++++
hdfs-agent/conf/xasecure-policymgr-ssl.xml | 16 ++++++++++++++++
hdfs-agent/pom.xml | 16 ++++++++++++++++
hdfs-agent/scripts/install.properties | 15 +++++++++++++++
hdfs-agent/scripts/install.sh | 16 ++++++++++++++++
hdfs-agent/scripts/uninstall.sh | 16 ++++++++++++++++
hive-agent/conf/xasecure-audit.xml | 16 ++++++++++++++++
hive-agent/conf/xasecure-hive-security.xml | 16 ++++++++++++++++
hive-agent/conf/xasecure-policymgr-ssl.xml | 16 ++++++++++++++++
hive-agent/pom.xml | 16 ++++++++++++++++
hive-agent/scripts/install.properties | 15 +++++++++++++++
hive-agent/scripts/install.sh | 16 ++++++++++++++++
hive-agent/scripts/uninstall.sh | 16 ++++++++++++++++
knox-agent/conf/xasecure-audit.xml | 16 ++++++++++++++++
knox-agent/conf/xasecure-knox-security.xml | 16 ++++++++++++++++
knox-agent/conf/xasecure-policymgr-ssl.xml | 16 ++++++++++++++++
knox-agent/pom.xml | 16 ++++++++++++++++
knox-agent/scripts/install.properties | 15 +++++++++++++++
knox-agent/scripts/install.sh | 16 ++++++++++++++++
knox-agent/scripts/uninstall.sh | 16 ++++++++++++++++
lookup-client/pom.xml | 16 ++++++++++++++++
lookup-client/src/scripts/log4j.xml | 16 ++++++++++++++++
lookup-client/src/scripts/run-audit-test.sh | 16 ++++++++++++++++
lookup-client/src/scripts/run-hadoop-client.sh | 16 ++++++++++++++++
lookup-client/src/scripts/run-hbase-client.sh | 16 ++++++++++++++++
lookup-client/src/scripts/run-hive-client.sh | 16 ++++++++++++++++
lookup-client/src/scripts/xasecure-audit.properties | 15 +++++++++++++++
pom.xml | 16 ++++++++++++++++
security-admin/db/create_dbversion_catalog.sql | 15 +++++++++++++++
security-admin/db/create_dev_user.sh | 16 ++++++++++++++++
security-admin/db/create_dev_user.sql | 15 +++++++++++++++
security-admin/db/create_repo_hbase.sql | 15 +++++++++++++++
security-admin/db/create_repo_hdfs.sql | 15 +++++++++++++++
security-admin/db/create_repo_hive.sql | 15 +++++++++++++++
security-admin/db/create_repo_knox.sql | 15 +++++++++++++++
security-admin/db/init/backup_mysql_db.sh | 16 ++++++++++++++++
security-admin/db/init/create_dev_backup_mysql.sh | 16 ++++++++++++++++
.../db/init/create_dev_backup_mysql_loaded.sh | 16 ++++++++++++++++
security-admin/db/init/create_xa_core_db.sh | 16 ++++++++++++++++
security-admin/db/init/mysql_seed_data.sql | 15 +++++++++++++++
security-admin/db/init/reset_db.sh | 16 ++++++++++++++++
security-admin/db/init/reset_db_with_seed.sh | 16 ++++++++++++++++
security-admin/db/init/schema_mysql.sql | 15 +++++++++++++++
.../db/oracle/create_dbversion_catalog.sql | 15 +++++++++++++++
.../db/oracle/patches/001-groupsource.sql | 15 +++++++++++++++
security-admin/db/oracle/patches/002-policyname.sql | 15 +++++++++++++++
security-admin/db/oracle/patches/003-knoxrepo.sql | 15 +++++++++++++++
.../oracle/patches/006-createdefaultpublicgroup.sql | 15 +++++++++++++++
security-admin/db/oracle/xa_audit_db_oracle.sql | 15 +++++++++++++++
security-admin/db/oracle/xa_core_db_oracle.sql | 15 +++++++++++++++
security-admin/db/patches/001-groupsource.sql | 15 +++++++++++++++
security-admin/db/patches/002-policyname.sql | 15 +++++++++++++++
security-admin/db/patches/003-knoxrepo.sql | 15 +++++++++++++++
security-admin/db/patches/004-assetconfigsize.sql | 15 +++++++++++++++
security-admin/db/patches/005-xtrxlogcolumnsize.sql | 15 +++++++++++++++
.../db/patches/006-createdefaultpublicgroup.sql | 15 +++++++++++++++
.../db/patches/007-updateBlankPolicyName.sql | 15 +++++++++++++++
.../db/patches/008-removeTrailingSlash.sql | 15 +++++++++++++++
security-admin/db/reset_asset.sql | 15 +++++++++++++++
security-admin/db/reset_audit_mysql.sh | 16 ++++++++++++++++
security-admin/db/reset_core_mysql.sh | 16 ++++++++++++++++
security-admin/db/resetdb_dev_mysql.sh | 16 ++++++++++++++++
security-admin/db/xa_audit_db.sql | 15 +++++++++++++++
security-admin/db/xa_core_db.sql | 15 +++++++++++++++
security-admin/db/xa_db.sql | 15 +++++++++++++++
security-admin/db/xa_db_bare.sql | 15 +++++++++++++++
security-admin/db/xa_demo_db.sql | 15 +++++++++++++++
security-admin/pom.xml | 16 ++++++++++++++++
security-admin/scripts/install.properties | 15 +++++++++++++++
security-admin/scripts/setup_authentication.sh | 16 ++++++++++++++++
.../java/com/xasecure/common/PasswordUtils.java | 16 ++++++++++++++++
.../patch/PatchPasswordEncryption_J10001.java | 16 ++++++++++++++++
.../main/resources/META-INF/jpa_named_queries.xml | 16 ++++++++++++++++
.../src/main/resources/META-INF/persistence.xml | 16 ++++++++++++++++
.../src/main/resources/db_message_bundle.properties | 15 +++++++++++++++
.../src/main/resources/log4jdbc.properties | 15 +++++++++++++++
.../src/main/resources/resourcenamemap.properties | 15 +++++++++++++++
.../src/main/resources/sample.xa_system.properties | 15 +++++++++++++++
.../src/main/resources/xa_custom.properties | 15 +++++++++++++++
.../src/main/resources/xa_default.properties | 15 +++++++++++++++
.../src/main/resources/xa_ldap.properties | 15 +++++++++++++++
.../src/main/resources/xa_system.properties | 15 +++++++++++++++
security-admin/src/main/webapp/404.html | 16 ++++++++++++++++
.../src/main/webapp/META-INF/applicationContext.xml | 16 ++++++++++++++++
.../META-INF/asynctask-applicationContext.xml | 16 ++++++++++++++++
.../META-INF/scheduler-applicationContext.xml | 16 ++++++++++++++++
.../webapp/META-INF/security-applicationContext.xml | 16 ++++++++++++++++
security-admin/src/main/webapp/WEB-INF/log4j.xml | 16 ++++++++++++++++
security-admin/src/main/webapp/WEB-INF/web.xml | 16 ++++++++++++++++
security-admin/src/main/webapp/ajax_failure.jsp | 16 ++++++++++++++++
security-admin/src/main/webapp/ajax_success.html | 16 ++++++++++++++++
security-admin/src/main/webapp/index.html | 16 ++++++++++++++++
security-admin/src/main/webapp/login.jsp | 16 ++++++++++++++++
security-admin/src/main/webapp/styles/app-font.css | 16 ++++++++++++++++
security-admin/src/main/webapp/styles/bootstrap.css | 16 ++++++++++++++++
.../src/main/webapp/styles/bootstrap.min.css | 16 ++++++++++++++++
security-admin/src/main/webapp/styles/xa.css | 16 ++++++++++++++++
.../templates/accounts/AccountCreate_tmpl.html | 16 ++++++++++++++++
.../accounts/AccountDetailLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/accounts/AccountForm_tmpl.html | 16 ++++++++++++++++
.../templates/accounts/AccountTableLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/asset/AssetCreate_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/asset/AssetForm_tmpl.html | 16 ++++++++++++++++
.../templates/asset/AssetTableLayout_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/common/AddGroup_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/common/ErrorView_tmpl.html | 16 ++++++++++++++++
.../templates/common/PolicyManagerLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/common/ProfileBar_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/common/TopNav_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/common/UserPermissionItem.html | 16 ++++++++++++++++
.../webapp/templates/common/UserPermissionList.html | 16 ++++++++++++++++
.../webapp/templates/common/XATableLayout_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/common/breadcrumbs.html | 16 ++++++++++++++++
.../main/webapp/templates/common/formInputItem.html | 16 ++++++++++++++++
.../webapp/templates/common/formInputItemList.html | 16 ++++++++++++++++
.../main/webapp/templates/common/loading_tmpl.html | 16 ++++++++++++++++
.../templates/dashboard/DashboardLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/folders/FolderInfo_tmpl.html | 16 ++++++++++++++++
.../templates/hbase/HbasePolicyCreate_tmpl.html | 16 ++++++++++++++++
.../templates/hbase/HbasePolicyForm_tmpl.html | 16 ++++++++++++++++
.../templates/hbase/HbaseTableLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/hdfs/HDFSTableLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/hdfs/PolicyCreate_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/hdfs/PolicyForm_tmpl.html | 16 ++++++++++++++++
.../templates/hive/HivePolicyCreate_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/hive/HivePolicyForm_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/hive/HiveTableLayout_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/knox/KnoxInfo_tmpl.html | 16 ++++++++++++++++
.../templates/knox/KnoxPolicyCreate_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/knox/KnoxPolicyForm_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/knox/KnoxTableLayout_tmpl.html | 16 ++++++++++++++++
.../templates/license/LicenseCreate_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/license/LicenseInfo_tmpl.html | 16 ++++++++++++++++
.../templates/reports/AssetOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/AssetUpdateOperationDiff_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/reports/AuditLayout_tmpl.html | 16 ++++++++++++++++
.../templates/reports/GroupOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/GroupUpdateOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/KnoxPolicyDeleteOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/KnoxPolicyOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/KnoxPolicyUpdateOperationDiff_tmpl.html | 16 ++++++++++++++++
.../templates/reports/LoginSessionDetail_tmpl.html | 16 ++++++++++++++++
.../reports/PolicyDeleteOperationDiff_tmpl.html | 16 ++++++++++++++++
.../templates/reports/PolicyOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/PolicyUpdateOperationDiff_tmpl.html | 16 ++++++++++++++++
.../templates/reports/UserAccessLayout_tmpl.html | 16 ++++++++++++++++
.../templates/reports/UserOperationDiff_tmpl.html | 16 ++++++++++++++++
.../reports/UserUpdateOperationDiff_tmpl.html | 16 ++++++++++++++++
.../templates/storm/StormPolicyCreate_tmpl.html | 16 ++++++++++++++++
.../templates/storm/StormPolicyForm_tmpl.html | 16 ++++++++++++++++
.../templates/storm/StormTableLayout_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/user/UserProfileForm_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/user/UserProfile_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/users/GroupCreate_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/users/GroupForm_tmpl.html | 16 ++++++++++++++++
.../webapp/templates/users/UserCreate_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/users/UserForm_tmpl.html | 16 ++++++++++++++++
.../main/webapp/templates/users/UserInfo_tmpl.html | 16 ++++++++++++++++
.../templates/users/UserTableLayout_tmpl.html | 16 ++++++++++++++++
.../test/java/com/xasecure/biz/TestAssetMgr.java | 16 ++++++++++++++++
.../src/test/java/com/xasecure/biz/TestUserMgr.java | 16 ++++++++++++++++
.../test/java/com/xasecure/biz/TestXABizUtil.java | 16 ++++++++++++++++
.../test/java/com/xasecure/biz/TestXUserMgr.java | 16 ++++++++++++++++
.../test/java/com/xasecure/common/TestDateUtil.java | 16 ++++++++++++++++
.../test/java/com/xasecure/common/TestJSONUtil.java | 16 ++++++++++++++++
.../com/xasecure/common/TestPropertiesUtil.java | 16 ++++++++++++++++
.../java/com/xasecure/common/TestStringUtil.java | 16 ++++++++++++++++
.../java/com/xasecure/common/TestXAConfigUtil.java | 16 ++++++++++++++++
.../test/java/com/xasecure/util/TestXAEnumUtil.java | 16 ++++++++++++++++
security-admin/unixauth-config/unixauth.properties | 15 +++++++++++++++
src/main/assembly/admin-web.xml | 16 ++++++++++++++++
src/main/assembly/usersync.xml | 16 ++++++++++++++++
storm-agent/conf/xasecure-audit.xml | 16 ++++++++++++++++
storm-agent/conf/xasecure-policymgr-ssl.xml | 16 ++++++++++++++++
storm-agent/conf/xasecure-storm-security.xml | 16 ++++++++++++++++
storm-agent/pom.xml | 16 ++++++++++++++++
storm-agent/scripts/install.properties | 15 +++++++++++++++
storm-agent/scripts/install.sh | 16 ++++++++++++++++
storm-agent/scripts/uninstall.sh | 16 ++++++++++++++++
ugsync/pom.xml | 16 ++++++++++++++++
unixauthclient/pom.xml | 16 ++++++++++++++++
unixauthnative/pom.xml | 16 ++++++++++++++++
unixauthnative/src/main/c/credValidator.c | 16 ++++++++++++++++
unixauthservice/conf/log4j.xml | 16 ++++++++++++++++
unixauthservice/conf/unixauthservice.properties | 15 +++++++++++++++
unixauthservice/pom.xml | 16 ++++++++++++++++
unixauthservice/scripts/install.properties | 15 +++++++++++++++
unixauthservice/scripts/install.sh | 16 ++++++++++++++++
unixauthservice/scripts/start.sh | 16 ++++++++++++++++
unixauthservice/scripts/stop.sh | 16 ++++++++++++++++
217 files changed, 3423 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-audit/pom.xml
----------------------------------------------------------------------
diff --git a/agents-audit/pom.xml b/agents-audit/pom.xml
index 6833697..bc29a36 100644
--- a/agents-audit/pom.xml
+++ b/agents-audit/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.agents-audit</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-audit/src/main/java/com/xasecure/audit/provider/DebugTracer.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/DebugTracer.java b/agents-audit/src/main/java/com/xasecure/audit/provider/DebugTracer.java
index 81994b7..74d173d 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/DebugTracer.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/DebugTracer.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.xasecure.audit.provider;
public interface DebugTracer {
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jTracer.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jTracer.java b/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jTracer.java
index 8c2cf91..0134375 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jTracer.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jTracer.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.xasecure.audit.provider;
import org.apache.commons.logging.Log;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-audit/src/main/java/com/xasecure/audit/provider/MiscUtil.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/MiscUtil.java b/agents-audit/src/main/java/com/xasecure/audit/provider/MiscUtil.java
index 40cbbc5..50f154f 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/MiscUtil.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/MiscUtil.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.xasecure.audit.provider;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsAuditProvider.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsAuditProvider.java b/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsAuditProvider.java
index 1d3e2c7..cc076f5 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsAuditProvider.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/hdfs/HdfsAuditProvider.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.xasecure.audit.provider.hdfs;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-audit/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/resources/META-INF/persistence.xml b/agents-audit/src/main/resources/META-INF/persistence.xml
index b447580..0b87ab9 100644
--- a/agents-audit/src/main/resources/META-INF/persistence.xml
+++ b/agents-audit/src/main/resources/META-INF/persistence.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="xa_server">
<class>com.xasecure.audit.entity.XXBaseAuditEvent</class>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-common/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/agents-common/conf/log4j.properties b/agents-common/conf/log4j.properties
index c1ea266..ca599f2 100644
--- a/agents-common/conf/log4j.properties
+++ b/agents-common/conf/log4j.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
log4j.logger.xaaudit.com.xasecure.audit.provider.Log4jAuditProvider=INFO, hdfsAppender
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-common/pom.xml
----------------------------------------------------------------------
diff --git a/agents-common/pom.xml b/agents-common/pom.xml
index 70e3f87..7c73be4 100644
--- a/agents-common/pom.xml
+++ b/agents-common/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.agents-common</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh b/agents-common/scripts/enable-agent.sh
index 09e8b12..2617582 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
#
# Base env variable for ARGUS related files/directories
#
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-common/src/main/java/com/xasecure/authorization/hadoop/log/HdfsFileAppender.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/com/xasecure/authorization/hadoop/log/HdfsFileAppender.java b/agents-common/src/main/java/com/xasecure/authorization/hadoop/log/HdfsFileAppender.java
index 1beb016..ab4d8a2 100644
--- a/agents-common/src/main/java/com/xasecure/authorization/hadoop/log/HdfsFileAppender.java
+++ b/agents-common/src/main/java/com/xasecure/authorization/hadoop/log/HdfsFileAppender.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.xasecure.authorization.hadoop.log;
import java.io.BufferedWriter;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-cred/pom.xml
----------------------------------------------------------------------
diff --git a/agents-cred/pom.xml b/agents-cred/pom.xml
index 8e85370..df22270 100644
--- a/agents-cred/pom.xml
+++ b/agents-cred/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.agents-cred</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-impl/pom.xml
----------------------------------------------------------------------
diff --git a/agents-impl/pom.xml b/agents-impl/pom.xml
index e563045..6f9fda6 100644
--- a/agents-impl/pom.xml
+++ b/agents-impl/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.agents-impl</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/agents-installer/pom.xml
----------------------------------------------------------------------
diff --git a/agents-installer/pom.xml b/agents-installer/pom.xml
index 2369581..7efa39b 100644
--- a/agents-installer/pom.xml
+++ b/agents-installer/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.agents-installer</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/credentialbuilder/pom.xml
----------------------------------------------------------------------
diff --git a/credentialbuilder/pom.xml b/credentialbuilder/pom.xml
index 2c983c1..ec35be8 100644
--- a/credentialbuilder/pom.xml
+++ b/credentialbuilder/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>credentialbuilder</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/embededwebserver/conf/xapolicymgr.properties
----------------------------------------------------------------------
diff --git a/embededwebserver/conf/xapolicymgr.properties b/embededwebserver/conf/xapolicymgr.properties
index 8406d04..b43ec8d 100644
--- a/embededwebserver/conf/xapolicymgr.properties
+++ b/embededwebserver/conf/xapolicymgr.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#
# Service Information
#
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/embededwebserver/pom.xml
----------------------------------------------------------------------
diff --git a/embededwebserver/pom.xml b/embededwebserver/pom.xml
index 29c77c4..fb403f5 100644
--- a/embededwebserver/pom.xml
+++ b/embededwebserver/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>embededwebserver</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/embededwebserver/scripts/startpolicymgr.sh
----------------------------------------------------------------------
diff --git a/embededwebserver/scripts/startpolicymgr.sh b/embededwebserver/scripts/startpolicymgr.sh
index dbef998..42eadc1 100755
--- a/embededwebserver/scripts/startpolicymgr.sh
+++ b/embededwebserver/scripts/startpolicymgr.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
export JAVA_HOME=
export PATH=$JAVA_HOME/bin:$PATH
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/embededwebserver/scripts/stoppolicymgr.sh
----------------------------------------------------------------------
diff --git a/embededwebserver/scripts/stoppolicymgr.sh b/embededwebserver/scripts/stoppolicymgr.sh
index 0e12c3f..cb31902 100755
--- a/embededwebserver/scripts/stoppolicymgr.sh
+++ b/embededwebserver/scripts/stoppolicymgr.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
XAPOLICYMGR_DIR=/usr/lib/xapolicymgr
XAPOLICYMGR_EWS_DIR=${XAPOLICYMGR_DIR}/ews
cd ${XAPOLICYMGR_EWS_DIR}
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/conf/xasecure-audit.xml
----------------------------------------------------------------------
diff --git a/hbase-agent/conf/xasecure-audit.xml b/hbase-agent/conf/xasecure-audit.xml
index 35a569e..ea9dfa5 100644
--- a/hbase-agent/conf/xasecure-audit.xml
+++ b/hbase-agent/conf/xasecure-audit.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/conf/xasecure-hbase-security.xml
----------------------------------------------------------------------
diff --git a/hbase-agent/conf/xasecure-hbase-security.xml b/hbase-agent/conf/xasecure-hbase-security.xml
index 451e727..486e06d 100644
--- a/hbase-agent/conf/xasecure-hbase-security.xml
+++ b/hbase-agent/conf/xasecure-hbase-security.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/conf/xasecure-policymgr-ssl.xml
----------------------------------------------------------------------
diff --git a/hbase-agent/conf/xasecure-policymgr-ssl.xml b/hbase-agent/conf/xasecure-policymgr-ssl.xml
index 00133f9..964aac7 100644
--- a/hbase-agent/conf/xasecure-policymgr-ssl.xml
+++ b/hbase-agent/conf/xasecure-policymgr-ssl.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- The following properties are used for 2-way SSL client server validation -->
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-agent/pom.xml b/hbase-agent/pom.xml
index b7f474e..eda66fe 100644
--- a/hbase-agent/pom.xml
+++ b/hbase-agent/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.hbase-agent</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/scripts/install.properties
----------------------------------------------------------------------
diff --git a/hbase-agent/scripts/install.properties b/hbase-agent/scripts/install.properties
index ede3422..ef7926c 100644
--- a/hbase-agent/scripts/install.properties
+++ b/hbase-agent/scripts/install.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#
# Location of Policy Manager URL
#
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/scripts/install.sh
----------------------------------------------------------------------
diff --git a/hbase-agent/scripts/install.sh b/hbase-agent/scripts/install.sh
index 03da7ac..66c5d39 100644
--- a/hbase-agent/scripts/install.sh
+++ b/hbase-agent/scripts/install.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
function create_jceks()
{
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hbase-agent/scripts/uninstall.sh
----------------------------------------------------------------------
diff --git a/hbase-agent/scripts/uninstall.sh b/hbase-agent/scripts/uninstall.sh
index e441b9d..e0d3584 100644
--- a/hbase-agent/scripts/uninstall.sh
+++ b/hbase-agent/scripts/uninstall.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
COMPONENT_NAME=hbase
CFG_DIR=/etc/${COMPONENT_NAME}/conf
XASECURE_ROOT=/etc/xasecure/${COMPONENT_NAME}
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/conf/xasecure-audit.xml
----------------------------------------------------------------------
diff --git a/hdfs-agent/conf/xasecure-audit.xml b/hdfs-agent/conf/xasecure-audit.xml
index fe0aad4..d940e2d 100644
--- a/hdfs-agent/conf/xasecure-audit.xml
+++ b/hdfs-agent/conf/xasecure-audit.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
<property>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/conf/xasecure-hadoop-env.sh
----------------------------------------------------------------------
diff --git a/hdfs-agent/conf/xasecure-hadoop-env.sh b/hdfs-agent/conf/xasecure-hadoop-env.sh
index 50fada8..1c42847 100644
--- a/hdfs-agent/conf/xasecure-hadoop-env.sh
+++ b/hdfs-agent/conf/xasecure-hadoop-env.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
if [ -f ${HADOOP_HOME}/conf/argus-security.xml ]
then
echo "$0" | grep -q beeswax_server.sh > /dev/null 2>&1
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/conf/xasecure-hdfs-security.xml
----------------------------------------------------------------------
diff --git a/hdfs-agent/conf/xasecure-hdfs-security.xml b/hdfs-agent/conf/xasecure-hdfs-security.xml
index d968453..81f8f6a 100644
--- a/hdfs-agent/conf/xasecure-hdfs-security.xml
+++ b/hdfs-agent/conf/xasecure-hdfs-security.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/conf/xasecure-policymgr-ssl.xml
----------------------------------------------------------------------
diff --git a/hdfs-agent/conf/xasecure-policymgr-ssl.xml b/hdfs-agent/conf/xasecure-policymgr-ssl.xml
index df1cf59..cd4a580 100644
--- a/hdfs-agent/conf/xasecure-policymgr-ssl.xml
+++ b/hdfs-agent/conf/xasecure-policymgr-ssl.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- The following properties are used for 2-way SSL client server validation -->
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/pom.xml
----------------------------------------------------------------------
diff --git a/hdfs-agent/pom.xml b/hdfs-agent/pom.xml
index d05e6fd..7520b33 100644
--- a/hdfs-agent/pom.xml
+++ b/hdfs-agent/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.hdfs-agent</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/scripts/install.properties
----------------------------------------------------------------------
diff --git a/hdfs-agent/scripts/install.properties b/hdfs-agent/scripts/install.properties
index 93afcd3..9b7949f 100644
--- a/hdfs-agent/scripts/install.properties
+++ b/hdfs-agent/scripts/install.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#
# Location of Policy Manager URL
#
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/scripts/install.sh
----------------------------------------------------------------------
diff --git a/hdfs-agent/scripts/install.sh b/hdfs-agent/scripts/install.sh
index 230ecb5..cc233da 100644
--- a/hdfs-agent/scripts/install.sh
+++ b/hdfs-agent/scripts/install.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
function create_jceks()
{
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hdfs-agent/scripts/uninstall.sh
----------------------------------------------------------------------
diff --git a/hdfs-agent/scripts/uninstall.sh b/hdfs-agent/scripts/uninstall.sh
index c335e27..f758f2d 100644
--- a/hdfs-agent/scripts/uninstall.sh
+++ b/hdfs-agent/scripts/uninstall.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
COMPONENT_NAME=hadoop
CFG_DIR=/etc/${COMPONENT_NAME}/conf
XASECURE_ROOT=/etc/xasecure/${COMPONENT_NAME}
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/conf/xasecure-audit.xml
----------------------------------------------------------------------
diff --git a/hive-agent/conf/xasecure-audit.xml b/hive-agent/conf/xasecure-audit.xml
index c43aafc..0b0d87e 100644
--- a/hive-agent/conf/xasecure-audit.xml
+++ b/hive-agent/conf/xasecure-audit.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/conf/xasecure-hive-security.xml
----------------------------------------------------------------------
diff --git a/hive-agent/conf/xasecure-hive-security.xml b/hive-agent/conf/xasecure-hive-security.xml
index f78dbc0..b8cca10 100644
--- a/hive-agent/conf/xasecure-hive-security.xml
+++ b/hive-agent/conf/xasecure-hive-security.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/conf/xasecure-policymgr-ssl.xml
----------------------------------------------------------------------
diff --git a/hive-agent/conf/xasecure-policymgr-ssl.xml b/hive-agent/conf/xasecure-policymgr-ssl.xml
index 00133f9..964aac7 100644
--- a/hive-agent/conf/xasecure-policymgr-ssl.xml
+++ b/hive-agent/conf/xasecure-policymgr-ssl.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- The following properties are used for 2-way SSL client server validation -->
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/pom.xml
----------------------------------------------------------------------
diff --git a/hive-agent/pom.xml b/hive-agent/pom.xml
index c06f20a..7cd9fa9 100644
--- a/hive-agent/pom.xml
+++ b/hive-agent/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.hive-agent</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/scripts/install.properties
----------------------------------------------------------------------
diff --git a/hive-agent/scripts/install.properties b/hive-agent/scripts/install.properties
index 985dcc5..0f21904 100644
--- a/hive-agent/scripts/install.properties
+++ b/hive-agent/scripts/install.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#
# Location of Policy Manager URL
#
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/scripts/install.sh
----------------------------------------------------------------------
diff --git a/hive-agent/scripts/install.sh b/hive-agent/scripts/install.sh
index 5bd876e..59b9cb9 100644
--- a/hive-agent/scripts/install.sh
+++ b/hive-agent/scripts/install.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
function create_jceks()
{
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/hive-agent/scripts/uninstall.sh
----------------------------------------------------------------------
diff --git a/hive-agent/scripts/uninstall.sh b/hive-agent/scripts/uninstall.sh
index e27c510..c1f94e7 100644
--- a/hive-agent/scripts/uninstall.sh
+++ b/hive-agent/scripts/uninstall.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
COMPONENT_NAME=hive
CFG_DIR=/etc/${COMPONENT_NAME}/conf
XASECURE_ROOT=/etc/xasecure/${COMPONENT_NAME}
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/conf/xasecure-audit.xml
----------------------------------------------------------------------
diff --git a/knox-agent/conf/xasecure-audit.xml b/knox-agent/conf/xasecure-audit.xml
index ab75664..21ba2c3 100644
--- a/knox-agent/conf/xasecure-audit.xml
+++ b/knox-agent/conf/xasecure-audit.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/conf/xasecure-knox-security.xml
----------------------------------------------------------------------
diff --git a/knox-agent/conf/xasecure-knox-security.xml b/knox-agent/conf/xasecure-knox-security.xml
index 7d3536d..0307b42 100644
--- a/knox-agent/conf/xasecure-knox-security.xml
+++ b/knox-agent/conf/xasecure-knox-security.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/conf/xasecure-policymgr-ssl.xml
----------------------------------------------------------------------
diff --git a/knox-agent/conf/xasecure-policymgr-ssl.xml b/knox-agent/conf/xasecure-policymgr-ssl.xml
index d527f7a..0b41ed3 100644
--- a/knox-agent/conf/xasecure-policymgr-ssl.xml
+++ b/knox-agent/conf/xasecure-policymgr-ssl.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- The following properties are used for 2-way SSL client server validation -->
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/pom.xml
----------------------------------------------------------------------
diff --git a/knox-agent/pom.xml b/knox-agent/pom.xml
index 5399c27..50ec3e1 100644
--- a/knox-agent/pom.xml
+++ b/knox-agent/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>security_agents.knox-agent</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/scripts/install.properties
----------------------------------------------------------------------
diff --git a/knox-agent/scripts/install.properties b/knox-agent/scripts/install.properties
index 65023fb..a3a3ac6 100644
--- a/knox-agent/scripts/install.properties
+++ b/knox-agent/scripts/install.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
#
# Location of Policy Manager URL
#
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/scripts/install.sh
----------------------------------------------------------------------
diff --git a/knox-agent/scripts/install.sh b/knox-agent/scripts/install.sh
index 1b367d8..6150fba 100644
--- a/knox-agent/scripts/install.sh
+++ b/knox-agent/scripts/install.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
function create_jceks()
{
alias=$1
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/knox-agent/scripts/uninstall.sh
----------------------------------------------------------------------
diff --git a/knox-agent/scripts/uninstall.sh b/knox-agent/scripts/uninstall.sh
index 9a5c6bc..109d6a7 100644
--- a/knox-agent/scripts/uninstall.sh
+++ b/knox-agent/scripts/uninstall.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
COMPONENT_NAME=knox
CFG_DIR=/etc/${COMPONENT_NAME}/conf
XASECURE_ROOT=/etc/xasecure/${COMPONENT_NAME}
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/lookup-client/pom.xml
----------------------------------------------------------------------
diff --git a/lookup-client/pom.xml b/lookup-client/pom.xml
index e2512cb..54eb621 100644
--- a/lookup-client/pom.xml
+++ b/lookup-client/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>lookup-client</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/lookup-client/src/scripts/log4j.xml
----------------------------------------------------------------------
diff --git a/lookup-client/src/scripts/log4j.xml b/lookup-client/src/scripts/log4j.xml
index f31717d..9ee3643 100644
--- a/lookup-client/src/scripts/log4j.xml
+++ b/lookup-client/src/scripts/log4j.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/lookup-client/src/scripts/run-audit-test.sh
----------------------------------------------------------------------
diff --git a/lookup-client/src/scripts/run-audit-test.sh b/lookup-client/src/scripts/run-audit-test.sh
index 693aa5c..698459f 100755
--- a/lookup-client/src/scripts/run-audit-test.sh
+++ b/lookup-client/src/scripts/run-audit-test.sh
@@ -1,5 +1,21 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
HADOOP_DIR=/usr/hdp/current/hadoop
HADOOP_CONF_DIR=/etc/hadoop/conf
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/lookup-client/src/scripts/run-hadoop-client.sh
----------------------------------------------------------------------
diff --git a/lookup-client/src/scripts/run-hadoop-client.sh b/lookup-client/src/scripts/run-hadoop-client.sh
index 8ecc36b..afb4904 100644
--- a/lookup-client/src/scripts/run-hadoop-client.sh
+++ b/lookup-client/src/scripts/run-hadoop-client.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
case $# in
4 )
java -cp "./dist/*:./lib/hadoop/*:./conf:." com.xasecure.hadoop.client.HadoopFSTester "${1}" "${2}" "${3}" "${4}" ;;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/99c462d2/lookup-client/src/scripts/run-hbase-client.sh
----------------------------------------------------------------------
diff --git a/lookup-client/src/scripts/run-hbase-client.sh b/lookup-client/src/scripts/run-hbase-client.sh
index 97a339e..3790235 100644
--- a/lookup-client/src/scripts/run-hbase-client.sh
+++ b/lookup-client/src/scripts/run-hbase-client.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
cp="./dist/*:./conf/:.:./lib/hadoop/*:./lib/hive/*:./lib/hbase/*"
case $# in