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/09/13 02:04:10 UTC
[4/4] git commit: ARGUS-49: add apache copyright to java,
js files missing copyright
ARGUS-49: add apache copyright to java, js files missing copyright
Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/3df530d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/3df530d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/3df530d6
Branch: refs/heads/master
Commit: 3df530d67ccf6e2dd25e8e32834ff3c46f4e96e9
Parents: 30ddcba
Author: Dilli Dorai Arumugam <da...@hortonworks.com>
Authored: Fri Sep 12 16:32:08 2014 -0700
Committer: Dilli Dorai Arumugam <da...@hortonworks.com>
Committed: Fri Sep 12 16:32:08 2014 -0700
----------------------------------------------------------------------
.../java/com/xasecure/audit/dao/DaoManager.java | 21 +++++++++++++++++++-
.../audit/dao/XAHBaseAuditEventDao.java | 21 +++++++++++++++++++-
.../xasecure/audit/dao/XAHdfsAuditEventDao.java | 21 +++++++++++++++++++-
.../xasecure/audit/dao/XAHiveAuditEventDao.java | 21 +++++++++++++++++++-
.../xasecure/audit/entity/XXBaseAuditEvent.java | 21 +++++++++++++++++++-
.../audit/entity/XXBaseAuditEvent_.java | 21 +++++++++++++++++++-
.../audit/entity/XXHBaseAuditEvent.java | 21 +++++++++++++++++++-
.../audit/entity/XXHBaseAuditEvent_.java | 21 +++++++++++++++++++-
.../xasecure/audit/entity/XXHdfsAuditEvent.java | 21 +++++++++++++++++++-
.../audit/entity/XXHdfsAuditEvent_.java | 21 +++++++++++++++++++-
.../xasecure/audit/entity/XXHiveAuditEvent.java | 21 +++++++++++++++++++-
.../audit/entity/XXHiveAuditEvent_.java | 21 +++++++++++++++++++-
.../xasecure/audit/model/AuditEventBase.java | 21 +++++++++++++++++++-
.../audit/model/EnumRepositoryType.java | 21 +++++++++++++++++++-
.../xasecure/audit/model/HBaseAuditEvent.java | 21 +++++++++++++++++++-
.../xasecure/audit/model/HdfsAuditEvent.java | 21 +++++++++++++++++++-
.../xasecure/audit/model/HiveAuditEvent.java | 21 +++++++++++++++++++-
.../audit/provider/AsyncAuditProvider.java | 21 +++++++++++++++++++-
.../com/xasecure/audit/test/TestEvents.java | 21 +++++++++++++++++++-
.../xasecure/admin/client/XaAdminClient.java | 21 +++++++++++++++++++-
.../admin/client/XaAdminRESTClient.java | 21 +++++++++++++++++++-
.../admin/client/datatype/GrantRevokeData.java | 21 +++++++++++++++++++-
.../authorization/utils/StringUtil.java | 21 +++++++++++++++++++-
.../utils/XaSecureCredentialProvider.java | 21 +++++++++++++++++++-
.../pdp/config/PolicyChangeListener.java | 21 +++++++++++++++++++-
.../pdp/config/gson/ExcludeSerialization.java | 21 +++++++++++++++++++-
.../config/gson/PolicyExclusionStrategy.java | 21 +++++++++++++++++++-
.../pdp/constants/XaSecureConstants.java | 21 +++++++++++++++++++-
.../xasecure/pdp/hdfs/AdminPolicyChecker.java | 21 +++++++++++++++++++-
.../xasecure/pdp/hdfs/XASecureAuthorizer.java | 21 +++++++++++++++++++-
.../xasecure/pdp/hive/XASecureAuthorizer.java | 21 +++++++++++++++++++-
.../java/com/xasecure/pdp/model/Policy.java | 21 +++++++++++++++++++-
.../com/xasecure/pdp/model/PolicyContainer.java | 21 +++++++++++++++++++-
.../com/xasecure/pdp/model/ResourcePath.java | 21 +++++++++++++++++++-
.../com/xasecure/pdp/model/RolePermission.java | 21 +++++++++++++++++++-
.../com/xasecure/pdp/storm/StormAuthRule.java | 21 +++++++++++++++++++-
.../com/xasecure/pdp/storm/URLBasedAuthDB.java | 21 +++++++++++++++++++-
.../xasecure/pdp/storm/XASecureAuthorizer.java | 21 +++++++++++++++++++-
.../utils/install/XmlConfigChanger.java | 21 +++++++++++++++++++-
.../credentialapi/CredentialReader.java | 21 +++++++++++++++++++-
.../com/hortonworks/credentialapi/buildks.java | 21 +++++++++++++++++++-
.../xasecure/server/tomcat/EmbededServer.java | 21 +++++++++++++++++++-
.../server/tomcat/StopEmbededServer.java | 21 +++++++++++++++++++-
.../authorization/hive/XaHiveAccessContext.java | 21 +++++++++++++++++++-
.../hive/XaHiveAccessVerifier.java | 21 +++++++++++++++++++-
.../hive/XaHiveAccessVerifierFactory.java | 21 +++++++++++++++++++-
.../hive/XaHiveObjectAccessInfo.java | 21 +++++++++++++++++++-
.../hive/authorizer/XaSecureHiveAuthorizer.java | 21 +++++++++++++++++++-
.../authorizer/XaSecureHiveAuthorizerBase.java | 21 +++++++++++++++++++-
.../XaSecureHiveAuthorizerFactory.java | 21 +++++++++++++++++++-
.../hive/constants/XaSecureHiveConstants.java | 21 +++++++++++++++++++-
.../com/xasecure/hadoop/client/HadoopFS.java | 21 +++++++++++++++++++-
.../xasecure/hadoop/client/HadoopFSTester.java | 21 +++++++++++++++++++-
.../hadoop/client/config/BaseClient.java | 21 +++++++++++++++++++-
.../hadoop/client/config/HadoopClassLoader.java | 21 +++++++++++++++++++-
.../client/config/HadoopConfigHolder.java | 21 +++++++++++++++++++-
.../client/exceptions/HadoopException.java | 21 +++++++++++++++++++-
.../com/xasecure/hbase/client/HBaseClient.java | 21 +++++++++++++++++++-
.../hbase/client/HBaseClientTester.java | 21 +++++++++++++++++++-
.../com/xasecure/hive/client/HiveClient.java | 21 +++++++++++++++++++-
.../xasecure/hive/client/HiveClientTester.java | 21 +++++++++++++++++++-
.../security/KrbPasswordSaverLoginModule.java | 21 +++++++++++++++++++-
.../unix/jaas/RoleUserAuthorityGranter.java | 21 +++++++++++++++++++-
.../com/xasecure/biz/AssetConnectionMgr.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/AssetMgr.java | 21 +++++++++++++++++++-
.../src/main/java/com/xasecure/biz/BaseMgr.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/HadoopFSMgr.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/HiveFSMgr.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/SessionMgr.java | 21 +++++++++++++++++++-
.../src/main/java/com/xasecure/biz/UserMgr.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/XABizUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/XAuditMgr.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/biz/XUserMgr.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/ContextUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/common/DateUtil.java | 21 +++++++++++++++++++-
.../com/xasecure/common/ErrorMessageUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/common/GUIDUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/common/HTTPUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/common/JSONUtil.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/MessageEnums.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/MyCallBack.java | 21 +++++++++++++++++++-
.../com/xasecure/common/PropertiesUtil.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/RESTErrorUtil.java | 21 +++++++++++++++++++-
.../com/xasecure/common/RequestContext.java | 21 +++++++++++++++++++-
.../com/xasecure/common/SearchCriteria.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/SearchField.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/SearchGroup.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/SearchUtil.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/SearchValue.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/SortField.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/StringUtil.java | 21 +++++++++++++++++++-
.../com/xasecure/common/TimedEventUtil.java | 21 +++++++++++++++++++-
.../com/xasecure/common/UserSessionBase.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/XAConfigUtil.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/XAConstants.java | 21 +++++++++++++++++++-
.../xasecure/common/XAJAXBContextResolver.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/XASearchUtil.java | 21 +++++++++++++++++++-
.../annotation/XAAnnotationClassName.java | 21 +++++++++++++++++++-
.../annotation/XAAnnotationJSMgrName.java | 21 +++++++++++++++++++-
.../common/annotation/XAAnnotationRestAPI.java | 21 +++++++++++++++++++-
.../xasecure/common/db/JPABeanCallbacks.java | 21 +++++++++++++++++++-
.../java/com/xasecure/common/view/VEnum.java | 21 +++++++++++++++++++-
.../com/xasecure/common/view/VEnumElement.java | 21 +++++++++++++++++++-
.../com/xasecure/common/view/VTrxLogAttr.java | 21 +++++++++++++++++++-
.../com/xasecure/common/view/ViewBaseBean.java | 21 +++++++++++++++++++-
.../credentialapi/CredentialReader.java | 21 +++++++++++++++++++-
.../src/main/java/com/xasecure/json/Folder.java | 21 +++++++++++++++++++-
.../com/xasecure/json/JsonDateSerializer.java | 21 +++++++++++++++++++-
.../java/com/xasecure/patch/BaseLoader.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/rest/AssetREST.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/rest/PublicAPIs.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/rest/UserREST.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/rest/XAuditREST.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/rest/XUserREST.java | 21 +++++++++++++++++++-
.../security/context/XAContextHolder.java | 21 +++++++++++++++++++-
.../security/context/XASecurityContext.java | 21 +++++++++++++++++++-
.../xasecure/security/handler/Permission.java | 21 +++++++++++++++++++-
.../handler/XADomainObjectSecurityHandler.java | 21 +++++++++++++++++++-
.../security/listener/SpringEventListener.java | 21 +++++++++++++++++++-
.../standalone/StandaloneSecurityHandler.java | 21 +++++++++++++++++++-
.../CustomLogoutSuccessHandler.java | 21 +++++++++++++++++++-
.../authentication/XAAuthFailureHandler.java | 21 +++++++++++++++++++-
.../authentication/XAAuthSuccessHandler.java | 21 +++++++++++++++++++-
.../XAAuthenticationEntryPoint.java | 21 +++++++++++++++++++-
.../security/web/filter/MyRememberMeFilter.java | 21 +++++++++++++++++++-
.../XASecurityContextFormationFilter.java | 21 +++++++++++++++++++-
.../XAUsernamePasswordAuthenticationFilter.java | 21 +++++++++++++++++++-
.../service/AbstractBaseResourceService.java | 21 +++++++++++++++++++-
.../xasecure/service/AuthSessionService.java | 21 +++++++++++++++++++-
.../xasecure/service/PublicAPIServiceBase.java | 21 +++++++++++++++++++-
.../java/com/xasecure/service/UserService.java | 21 +++++++++++++++++++-
.../xasecure/service/XAccessAuditService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XAgentService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XAssetService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XAuditMapService.java | 21 +++++++++++++++++++-
.../service/XCredentialStoreService.java | 21 +++++++++++++++++++-
.../xasecure/service/XGroupGroupService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XGroupService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XGroupUserService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XPermMapService.java | 21 +++++++++++++++++++-
.../service/XPolicyExportAuditService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XPolicyService.java | 21 +++++++++++++++++++-
.../xasecure/service/XPortalUserService.java | 21 +++++++++++++++++++-
.../xasecure/service/XRepositoryService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XResourceService.java | 21 +++++++++++++++++++-
.../com/xasecure/service/XTrxLogService.java | 21 +++++++++++++++++++-
.../java/com/xasecure/service/XUserService.java | 21 +++++++++++++++++++-
.../service/filter/XARESTAPIFilter.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/util/CLIUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/util/RestUtil.java | 21 +++++++++++++++++++-
.../main/java/com/xasecure/util/XARestUtil.java | 21 +++++++++++++++++++-
.../java/com/xasecure/view/VXAuditRecord.java | 21 +++++++++++++++++++-
.../com/xasecure/view/VXAuditRecordList.java | 21 +++++++++++++++++++-
security-admin/src/main/webapp/scripts/Init.js | 21 +++++++++++++++++++-
security-admin/src/main/webapp/scripts/Main.js | 21 +++++++++++++++++++-
.../src/main/webapp/scripts/RegionManager.js | 21 +++++++++++++++++++-
.../src/main/webapp/scripts/communicator.js | 21 +++++++++++++++++++-
.../src/main/webapp/scripts/modules/Vent.js | 19 ++++++++++++++++++
.../src/main/webapp/scripts/modules/XALinks.js | 21 +++++++++++++++++++-
.../main/webapp/scripts/modules/XAOverrides.js | 21 +++++++++++++++++++-
.../scripts/modules/globalize/message/en.js | 21 +++++++++++++++++++-
.../main/webapp/scripts/prelogin/XAPrelogin.js | 19 ++++++++++++++++++
.../src/main/webapp/scripts/routers/Router.js | 21 +++++++++++++++++++-
.../main/webapp/scripts/utils/XALangSupport.js | 21 +++++++++++++++++++-
.../webapp/scripts/views/common/BreadCrumbs.js | 21 +++++++++++++++++++-
.../scripts/views/common/FormInputItemList.js | 19 ++++++++++++++++++
.../scripts/views/common/UserPermissionList.js | 19 ++++++++++++++++++
.../main/webapp/templates/helpers/XAHelpers.js | 21 +++++++++++++++++++-
.../java/com/xasecure/rest/TestPublicAPIs.java | 21 +++++++++++++++++++-
.../test/java/com/xasecure/util/BaseTest.java | 21 +++++++++++++++++++-
.../storm/XaStormAccessVerifier.java | 21 +++++++++++++++++++-
.../storm/XaStormAccessVerifierFactory.java | 21 +++++++++++++++++++-
.../authorizer/XaSecureStormAuthorizer.java | 21 +++++++++++++++++++-
.../process/LdapUserGroupBuilder.java | 21 +++++++++++++++++++-
.../process/PolicyMgrUserGroupBuilder.java | 21 +++++++++++++++++++-
.../config/UserGroupSyncConfig.java | 21 +++++++++++++++++++-
.../model/GetXGroupListResponse.java | 21 +++++++++++++++++++-
.../model/GetXUserGroupListResponse.java | 21 +++++++++++++++++++-
.../model/GetXUserListResponse.java | 21 +++++++++++++++++++-
.../xasecure/unixusersync/model/MUserInfo.java | 21 +++++++++++++++++++-
.../xasecure/unixusersync/model/XGroupInfo.java | 21 +++++++++++++++++++-
.../unixusersync/model/XUserGroupInfo.java | 21 +++++++++++++++++++-
.../xasecure/unixusersync/model/XUserInfo.java | 21 +++++++++++++++++++-
.../unixusersync/poc/InvalidGroupException.java | 21 +++++++++++++++++++-
.../unixusersync/poc/InvalidUserException.java | 21 +++++++++++++++++++-
.../unixusersync/poc/ListUserGroupTest.java | 21 +++++++++++++++++++-
.../xasecure/unixusersync/poc/ListUserTest.java | 21 +++++++++++++++++++-
.../unixusersync/poc/ListXaSecureUser.java | 21 +++++++++++++++++++-
.../unixusersync/poc/ListXaSecureUserGroup.java | 21 +++++++++++++++++++-
.../unixusersync/poc/RestClientPost.java | 21 +++++++++++++++++++-
.../poc/XaSecureClientUserGroupMapping.java | 21 +++++++++++++++++++-
.../unixusersync/poc/XaSecureJSONParser.java | 21 +++++++++++++++++++-
.../poc/XaSecureUpdateUserGroupMapping.java | 21 +++++++++++++++++++-
.../poc/XaSecureUserGroupMapping.java | 21 +++++++++++++++++++-
.../process/PolicyMgrUserGroupBuilder.java | 21 +++++++++++++++++++-
.../process/UnixUserGroupBuilder.java | 21 +++++++++++++++++++-
.../xasecure/usergroupsync/UserGroupSink.java | 21 +++++++++++++++++++-
.../xasecure/usergroupsync/UserGroupSource.java | 21 +++++++++++++++++++-
.../xasecure/usergroupsync/UserGroupSync.java | 21 +++++++++++++++++++-
.../unix/jaas/ConsolePromptCallbackHandler.java | 21 +++++++++++++++++++-
.../unix/jaas/RemoteUnixLoginModule.java | 21 +++++++++++++++++++-
.../unix/jaas/UnixGroupPrincipal.java | 21 +++++++++++++++++++-
.../unix/jaas/UnixUserPrincipal.java | 21 +++++++++++++++++++-
.../UnixAuthenticationTester.java | 21 +++++++++++++++++++-
.../authentication/PasswordValidator.java | 21 +++++++++++++++++++-
.../UnixAuthenticationService.java | 21 +++++++++++++++++++-
206 files changed, 4116 insertions(+), 202 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/dao/DaoManager.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/dao/DaoManager.java b/agents-audit/src/main/java/com/xasecure/audit/dao/DaoManager.java
index ed30b22..05dfb89 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/dao/DaoManager.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/dao/DaoManager.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.dao;
+/*
+ * 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.dao;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/dao/XAHBaseAuditEventDao.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/dao/XAHBaseAuditEventDao.java b/agents-audit/src/main/java/com/xasecure/audit/dao/XAHBaseAuditEventDao.java
index 1fafb6d..610a5d8 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/dao/XAHBaseAuditEventDao.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/dao/XAHBaseAuditEventDao.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.dao;
+/*
+ * 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.dao;
import com.xasecure.audit.entity.XXHBaseAuditEvent;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/dao/XAHdfsAuditEventDao.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/dao/XAHdfsAuditEventDao.java b/agents-audit/src/main/java/com/xasecure/audit/dao/XAHdfsAuditEventDao.java
index 409fbd7..450b483 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/dao/XAHdfsAuditEventDao.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/dao/XAHdfsAuditEventDao.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.dao;
+/*
+ * 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.dao;
import com.xasecure.audit.entity.XXHdfsAuditEvent;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/dao/XAHiveAuditEventDao.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/dao/XAHiveAuditEventDao.java b/agents-audit/src/main/java/com/xasecure/audit/dao/XAHiveAuditEventDao.java
index 91e0e46..fc511f6 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/dao/XAHiveAuditEventDao.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/dao/XAHiveAuditEventDao.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.dao;
+/*
+ * 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.dao;
import com.xasecure.audit.entity.XXHiveAuditEvent;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent.java
index 4045652..a0691bb 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import java.io.Serializable;
import java.util.Date;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent_.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent_.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent_.java
index 18ab66d..953e513 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent_.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXBaseAuditEvent_.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import com.xasecure.audit.model.EnumRepositoryType;
import java.util.Date;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent.java
index eb2282c..0a02e7e 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import java.io.Serializable;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent_.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent_.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent_.java
index fc73485..03e704f 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent_.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHBaseAuditEvent_.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent.java
index eab5b76..3afc395 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import java.io.Serializable;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent_.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent_.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent_.java
index d02667d..c7f2d71 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent_.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHdfsAuditEvent_.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent.java
index 09615e7..4d0b12d 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import java.io.Serializable;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent_.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent_.java b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent_.java
index fa973d1..328ac96 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent_.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/entity/XXHiveAuditEvent_.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.entity;
+/*
+ * 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.entity;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/model/AuditEventBase.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/model/AuditEventBase.java b/agents-audit/src/main/java/com/xasecure/audit/model/AuditEventBase.java
index 6873be5..df0f42f 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/model/AuditEventBase.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/model/AuditEventBase.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.model;
+/*
+ * 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.model;
import java.util.Date;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/model/EnumRepositoryType.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/model/EnumRepositoryType.java b/agents-audit/src/main/java/com/xasecure/audit/model/EnumRepositoryType.java
index f0e919a..0dddef3 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/model/EnumRepositoryType.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/model/EnumRepositoryType.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.model;
+/*
+ * 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.model;
public final class EnumRepositoryType {
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/model/HBaseAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/model/HBaseAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/model/HBaseAuditEvent.java
index a4ac43b..47cf2a0 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/model/HBaseAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/model/HBaseAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.model;
+/*
+ * 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.model;
import java.util.Date;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/model/HdfsAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/model/HdfsAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/model/HdfsAuditEvent.java
index deff445..80f906b 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/model/HdfsAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/model/HdfsAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.model;
+/*
+ * 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.model;
import java.util.Date;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/model/HiveAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/model/HiveAuditEvent.java b/agents-audit/src/main/java/com/xasecure/audit/model/HiveAuditEvent.java
index 07f6f94..261c804 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/model/HiveAuditEvent.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/model/HiveAuditEvent.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.model;
+/*
+ * 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.model;
import java.util.Date;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/provider/AsyncAuditProvider.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/AsyncAuditProvider.java b/agents-audit/src/main/java/com/xasecure/audit/provider/AsyncAuditProvider.java
index 6b30fe8..f793553 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/AsyncAuditProvider.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/AsyncAuditProvider.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.provider;
+/*
+ * 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.util.LinkedList;
import java.util.Queue;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-audit/src/main/java/com/xasecure/audit/test/TestEvents.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/test/TestEvents.java b/agents-audit/src/main/java/com/xasecure/audit/test/TestEvents.java
index 39b5804..aca18fd 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/test/TestEvents.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/test/TestEvents.java
@@ -1,4 +1,23 @@
-package com.xasecure.audit.test;
+/*
+ * 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.test;
import org.apache.commons.logging.Log;
import org.apache.log4j.xml.DOMConfigurator;
import org.apache.commons.logging.LogFactory;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-common/src/main/java/com/xasecure/admin/client/XaAdminClient.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/com/xasecure/admin/client/XaAdminClient.java b/agents-common/src/main/java/com/xasecure/admin/client/XaAdminClient.java
index eb2dfab..74d096a 100644
--- a/agents-common/src/main/java/com/xasecure/admin/client/XaAdminClient.java
+++ b/agents-common/src/main/java/com/xasecure/admin/client/XaAdminClient.java
@@ -1,4 +1,23 @@
-package com.xasecure.admin.client;
+/*
+ * 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.admin.client;
import com.xasecure.admin.client.datatype.GrantRevokeData;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-common/src/main/java/com/xasecure/admin/client/XaAdminRESTClient.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/com/xasecure/admin/client/XaAdminRESTClient.java b/agents-common/src/main/java/com/xasecure/admin/client/XaAdminRESTClient.java
index 9d92592..c64b02d 100644
--- a/agents-common/src/main/java/com/xasecure/admin/client/XaAdminRESTClient.java
+++ b/agents-common/src/main/java/com/xasecure/admin/client/XaAdminRESTClient.java
@@ -1,4 +1,23 @@
-package com.xasecure.admin.client;
+/*
+ * 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.admin.client;
import java.io.File;
import java.io.FileInputStream;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-common/src/main/java/com/xasecure/admin/client/datatype/GrantRevokeData.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/com/xasecure/admin/client/datatype/GrantRevokeData.java b/agents-common/src/main/java/com/xasecure/admin/client/datatype/GrantRevokeData.java
index 451e785..b5228db 100644
--- a/agents-common/src/main/java/com/xasecure/admin/client/datatype/GrantRevokeData.java
+++ b/agents-common/src/main/java/com/xasecure/admin/client/datatype/GrantRevokeData.java
@@ -1,4 +1,23 @@
-package com.xasecure.admin.client.datatype;
+/*
+ * 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.admin.client.datatype;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-common/src/main/java/com/xasecure/authorization/utils/StringUtil.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/com/xasecure/authorization/utils/StringUtil.java b/agents-common/src/main/java/com/xasecure/authorization/utils/StringUtil.java
index c199ddd..0c83e98 100644
--- a/agents-common/src/main/java/com/xasecure/authorization/utils/StringUtil.java
+++ b/agents-common/src/main/java/com/xasecure/authorization/utils/StringUtil.java
@@ -1,4 +1,23 @@
-package com.xasecure.authorization.utils;
+/*
+ * 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.utils;
import java.util.Calendar;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-cred/src/main/java/com/xasecure/authorization/hadoop/utils/XaSecureCredentialProvider.java
----------------------------------------------------------------------
diff --git a/agents-cred/src/main/java/com/xasecure/authorization/hadoop/utils/XaSecureCredentialProvider.java b/agents-cred/src/main/java/com/xasecure/authorization/hadoop/utils/XaSecureCredentialProvider.java
index 4e7855b..07a6357 100644
--- a/agents-cred/src/main/java/com/xasecure/authorization/hadoop/utils/XaSecureCredentialProvider.java
+++ b/agents-cred/src/main/java/com/xasecure/authorization/hadoop/utils/XaSecureCredentialProvider.java
@@ -1,4 +1,23 @@
-package com.xasecure.authorization.hadoop.utils;
+/*
+ * 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.utils;
import java.lang.String;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyChangeListener.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyChangeListener.java b/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyChangeListener.java
index 3d1df55..e6ce2aa 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyChangeListener.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyChangeListener.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.config;
+/*
+ * 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.pdp.config;
import com.xasecure.pdp.model.PolicyContainer;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/config/gson/ExcludeSerialization.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/config/gson/ExcludeSerialization.java b/agents-impl/src/main/java/com/xasecure/pdp/config/gson/ExcludeSerialization.java
index 0bb91fc..29c6646 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/config/gson/ExcludeSerialization.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/config/gson/ExcludeSerialization.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.config.gson;
+/*
+ * 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.pdp.config.gson;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/config/gson/PolicyExclusionStrategy.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/config/gson/PolicyExclusionStrategy.java b/agents-impl/src/main/java/com/xasecure/pdp/config/gson/PolicyExclusionStrategy.java
index 82eee9e..fa1ee70 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/config/gson/PolicyExclusionStrategy.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/config/gson/PolicyExclusionStrategy.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.config.gson;
+/*
+ * 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.pdp.config.gson;
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/constants/XaSecureConstants.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/constants/XaSecureConstants.java b/agents-impl/src/main/java/com/xasecure/pdp/constants/XaSecureConstants.java
index 4f6de0b..db2552c 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/constants/XaSecureConstants.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/constants/XaSecureConstants.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.constants;
+/*
+ * 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.pdp.constants;
public class XaSecureConstants {
public static final String PUBLIC_ACCESS_ROLE = "public" ;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/hdfs/AdminPolicyChecker.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/hdfs/AdminPolicyChecker.java b/agents-impl/src/main/java/com/xasecure/pdp/hdfs/AdminPolicyChecker.java
index 121f8b7..327c404 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/hdfs/AdminPolicyChecker.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/hdfs/AdminPolicyChecker.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.hdfs;
+/*
+ * 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.pdp.hdfs;
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/hdfs/XASecureAuthorizer.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/hdfs/XASecureAuthorizer.java b/agents-impl/src/main/java/com/xasecure/pdp/hdfs/XASecureAuthorizer.java
index f558ba1..c29dd7c 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/hdfs/XASecureAuthorizer.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/hdfs/XASecureAuthorizer.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.hdfs;
+/*
+ * 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.pdp.hdfs;
import java.util.Set;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/hive/XASecureAuthorizer.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/hive/XASecureAuthorizer.java b/agents-impl/src/main/java/com/xasecure/pdp/hive/XASecureAuthorizer.java
index 06a77de..2eca90f 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/hive/XASecureAuthorizer.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/hive/XASecureAuthorizer.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.hive;
+/*
+ * 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.pdp.hive;
import org.apache.hadoop.hive.ql.metadata.AuthorizationException;
import org.apache.hadoop.security.UserGroupInformation;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/model/Policy.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/model/Policy.java b/agents-impl/src/main/java/com/xasecure/pdp/model/Policy.java
index 2b95f02..a2bace7 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/model/Policy.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/model/Policy.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.model;
+/*
+ * 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.pdp.model;
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/model/PolicyContainer.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/model/PolicyContainer.java b/agents-impl/src/main/java/com/xasecure/pdp/model/PolicyContainer.java
index 05e9cfb..1675d34 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/model/PolicyContainer.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/model/PolicyContainer.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.model;
+/*
+ * 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.pdp.model;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/model/ResourcePath.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/model/ResourcePath.java b/agents-impl/src/main/java/com/xasecure/pdp/model/ResourcePath.java
index 6468620..ff6a754 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/model/ResourcePath.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/model/ResourcePath.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.model;
+/*
+ * 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.pdp.model;
public class ResourcePath {
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/model/RolePermission.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/model/RolePermission.java b/agents-impl/src/main/java/com/xasecure/pdp/model/RolePermission.java
index 0232e25..53dfe6e 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/model/RolePermission.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/model/RolePermission.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.model;
+/*
+ * 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.pdp.model;
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/storm/StormAuthRule.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/storm/StormAuthRule.java b/agents-impl/src/main/java/com/xasecure/pdp/storm/StormAuthRule.java
index 1cdabef..d7ec72d 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/storm/StormAuthRule.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/storm/StormAuthRule.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.storm;
+/*
+ * 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.pdp.storm;
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/storm/URLBasedAuthDB.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/storm/URLBasedAuthDB.java b/agents-impl/src/main/java/com/xasecure/pdp/storm/URLBasedAuthDB.java
index c3e3710..3cb2916 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/storm/URLBasedAuthDB.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/storm/URLBasedAuthDB.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.storm;
+/*
+ * 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.pdp.storm;
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-impl/src/main/java/com/xasecure/pdp/storm/XASecureAuthorizer.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/storm/XASecureAuthorizer.java b/agents-impl/src/main/java/com/xasecure/pdp/storm/XASecureAuthorizer.java
index e41edc1..82a9c8d 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/storm/XASecureAuthorizer.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/storm/XASecureAuthorizer.java
@@ -1,4 +1,23 @@
-package com.xasecure.pdp.storm;
+/*
+ * 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.pdp.storm;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/agents-installer/src/main/java/com/xasecure/utils/install/XmlConfigChanger.java
----------------------------------------------------------------------
diff --git a/agents-installer/src/main/java/com/xasecure/utils/install/XmlConfigChanger.java b/agents-installer/src/main/java/com/xasecure/utils/install/XmlConfigChanger.java
index 2daef54..c7a3346 100644
--- a/agents-installer/src/main/java/com/xasecure/utils/install/XmlConfigChanger.java
+++ b/agents-installer/src/main/java/com/xasecure/utils/install/XmlConfigChanger.java
@@ -1,4 +1,23 @@
-package com.xasecure.utils.install;
+/*
+ * 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.utils.install;
import java.io.BufferedReader;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/credentialbuilder/src/main/java/com/hortonworks/credentialapi/CredentialReader.java
----------------------------------------------------------------------
diff --git a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/CredentialReader.java b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/CredentialReader.java
index fa1cc1e..abbdaef 100644
--- a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/CredentialReader.java
+++ b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/CredentialReader.java
@@ -1,4 +1,23 @@
-package com.hortonworks.credentialapi;
+/*
+ * 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.hortonworks.credentialapi;
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/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 52c353d..f5c25f9 100644
--- a/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java
+++ b/credentialbuilder/src/main/java/com/hortonworks/credentialapi/buildks.java
@@ -1,4 +1,23 @@
-package com.hortonworks.credentialapi;
+/*
+ * 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.hortonworks.credentialapi;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/embededwebserver/src/main/java/com/xasecure/server/tomcat/EmbededServer.java
----------------------------------------------------------------------
diff --git a/embededwebserver/src/main/java/com/xasecure/server/tomcat/EmbededServer.java b/embededwebserver/src/main/java/com/xasecure/server/tomcat/EmbededServer.java
index 583fe93..72f60c6 100644
--- a/embededwebserver/src/main/java/com/xasecure/server/tomcat/EmbededServer.java
+++ b/embededwebserver/src/main/java/com/xasecure/server/tomcat/EmbededServer.java
@@ -1,4 +1,23 @@
-package com.xasecure.server.tomcat;
+/*
+ * 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.server.tomcat;
import java.io.File;
import java.io.FileInputStream;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/embededwebserver/src/main/java/com/xasecure/server/tomcat/StopEmbededServer.java
----------------------------------------------------------------------
diff --git a/embededwebserver/src/main/java/com/xasecure/server/tomcat/StopEmbededServer.java b/embededwebserver/src/main/java/com/xasecure/server/tomcat/StopEmbededServer.java
index b75a8ce..0ec2541 100644
--- a/embededwebserver/src/main/java/com/xasecure/server/tomcat/StopEmbededServer.java
+++ b/embededwebserver/src/main/java/com/xasecure/server/tomcat/StopEmbededServer.java
@@ -1,4 +1,23 @@
-package com.xasecure.server.tomcat;
+/*
+ * 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.server.tomcat;
import java.io.PrintWriter;
import java.net.Socket;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessContext.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessContext.java b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessContext.java
index 304d51f..570456c 100644
--- a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessContext.java
+++ b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessContext.java
@@ -1,4 +1,23 @@
-package com.xasecure.authorization.hive;
+/*
+ * 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.hive;
import org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzContext;
import org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzSessionContext;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifier.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifier.java b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifier.java
index 24c6fbe..2dcf5f9 100644
--- a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifier.java
+++ b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifier.java
@@ -1,4 +1,23 @@
-package com.xasecure.authorization.hive;
+/*
+ * 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.hive;
import org.apache.hadoop.security.UserGroupInformation;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifierFactory.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifierFactory.java b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifierFactory.java
index 79c714a..057b930 100644
--- a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifierFactory.java
+++ b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveAccessVerifierFactory.java
@@ -1,4 +1,23 @@
-package com.xasecure.authorization.hive;
+/*
+ * 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.hive;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/3df530d6/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveObjectAccessInfo.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveObjectAccessInfo.java b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveObjectAccessInfo.java
index f14cd03..c0b8035 100644
--- a/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveObjectAccessInfo.java
+++ b/hive-agent/src/main/java/com/xasecure/authorization/hive/XaHiveObjectAccessInfo.java
@@ -1,4 +1,23 @@
-package com.xasecure.authorization.hive;
+/*
+ * 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.hive;
import java.util.ArrayList;
import java.util.List;