You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by co...@apache.org on 2016/09/28 09:33:07 UTC
[14/19] incubator-ranger git commit: Removing trailing whitespace
(via sed)
Removing trailing whitespace (via sed)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/09700f35
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/09700f35
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/09700f35
Branch: refs/heads/master
Commit: 09700f35ad41dbb7c23cedbc8ee68a16d9565de8
Parents: 5359e37
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Wed Sep 28 10:18:59 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Wed Sep 28 10:18:59 2016 +0100
----------------------------------------------------------------------
.../ranger/audit/dao/AuthzAuditEventDao.java | 4 +-
.../org/apache/ranger/audit/dao/BaseDao.java | 4 +-
.../org/apache/ranger/audit/dao/DaoManager.java | 4 +-
.../audit/destination/AuditDestination.java | 8 +-
.../audit/destination/DBAuditDestination.java | 6 +-
.../audit/destination/FileAuditDestination.java | 8 +-
.../audit/destination/HDFSAuditDestination.java | 10 +-
.../destination/Log4JAuditDestination.java | 4 +-
.../audit/destination/SolrAuditDestination.java | 6 +-
.../audit/entity/AuthzAuditEventDbObj.java | 4 +-
.../ranger/audit/model/AuditEventBase.java | 4 +-
.../ranger/audit/model/AuthzAuditEvent.java | 4 +-
.../ranger/audit/model/EnumRepositoryType.java | 6 +-
.../audit/provider/AsyncAuditProvider.java | 4 +-
.../audit/provider/AuditMessageException.java | 4 +-
.../ranger/audit/provider/BaseAuditHandler.java | 6 +-
.../audit/provider/LocalFileLogBuffer.java | 4 +-
.../apache/ranger/audit/provider/LogBuffer.java | 4 +-
.../ranger/audit/provider/LogDestination.java | 6 +-
.../apache/ranger/audit/provider/MiscUtil.java | 2 +-
.../audit/provider/hdfs/HdfsLogDestination.java | 12 +-
.../audit/provider/solr/SolrAuditProvider.java | 14 +-
.../ranger/audit/queue/AuditAsyncQueue.java | 12 +-
.../ranger/audit/queue/AuditBatchQueue.java | 16 +-
.../ranger/audit/queue/AuditFileSpool.java | 14 +-
.../apache/ranger/audit/queue/AuditQueue.java | 8 +-
.../ranger/audit/queue/AuditSummaryQueue.java | 12 +-
.../apache/ranger/audit/test/TestEvents.java | 4 +-
.../audit/utils/InMemoryJAASConfiguration.java | 18 +-
.../security/KrbPasswordSaverLoginModule.java | 4 +-
.../hadoop/security/SecureClientLogin.java | 10 +-
.../ranger/admin/client/RangerAdminClient.java | 4 +-
.../admin/client/RangerAdminRESTClient.java | 6 +-
.../admin/client/datatype/GrantRevokeData.java | 4 +-
.../hadoop/config/RangerConfigConstants.java | 6 +-
.../hadoop/config/RangerConfiguration.java | 4 +-
.../config/RangerLegacyConfigBuilder.java | 26 +--
.../ranger/authorization/utils/StringUtil.java | 4 +-
.../plugin/audit/RangerDefaultAuditHandler.java | 4 +-
.../audit/RangerMultiResourceAuditHandler.java | 4 +-
.../apache/ranger/plugin/client/BaseClient.java | 6 +-
.../plugin/client/HadoopConfigHolder.java | 12 +-
.../ranger/plugin/client/HadoopException.java | 4 +-
.../RangerAbstractConditionEvaluator.java | 4 +-
.../RangerConditionEvaluator.java | 4 +-
.../conditionevaluator/RangerIpMatcher.java | 6 +-
.../RangerTimeOfDayMatcher.java | 4 +-
.../RangerAbstractContextEnricher.java | 4 +-
.../contextenricher/RangerContextEnricher.java | 4 +-
.../plugin/model/RangerBaseModelObject.java | 6 +-
.../ranger/plugin/model/RangerPolicy.java | 4 +-
.../model/RangerPolicyResourceSignature.java | 4 +-
.../ranger/plugin/model/RangerService.java | 4 +-
.../ranger/plugin/model/RangerServiceDef.java | 6 +-
.../model/validation/RangerPolicyValidator.java | 16 +-
.../validation/RangerServiceDefHelper.java | 44 ++---
.../validation/RangerServiceDefValidator.java | 8 +-
.../validation/RangerServiceValidator.java | 4 +-
.../model/validation/RangerValidator.java | 8 +-
.../validation/ValidationFailureDetails.java | 10 +-
.../ValidationFailureDetailsBuilder.java | 4 +-
.../policyengine/RangerAccessRequest.java | 4 +-
.../policyengine/RangerAccessRequestImpl.java | 4 +-
.../policyengine/RangerAccessResource.java | 4 +-
.../policyengine/RangerAccessResourceImpl.java | 4 +-
.../plugin/policyengine/RangerAccessResult.java | 4 +-
.../RangerAccessResultProcessor.java | 4 +-
.../policyengine/RangerMutableResource.java | 4 +-
.../plugin/policyengine/RangerPolicyEngine.java | 4 +-
.../policyengine/RangerPolicyEngineCache.java | 4 +-
.../policyengine/RangerPolicyEngineImpl.java | 4 +-
.../RangerAbstractPolicyEvaluator.java | 4 +-
.../RangerAbstractPolicyItemEvaluator.java | 4 +-
.../RangerDefaultPolicyEvaluator.java | 4 +-
.../RangerDefaultPolicyItemEvaluator.java | 4 +-
.../policyevaluator/RangerPolicyEvaluator.java | 4 +-
.../RangerPolicyItemEvaluator.java | 4 +-
.../RangerDefaultPolicyResourceMatcher.java | 4 +-
.../RangerPolicyResourceMatcher.java | 4 +-
.../RangerAbstractResourceMatcher.java | 4 +-
.../RangerDefaultResourceMatcher.java | 4 +-
.../RangerPathResourceMatcher.java | 4 +-
.../resourcematcher/RangerResourceMatcher.java | 4 +-
.../ranger/plugin/service/RangerBasePlugin.java | 4 +-
.../plugin/service/RangerBaseService.java | 4 +-
.../plugin/service/ResourceLookupContext.java | 4 +-
.../plugin/store/AbstractPredicateUtil.java | 4 +-
.../plugin/store/EmbeddedServiceDefsUtil.java | 14 +-
.../ranger/plugin/store/ServiceStore.java | 4 +-
.../ranger/plugin/store/file/FileStoreUtil.java | 4 +-
.../plugin/store/file/ServiceFileStore.java | 6 +-
.../plugin/store/rest/ServiceRESTStore.java | 4 +-
.../ranger/plugin/util/GrantRevokeRequest.java | 4 +-
.../ranger/plugin/util/PasswordUtils.java | 2 +-
.../ranger/plugin/util/PolicyRefresher.java | 6 +-
.../plugin/util/RangerAccessRequestUtil.java | 4 +-
.../ranger/plugin/util/RangerObjectFactory.java | 4 +-
.../ranger/plugin/util/RangerPerfTracer.java | 4 +-
.../ranger/plugin/util/RangerRESTClient.java | 6 +-
.../ranger/plugin/util/RangerRESTUtils.java | 6 +-
.../ranger/plugin/util/RangerSslHelper.java | 4 +-
.../apache/ranger/plugin/util/SearchFilter.java | 4 +-
.../ranger/plugin/util/ServicePolicies.java | 4 +-
.../apache/ranger/plugin/util/ServiceTags.java | 4 +-
.../ranger/plugin/util/TimedEventUtil.java | 6 +-
.../ranger/services/tag/RangerServiceTag.java | 4 +-
.../conditionevaluator/RangerIpMatcherTest.java | 4 +-
.../conditionevaluator/RangerSimpleMatcher.java | 4 +-
.../RangerTimeOfDayMatcherTest.java | 16 +-
.../TestRangerPolicyResourceSignature.java | 6 +-
.../model/validation/TestDirectedGraph.java | 14 +-
.../validation/TestRangerPolicyValidator.java | 36 ++--
.../validation/TestRangerServiceDefHelper.java | 44 ++---
.../TestRangerServiceDefValidator.java | 20 +-
.../validation/TestRangerServiceValidator.java | 8 +-
.../model/validation/TestRangerValidator.java | 12 +-
.../model/validation/ValidationTestUtils.java | 8 +-
.../plugin/policyengine/TestPolicyDb.java | 4 +-
.../plugin/policyengine/TestPolicyEngine.java | 4 +-
.../RangerDefaultPolicyEvaluatorTest.java | 4 +-
.../resourcematcher/TestResourceMatcher.java | 4 +-
.../ranger/plugin/store/TestServiceStore.java | 6 +-
.../ranger/plugin/store/TestTagStore.java | 4 +-
.../hadoop/utils/RangerCredentialProvider.java | 26 +--
.../ranger/utils/install/XmlConfigChanger.java | 12 +-
.../ranger/credentialapi/CredentialReader.java | 12 +-
.../apache/ranger/credentialapi/buildks.java | 22 +--
.../credentialapi/TestCredentialReader.java | 14 +-
.../ranger/credentialapi/Testbuildks.java | 32 ++--
.../ranger/server/tomcat/EmbeddedServer.java | 22 +--
.../server/tomcat/StopEmbeddedServer.java | 6 +-
.../hbase/AuthorizationSession.java | 8 +-
.../authorization/hbase/ColumnIterator.java | 4 +-
.../authorization/hbase/HbaseAuditHandler.java | 8 +-
.../hbase/HbaseAuditHandlerImpl.java | 4 +-
.../authorization/hbase/HbaseAuthUtils.java | 4 +-
.../authorization/hbase/HbaseAuthUtilsImpl.java | 4 +-
.../authorization/hbase/HbaseFactory.java | 6 +-
.../authorization/hbase/HbaseUserUtils.java | 6 +-
.../authorization/hbase/HbaseUserUtilsImpl.java | 6 +-
.../hbase/RangerAuthorizationCoprocessor.java | 26 +--
.../RangerAuthorizationCoprocessorBase.java | 2 +-
.../hbase/RangerAuthorizationFilter.java | 4 +-
.../services/hbase/RangerServiceHBase.java | 4 +-
.../services/hbase/client/HBaseClient.java | 12 +-
.../hbase/client/HBaseConnectionMgr.java | 8 +-
.../services/hbase/client/HBaseResourceMgr.java | 8 +-
.../hbase/AuthorizationSessionTest.java | 6 +-
.../authorization/hbase/ColumnIteratorTest.java | 4 +-
.../hbase/HbaseAuthUtilsImplTest.java | 4 +-
.../RangerAuthorizationCoprocessorTest.java | 4 +-
.../hbase/RangerAuthorizationFilterTest.java | 4 +-
.../authorization/hbase/TestPolicyEngine.java | 4 +-
.../services/hbase/TestRangerServiceHBase.java | 6 +-
.../hadoop/HDFSAccessVerifier.java | 4 +-
.../hadoop/RangerHdfsAuthorizer.java | 4 +-
.../agent/AuthCodeInjectionJavaAgent.java | 4 +-
.../agent/HadoopAuthClassTransformer.java | 4 +-
.../RangerAccessControlException.java | 4 +-
.../ranger/services/hdfs/RangerServiceHdfs.java | 4 +-
.../ranger/services/hdfs/client/HdfsClient.java | 6 +-
.../services/hdfs/client/HdfsConnectionMgr.java | 4 +-
.../services/hdfs/client/HdfsResourceMgr.java | 6 +-
.../ranger/services/hdfs/HDFSRangerTest.java | 108 +++++------
.../services/hdfs/RangerAdminClientImpl.java | 8 +-
.../services/hdfs/client/HdfsClientTest.java | 4 +-
.../XaSecureHiveAuthorizerFactory.java | 4 +-
.../authorizer/RangerHiveAccessRequest.java | 4 +-
.../hive/authorizer/RangerHiveAuditHandler.java | 6 +-
.../hive/authorizer/RangerHiveAuthorizer.java | 8 +-
.../authorizer/RangerHiveAuthorizerBase.java | 8 +-
.../authorizer/RangerHiveAuthorizerFactory.java | 4 +-
.../hive/authorizer/RangerHiveResource.java | 4 +-
.../hive/constants/RangerHiveConstants.java | 4 +-
.../ranger/services/hive/RangerServiceHive.java | 4 +-
.../ranger/services/hive/client/HiveClient.java | 8 +-
.../services/hive/client/HiveConnectionMgr.java | 8 +-
.../services/hive/client/HiveResourceMgr.java | 18 +-
.../services/hive/HIVERangerAuthorizerTest.java | 184 +++++++++----------
.../services/hive/RangerAdminClientImpl.java | 8 +-
.../util/outputformatter/CSVFormatter.java | 24 +--
.../util/outputformatter/DefaultFormatter.java | 38 ++--
.../util/outputformatter/JisqlFormatter.java | 16 +-
.../util/outputformatter/XMLFormatter.java | 20 +-
.../main/java/org/apache/util/sql/Jisql.java | 54 +++---
.../java/org/apache/util/sql/MaskingThread.java | 4 +-
.../java/org/apache/util/sql/MySQLPLRunner.java | 54 +++---
.../apache/hadoop/crypto/key/DB2HSMMKUtil.java | 4 +-
.../apache/hadoop/crypto/key/HSM2DBMKUtil.java | 4 +-
.../hadoop/crypto/key/JKS2RangerUtil.java | 10 +-
.../hadoop/crypto/key/Ranger2JKSUtil.java | 10 +-
.../org/apache/hadoop/crypto/key/RangerHSM.java | 8 +-
.../apache/hadoop/crypto/key/RangerKMSDB.java | 2 +-
.../hadoop/crypto/key/RangerKeyStore.java | 58 +++---
.../crypto/key/RangerKeyStoreProvider.java | 12 +-
.../hadoop/crypto/key/RangerMasterKey.java | 18 +-
.../hadoop/crypto/key/kms/server/KMS.java | 6 +-
.../crypto/key/kms/server/KMSConfiguration.java | 6 +-
.../hadoop/crypto/key/kms/server/KMSWebApp.java | 4 +-
.../kms/server/KeyAuthorizationKeyProvider.java | 8 +-
.../java/org/apache/ranger/entity/XXDBBase.java | 2 +-
.../java/org/apache/ranger/kms/dao/BaseDao.java | 4 +-
.../crypto/key/kms/server/DerbyTestUtils.java | 14 +-
.../kms/server/RangerKeyStoreProviderTest.java | 32 ++--
.../key/kms/server/RangerMasterKeyTest.java | 16 +-
.../crypto/key/kms/server/TestKMSACLs.java | 2 +-
.../server/TestKeyAuthorizationKeyProvider.java | 8 +-
.../client/RangerAdminJersey2RESTClient.java | 8 +-
.../authorization/knox/KnoxRangerPlugin.java | 6 +-
.../ranger/services/knox/RangerServiceKnox.java | 4 +-
.../services/knox/client/KnoxConnectionMgr.java | 6 +-
.../services/knox/client/KnoxResourceMgr.java | 14 +-
.../knox/client/TestRangerServiceKnox.java | 6 +-
.../atlas/authorizer/RangerAtlasAuthorizer.java | 4 +-
.../atlas/authorizer/RangerAtlasResource.java | 4 +-
.../services/atlas/RangerServiceAtlas.java | 4 +-
.../kafka/authorizer/RangerKafkaAuthorizer.java | 18 +-
.../services/kafka/RangerServiceKafka.java | 4 +-
.../kafka/client/ServiceKafkaClient.java | 4 +-
.../kafka/client/ServiceKafkaConnectionMgr.java | 4 +-
.../kms/authorizer/RangerKmsAuthorizer.java | 28 +--
.../ranger/services/kms/client/KMSClient.java | 6 +-
.../services/kms/client/KMSConnectionMgr.java | 8 +-
.../services/kms/client/KMSResourceMgr.java | 8 +-
.../client/json/model/KMSSchedulerResponse.java | 4 +-
.../kms/authorizer/DerbyTestUtils.java | 14 +-
.../kms/authorizer/RangerAdminClientImpl.java | 8 +-
.../kms/authorizer/RangerKmsAuthorizerTest.java | 64 +++----
.../solr/authorizer/RangerSolrAuthorizer.java | 10 +-
.../ranger/services/solr/RangerServiceSolr.java | 4 +-
.../services/solr/client/ServiceSolrClient.java | 4 +-
.../solr/client/ServiceSolrConnectionMgr.java | 4 +-
.../yarn/authorizer/RangerYarnAuthorizer.java | 4 +-
.../ranger/services/yarn/client/YarnClient.java | 10 +-
.../services/yarn/client/YarnConnectionMgr.java | 4 +-
.../services/yarn/client/YarnResourceMgr.java | 8 +-
.../json/model/YarnSchedulerResponse.java | 4 +-
.../atlas/authorizer/RangerAtlasAuthorizer.java | 22 +--
.../RangerSampleSimpleMatcher.java | 4 +-
.../RangerSampleCountryProvider.java | 4 +-
.../RangerSampleProjectProvider.java | 4 +-
.../RangerSampleSimpleMatcherTest.java | 6 +-
.../hbase/XaSecureAuthorizationCoprocessor.java | 4 +-
.../hbase/RangerAuthorizationCoprocessor.java | 12 +-
.../access/RangerAccessControlListsTest.java | 4 +-
.../hadoop/RangerHdfsAuthorizer.java | 4 +-
.../XaSecureHiveAuthorizerFactory.java | 4 +-
.../authorizer/RangerHiveAuthorizerFactory.java | 8 +-
.../kafka/authorizer/RangerKafkaAuthorizer.java | 4 +-
.../kms/authorizer/RangerKmsAuthorizer.java | 4 +-
.../RangerPDPKnoxDeploymentContributor.java | 2 +-
.../classloader/RangerPluginClassLoader.java | 16 +-
.../RangerPluginClassLoaderUtil.java | 14 +-
.../test/Impl/TestChildFistClassLoader.java | 6 +-
.../classloader/test/Impl/TestPluginImpl.java | 4 +-
.../plugin/classloader/test/Impl/TestPrint.java | 4 +-
.../plugin/classloader/test/TestPlugin.java | 4 +-
.../classloader/test/TestPrintParent.java | 4 +-
.../solr/authorizer/RangerSolrAuthorizer.java | 4 +-
.../storm/authorizer/RangerStormAuthorizer.java | 4 +-
.../policyengine/RangerPluginPerfTester.java | 4 +-
.../apache/ranger/common/RangerVersionInfo.java | 14 +-
.../yarn/authorizer/RangerYarnAuthorizer.java | 4 +-
.../unix/jaas/RoleUserAuthorityGranter.java | 4 +-
.../java/org/apache/ranger/biz/AssetMgr.java | 8 +-
.../org/apache/ranger/biz/AssetMgrBase.java | 4 +-
.../java/org/apache/ranger/biz/BaseMgr.java | 4 +-
.../java/org/apache/ranger/biz/KmsKeyMgr.java | 18 +-
.../org/apache/ranger/biz/RangerBizUtil.java | 50 ++---
.../ranger/biz/RangerPolicyRetriever.java | 4 +-
.../apache/ranger/biz/RangerTagDBRetriever.java | 4 +-
.../org/apache/ranger/biz/ServiceDBStore.java | 16 +-
.../java/org/apache/ranger/biz/ServiceMgr.java | 8 +-
.../java/org/apache/ranger/biz/SessionMgr.java | 6 +-
.../java/org/apache/ranger/biz/TagDBStore.java | 4 +-
.../java/org/apache/ranger/biz/UserMgr.java | 6 +-
.../java/org/apache/ranger/biz/UserMgrBase.java | 4 +-
.../java/org/apache/ranger/biz/XAuditMgr.java | 4 +-
.../org/apache/ranger/biz/XAuditMgrBase.java | 4 +-
.../java/org/apache/ranger/biz/XUserMgr.java | 8 +-
.../org/apache/ranger/biz/XUserMgrBase.java | 4 +-
.../org/apache/ranger/common/AppConstants.java | 8 +-
.../org/apache/ranger/common/ContextUtil.java | 4 +-
.../java/org/apache/ranger/common/DateUtil.java | 14 +-
.../apache/ranger/common/ErrorMessageUtil.java | 4 +-
.../java/org/apache/ranger/common/GUIDUtil.java | 4 +-
.../java/org/apache/ranger/common/HTTPUtil.java | 6 +-
.../java/org/apache/ranger/common/JSONUtil.java | 4 +-
.../java/org/apache/ranger/common/MapUtil.java | 4 +-
.../org/apache/ranger/common/MessageEnums.java | 4 +-
.../org/apache/ranger/common/MyCallBack.java | 4 +-
.../apache/ranger/common/PropertiesUtil.java | 4 +-
.../org/apache/ranger/common/RESTErrorUtil.java | 6 +-
.../apache/ranger/common/RangerCommonEnums.java | 6 +-
.../apache/ranger/common/RangerConfigUtil.java | 8 +-
.../apache/ranger/common/RangerConstants.java | 4 +-
.../org/apache/ranger/common/RangerFactory.java | 4 +-
.../common/RangerJAXBContextResolver.java | 6 +-
.../apache/ranger/common/RangerProperties.java | 2 +-
.../apache/ranger/common/RangerSearchUtil.java | 14 +-
.../common/RangerServicePoliciesCache.java | 2 +-
.../ranger/common/RangerServiceTagsCache.java | 2 +-
.../ranger/common/RangerValidatorFactory.java | 4 +-
.../apache/ranger/common/RequestContext.java | 6 +-
.../apache/ranger/common/SearchCriteria.java | 4 +-
.../org/apache/ranger/common/SearchField.java | 4 +-
.../org/apache/ranger/common/SearchGroup.java | 4 +-
.../org/apache/ranger/common/SearchUtil.java | 6 +-
.../org/apache/ranger/common/SearchValue.java | 10 +-
.../org/apache/ranger/common/ServiceUtil.java | 58 +++---
.../org/apache/ranger/common/SortField.java | 12 +-
.../org/apache/ranger/common/StringUtil.java | 16 +-
.../apache/ranger/common/TimedEventUtil.java | 6 +-
.../org/apache/ranger/common/TimedExecutor.java | 6 +-
.../common/TimedExecutorConfigurator.java | 4 +-
.../apache/ranger/common/UserSessionBase.java | 4 +-
.../annotation/RangerAnnotationClassName.java | 4 +-
.../annotation/RangerAnnotationJSMgrName.java | 6 +-
.../annotation/RangerAnnotationRestAPI.java | 4 +-
.../org/apache/ranger/common/db/BaseDao.java | 4 +-
.../ranger/common/db/JPABeanCallbacks.java | 4 +-
.../org/apache/ranger/common/view/VEnum.java | 14 +-
.../apache/ranger/common/view/VEnumElement.java | 4 +-
.../org/apache/ranger/common/view/VList.java | 12 +-
.../apache/ranger/common/view/VTrxLogAttr.java | 4 +-
.../apache/ranger/common/view/ViewBaseBean.java | 4 +-
.../ranger/credentialapi/CredentialReader.java | 14 +-
.../org/apache/ranger/db/RangerDaoManager.java | 4 +-
.../apache/ranger/db/RangerDaoManagerBase.java | 6 +-
.../org/apache/ranger/db/XXAccessAuditDao.java | 4 +-
.../java/org/apache/ranger/db/XXAssetDao.java | 8 +-
.../org/apache/ranger/db/XXAuditMapDao.java | 4 +-
.../org/apache/ranger/db/XXAuthSessionDao.java | 6 +-
.../ranger/db/XXContextEnricherDefDao.java | 4 +-
.../apache/ranger/db/XXCredentialStoreDao.java | 4 +-
.../java/org/apache/ranger/db/XXDBBaseDao.java | 4 +-
.../java/org/apache/ranger/db/XXGroupDao.java | 4 +-
.../org/apache/ranger/db/XXGroupGroupDao.java | 4 +-
.../org/apache/ranger/db/XXGroupUserDao.java | 4 +-
.../java/org/apache/ranger/db/XXPermMapDao.java | 4 +-
.../ranger/db/XXPolicyExportAuditDao.java | 4 +-
.../org/apache/ranger/db/XXPortalUserDao.java | 6 +-
.../apache/ranger/db/XXPortalUserRoleDao.java | 4 +-
.../org/apache/ranger/db/XXResourceDao.java | 4 +-
.../apache/ranger/db/XXServiceResourceDao.java | 4 +-
.../ranger/db/XXServiceResourceElementDao.java | 4 +-
.../db/XXServiceResourceElementValueDao.java | 4 +-
.../org/apache/ranger/db/XXTagAttributeDao.java | 4 +-
.../apache/ranger/db/XXTagAttributeDefDao.java | 4 +-
.../java/org/apache/ranger/db/XXTagDao.java | 4 +-
.../java/org/apache/ranger/db/XXTagDefDao.java | 4 +-
.../apache/ranger/db/XXTagResourceMapDao.java | 4 +-
.../java/org/apache/ranger/db/XXTrxLogDao.java | 6 +-
.../java/org/apache/ranger/db/XXUserDao.java | 4 +-
.../org/apache/ranger/entity/XXAccessAudit.java | 6 +-
.../apache/ranger/entity/XXAccessAuditBase.java | 6 +-
.../apache/ranger/entity/XXAccessAuditV4.java | 4 +-
.../apache/ranger/entity/XXAccessAuditV5.java | 6 +-
.../apache/ranger/entity/XXAccessTypeDef.java | 36 ++--
.../ranger/entity/XXAccessTypeDefGrants.java | 20 +-
.../java/org/apache/ranger/entity/XXAsset.java | 6 +-
.../org/apache/ranger/entity/XXAuditMap.java | 6 +-
.../org/apache/ranger/entity/XXAuthSession.java | 6 +-
.../ranger/entity/XXContextEnricherDef.java | 36 ++--
.../apache/ranger/entity/XXCredentialStore.java | 6 +-
.../java/org/apache/ranger/entity/XXDBBase.java | 6 +-
.../org/apache/ranger/entity/XXDataHist.java | 40 ++--
.../apache/ranger/entity/XXDataMaskTypeDef.java | 36 ++--
.../org/apache/ranger/entity/XXEnumDef.java | 28 +--
.../apache/ranger/entity/XXEnumElementDef.java | 36 ++--
.../java/org/apache/ranger/entity/XXGroup.java | 6 +-
.../org/apache/ranger/entity/XXGroupGroup.java | 6 +-
.../org/apache/ranger/entity/XXGroupUser.java | 6 +-
.../org/apache/ranger/entity/XXPermMap.java | 6 +-
.../java/org/apache/ranger/entity/XXPolicy.java | 4 +-
.../org/apache/ranger/entity/XXPolicyBase.java | 28 +--
.../ranger/entity/XXPolicyConditionDef.java | 52 +++---
.../ranger/entity/XXPolicyExportAudit.java | 4 +-
.../org/apache/ranger/entity/XXPolicyItem.java | 36 ++--
.../ranger/entity/XXPolicyItemAccess.java | 28 +--
.../ranger/entity/XXPolicyItemCondition.java | 28 +--
.../ranger/entity/XXPolicyItemDataMaskInfo.java | 26 +--
.../ranger/entity/XXPolicyItemGroupPerm.java | 24 +--
.../entity/XXPolicyItemRowFilterInfo.java | 18 +-
.../ranger/entity/XXPolicyItemUserPerm.java | 24 +--
.../apache/ranger/entity/XXPolicyResource.java | 28 +--
.../ranger/entity/XXPolicyResourceMap.java | 24 +--
.../org/apache/ranger/entity/XXPortalUser.java | 6 +-
.../apache/ranger/entity/XXPortalUserRole.java | 6 +-
.../org/apache/ranger/entity/XXResource.java | 6 +-
.../org/apache/ranger/entity/XXResourceDef.java | 80 ++++----
.../org/apache/ranger/entity/XXService.java | 4 +-
.../org/apache/ranger/entity/XXServiceBase.java | 44 ++---
.../ranger/entity/XXServiceConfigDef.java | 60 +++---
.../ranger/entity/XXServiceConfigMap.java | 24 +--
.../org/apache/ranger/entity/XXServiceDef.java | 8 +-
.../apache/ranger/entity/XXServiceDefBase.java | 36 ++--
.../apache/ranger/entity/XXServiceResource.java | 10 +-
.../ranger/entity/XXServiceResourceElement.java | 10 +-
.../entity/XXServiceResourceElementValue.java | 10 +-
.../ranger/entity/XXServiceVersionInfo.java | 4 +-
.../java/org/apache/ranger/entity/XXTag.java | 10 +-
.../apache/ranger/entity/XXTagAttribute.java | 10 +-
.../apache/ranger/entity/XXTagAttributeDef.java | 10 +-
.../java/org/apache/ranger/entity/XXTagDef.java | 10 +-
.../apache/ranger/entity/XXTagResourceMap.java | 10 +-
.../java/org/apache/ranger/entity/XXTrxLog.java | 6 +-
.../java/org/apache/ranger/entity/XXUser.java | 6 +-
.../apache/ranger/entity/view/VXXTrxLog.java | 4 +-
.../java/org/apache/ranger/json/Folder.java | 4 +-
.../apache/ranger/json/JsonDateSerializer.java | 6 +-
.../org/apache/ranger/patch/BaseLoader.java | 6 +-
.../patch/cliutil/DbToSolrMigrationUtil.java | 2 +-
.../java/org/apache/ranger/rest/AssetREST.java | 34 ++--
.../java/org/apache/ranger/rest/PublicAPIs.java | 4 +-
.../org/apache/ranger/rest/ServiceREST.java | 14 +-
.../java/org/apache/ranger/rest/TagREST.java | 4 +-
.../java/org/apache/ranger/rest/UserREST.java | 18 +-
.../java/org/apache/ranger/rest/XAuditREST.java | 4 +-
.../java/org/apache/ranger/rest/XKeyREST.java | 8 +-
.../java/org/apache/ranger/rest/XUserREST.java | 22 +--
.../ranger/security/context/RangerAPIList.java | 2 +-
.../security/context/RangerAPIMapping.java | 2 +-
.../security/context/RangerContextHolder.java | 4 +-
.../context/RangerPreAuthSecurityHandler.java | 4 +-
.../security/context/RangerSecurityContext.java | 4 +-
.../ranger/security/handler/Permission.java | 4 +-
.../handler/RangerAuthenticationProvider.java | 2 +-
.../RangerDomainObjectSecurityHandler.java | 4 +-
.../listener/RangerHttpSessionListener.java | 4 +-
.../security/listener/SpringEventListener.java | 4 +-
.../standalone/StandaloneSecurityHandler.java | 4 +-
.../CustomLogoutSuccessHandler.java | 4 +-
.../RangerAuthFailureHandler.java | 8 +-
.../RangerAuthSuccessHandler.java | 10 +-
.../RangerAuthenticationEntryPoint.java | 6 +-
...RangerSessionFixationProtectionStrategy.java | 4 +-
.../security/web/filter/MyRememberMeFilter.java | 6 +-
.../web/filter/RangerCSRFPreventionFilter.java | 10 +-
.../filter/RangerKRBAuthenticationFilter.java | 8 +-
.../security/web/filter/RangerKrbFilter.java | 8 +-
.../filter/RangerSSOAuthenticationFilter.java | 12 +-
...gerUsernamePasswordAuthenticationFilter.java | 4 +-
.../security/web/filter/SSOAuthentication.java | 2 +-
.../web/filter/SSOAuthenticationProperties.java | 2 +-
.../service/AbstractBaseResourceService.java | 4 +-
.../ranger/service/AuthSessionService.java | 4 +-
.../ranger/service/PublicAPIServiceBase.java | 4 +-
.../ranger/service/RangerBaseModelService.java | 8 +-
.../service/RangerServiceResourceService.java | 4 +-
.../RangerServiceResourceServiceBase.java | 4 +-
.../ranger/service/RangerServiceService.java | 2 +-
.../service/RangerServiceServiceBase.java | 2 +-
.../ranger/service/RangerTagDefService.java | 4 +-
.../ranger/service/RangerTagDefServiceBase.java | 4 +-
.../service/RangerTagResourceMapService.java | 4 +-
.../RangerTagResourceMapServiceBase.java | 4 +-
.../ranger/service/RangerTagServiceBase.java | 4 +-
.../org/apache/ranger/service/UserService.java | 4 +-
.../apache/ranger/service/UserServiceBase.java | 4 +-
.../ranger/service/XAccessAuditService.java | 8 +-
.../ranger/service/XAccessAuditServiceBase.java | 6 +-
.../apache/ranger/service/XAgentService.java | 6 +-
.../apache/ranger/service/XAssetService.java | 4 +-
.../ranger/service/XAssetServiceBase.java | 6 +-
.../apache/ranger/service/XAuditMapService.java | 4 +-
.../ranger/service/XAuditMapServiceBase.java | 6 +-
.../ranger/service/XCredentialStoreService.java | 4 +-
.../service/XCredentialStoreServiceBase.java | 6 +-
.../ranger/service/XGroupGroupService.java | 4 +-
.../ranger/service/XGroupGroupServiceBase.java | 6 +-
.../apache/ranger/service/XGroupService.java | 4 +-
.../ranger/service/XGroupServiceBase.java | 6 +-
.../ranger/service/XGroupUserService.java | 4 +-
.../ranger/service/XGroupUserServiceBase.java | 6 +-
.../apache/ranger/service/XPermMapService.java | 8 +-
.../ranger/service/XPermMapServiceBase.java | 6 +-
.../service/XPolicyExportAuditService.java | 8 +-
.../service/XPolicyExportAuditServiceBase.java | 6 +-
.../apache/ranger/service/XPolicyService.java | 6 +-
.../ranger/service/XPortalUserService.java | 4 +-
.../ranger/service/XPortalUserServiceBase.java | 6 +-
.../ranger/service/XRepositoryService.java | 4 +-
.../apache/ranger/service/XResourceService.java | 48 ++---
.../ranger/service/XResourceServiceBase.java | 6 +-
.../apache/ranger/service/XTrxLogService.java | 18 +-
.../ranger/service/XTrxLogServiceBase.java | 6 +-
.../org/apache/ranger/service/XUserService.java | 6 +-
.../apache/ranger/service/XUserServiceBase.java | 6 +-
.../service/filter/RangerRESTAPIFilter.java | 8 +-
.../ranger/solr/SolrAccessAuditsService.java | 4 +-
.../java/org/apache/ranger/solr/SolrMgr.java | 4 +-
.../java/org/apache/ranger/solr/SolrUtil.java | 4 +-
.../java/org/apache/ranger/util/CLIUtil.java | 6 +-
.../org/apache/ranger/util/RangerEnumUtil.java | 6 +-
.../org/apache/ranger/util/RangerRestUtil.java | 6 +-
.../java/org/apache/ranger/util/RestUtil.java | 4 +-
.../org/apache/ranger/view/VXAccessAudit.java | 6 +-
.../apache/ranger/view/VXAccessAuditList.java | 6 +-
.../java/org/apache/ranger/view/VXAsset.java | 4 +-
.../org/apache/ranger/view/VXAssetList.java | 6 +-
.../java/org/apache/ranger/view/VXAuditMap.java | 6 +-
.../org/apache/ranger/view/VXAuditMapList.java | 6 +-
.../org/apache/ranger/view/VXAuditRecord.java | 6 +-
.../apache/ranger/view/VXAuditRecordList.java | 6 +-
.../org/apache/ranger/view/VXAuthSession.java | 6 +-
.../apache/ranger/view/VXAuthSessionList.java | 6 +-
.../apache/ranger/view/VXCredentialStore.java | 6 +-
.../ranger/view/VXCredentialStoreList.java | 4 +-
.../org/apache/ranger/view/VXDataObject.java | 6 +-
.../java/org/apache/ranger/view/VXGroup.java | 4 +-
.../org/apache/ranger/view/VXGroupGroup.java | 6 +-
.../apache/ranger/view/VXGroupGroupList.java | 4 +-
.../org/apache/ranger/view/VXGroupList.java | 6 +-
.../org/apache/ranger/view/VXGroupUser.java | 4 +-
.../org/apache/ranger/view/VXGroupUserList.java | 4 +-
.../java/org/apache/ranger/view/VXKmsKey.java | 6 +-
.../org/apache/ranger/view/VXKmsKeyList.java | 6 +-
.../java/org/apache/ranger/view/VXLong.java | 6 +-
.../java/org/apache/ranger/view/VXMessage.java | 6 +-
.../apache/ranger/view/VXPasswordChange.java | 6 +-
.../java/org/apache/ranger/view/VXPermMap.java | 6 +-
.../org/apache/ranger/view/VXPermMapList.java | 6 +-
.../java/org/apache/ranger/view/VXPermObj.java | 6 +-
.../org/apache/ranger/view/VXPermObjList.java | 4 +-
.../java/org/apache/ranger/view/VXPolicy.java | 84 ++++-----
.../apache/ranger/view/VXPolicyExportAudit.java | 6 +-
.../ranger/view/VXPolicyExportAuditList.java | 4 +-
.../org/apache/ranger/view/VXPolicyList.java | 4 +-
.../org/apache/ranger/view/VXPortalUser.java | 4 +-
.../apache/ranger/view/VXPortalUserList.java | 6 +-
.../org/apache/ranger/view/VXRepository.java | 30 +--
.../apache/ranger/view/VXRepositoryList.java | 4 +-
.../java/org/apache/ranger/view/VXResource.java | 18 +-
.../org/apache/ranger/view/VXResourceList.java | 6 +-
.../java/org/apache/ranger/view/VXResponse.java | 6 +-
.../java/org/apache/ranger/view/VXString.java | 6 +-
.../org/apache/ranger/view/VXStringList.java | 6 +-
.../java/org/apache/ranger/view/VXTrxLog.java | 6 +-
.../org/apache/ranger/view/VXTrxLogList.java | 4 +-
.../java/org/apache/ranger/view/VXUser.java | 6 +-
.../org/apache/ranger/view/VXUserGroupInfo.java | 6 +-
.../java/org/apache/ranger/view/VXUserList.java | 6 +-
.../org/apache/ranger/audit/TestAuditQueue.java | 4 +-
.../org/apache/ranger/audit/TestConsumer.java | 22 +--
.../apache/ranger/biz/TestRangerBizUtil.java | 4 +-
.../apache/ranger/common/TestStringUtil.java | 6 +-
.../apache/ranger/common/TestTimedExecutor.java | 8 +-
.../org/apache/ranger/rest/TestServiceREST.java | 2 +-
.../filter/TestRangerCSRFPreventionFilter.java | 4 +-
.../java/org/apache/ranger/util/BaseTest.java | 4 +-
.../storm/authorizer/RangerStormAuthorizer.java | 14 +-
.../services/storm/RangerServiceStorm.java | 4 +-
.../services/storm/client/StormClient.java | 8 +-
.../storm/client/StormConnectionMgr.java | 10 +-
.../services/storm/client/StormResourceMgr.java | 8 +-
.../storm/client/json/model/Topology.java | 4 +-
.../client/json/model/TopologyListResponse.java | 4 +-
.../storm/RangerAdminClientImpl.java | 8 +-
.../storm/StormRangerAuthorizerTest.java | 66 +++----
.../authorization/storm/WordCounterBolt.java | 10 +-
.../ranger/authorization/storm/WordSpout.java | 6 +-
.../apache/ranger/tagsync/model/TagSink.java | 4 +-
.../apache/ranger/tagsync/model/TagSource.java | 4 +-
.../ranger/tagsync/process/TagSyncConfig.java | 6 +-
.../ranger/tagsync/process/TagSynchronizer.java | 4 +-
.../tagsync/sink/tagadmin/TagAdminRESTSink.java | 4 +-
.../tagsync/source/atlas/AtlasTagSource.java | 4 +-
.../source/atlasrest/AtlasRESTTagSource.java | 4 +-
.../tagsync/source/file/FileTagSource.java | 4 +-
.../tagsync/process/TestHdfsResourceMapper.java | 4 +-
.../tagsync/process/TestHiveResourceMapper.java | 4 +-
.../tagsync/process/TestTagSynchronizer.java | 4 +-
.../ldapconfigcheck/AuthenticationCheck.java | 4 +-
.../ldapconfigcheck/CommandLineOptions.java | 12 +-
.../ranger/ldapconfigcheck/LdapConfig.java | 6 +-
.../ldapconfigcheck/LdapConfigCheckMain.java | 4 +-
.../apache/ranger/ldapconfigcheck/UserSync.java | 10 +-
.../process/CustomSSLSocketFactory.java | 8 +-
.../process/LdapUserGroupBuilder.java | 26 +--
.../process/PolicyMgrUserGroupBuilder.java | 4 +-
.../config/UserGroupSyncConfig.java | 40 ++--
.../model/GetXGroupListResponse.java | 4 +-
.../model/GetXUserGroupListResponse.java | 4 +-
.../model/GetXUserListResponse.java | 4 +-
.../ranger/unixusersync/model/MUserInfo.java | 12 +-
.../unixusersync/model/UserGroupInfo.java | 6 +-
.../unixusersync/model/UserGroupList.java | 6 +-
.../ranger/unixusersync/model/XGroupInfo.java | 4 +-
.../unixusersync/model/XUserGroupInfo.java | 6 +-
.../ranger/unixusersync/model/XUserInfo.java | 4 +-
.../unixusersync/poc/InvalidGroupException.java | 4 +-
.../unixusersync/poc/InvalidUserException.java | 4 +-
.../ranger/unixusersync/poc/ListRangerUser.java | 4 +-
.../unixusersync/poc/ListRangerUserGroup.java | 4 +-
.../unixusersync/poc/ListUserGroupTest.java | 4 +-
.../unixusersync/poc/RangerJSONParser.java | 4 +-
.../poc/RangerUpdateUserGroupMapping.java | 4 +-
.../poc/RangerUserGroupMapping.java | 4 +-
.../ranger/unixusersync/poc/RestClientPost.java | 4 +-
.../process/FileSourceUserGroupBuilder.java | 14 +-
.../process/PolicyMgrUserGroupBuilder.java | 80 ++++----
.../process/UnixUserGroupBuilder.java | 8 +-
.../ranger/usergroupsync/AbstractMapper.java | 4 +-
.../org/apache/ranger/usergroupsync/Mapper.java | 4 +-
.../org/apache/ranger/usergroupsync/RegEx.java | 4 +-
.../ranger/usergroupsync/UserGroupSink.java | 4 +-
.../ranger/usergroupsync/UserGroupSource.java | 4 +-
.../ranger/usergroupsync/UserGroupSync.java | 4 +-
.../ranger/usersync/util/UserSyncUtil.java | 4 +-
.../ranger/usergroupsync/LdapUserGroupTest.java | 10 +-
.../PolicyMgrUserGroupBuilderTest.java | 6 +-
.../apache/ranger/usergroupsync/RegExTest.java | 4 +-
.../unix/jaas/ConsolePromptCallbackHandler.java | 4 +-
.../unix/jaas/RemoteUnixLoginModule.java | 4 +-
.../unix/jaas/UnixGroupPrincipal.java | 4 +-
.../unix/jaas/UnixUserPrincipal.java | 4 +-
.../UnixAuthenticationTester.java | 8 +-
.../authentication/PasswordValidator.java | 12 +-
.../UnixAuthenticationService.java | 22 +--
620 files changed, 2830 insertions(+), 2830 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/dao/AuthzAuditEventDao.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/dao/AuthzAuditEventDao.java b/agents-audit/src/main/java/org/apache/ranger/audit/dao/AuthzAuditEventDao.java
index ee4c211..35794b8 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/dao/AuthzAuditEventDao.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/dao/AuthzAuditEventDao.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/dao/BaseDao.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/dao/BaseDao.java b/agents-audit/src/main/java/org/apache/ranger/audit/dao/BaseDao.java
index 0cb7c39..75593d2 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/dao/BaseDao.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/dao/BaseDao.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/dao/DaoManager.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/dao/DaoManager.java b/agents-audit/src/main/java/org/apache/ranger/audit/dao/DaoManager.java
index fd4d096..b2f68ef 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/dao/DaoManager.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/dao/DaoManager.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/destination/AuditDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/destination/AuditDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/destination/AuditDestination.java
index 9db8937..41d0e82 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/destination/AuditDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/destination/AuditDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -38,7 +38,7 @@ public abstract class AuditDestination extends BaseAuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#init(java.util.Properties,
* java.lang.String)
@@ -50,7 +50,7 @@ public abstract class AuditDestination extends BaseAuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#flush()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/destination/DBAuditDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/destination/DBAuditDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/destination/DBAuditDestination.java
index 376e724..79f07d7 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/destination/DBAuditDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/destination/DBAuditDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -73,7 +73,7 @@ public class DBAuditDestination extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditHandler#logger(java.util.Collection
* )
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/destination/FileAuditDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/destination/FileAuditDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/destination/FileAuditDestination.java
index c6cd8b2..609b985 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/destination/FileAuditDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/destination/FileAuditDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -132,7 +132,7 @@ public class FileAuditDestination extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(java.util.Collection)
*/
@@ -161,7 +161,7 @@ public class FileAuditDestination extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#start()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/destination/HDFSAuditDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/destination/HDFSAuditDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/destination/HDFSAuditDestination.java
index 07023ba..ebe6ab9 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/destination/HDFSAuditDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/destination/HDFSAuditDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -192,7 +192,7 @@ public class HDFSAuditDestination extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(java.util.Collection)
*/
@@ -222,7 +222,7 @@ public class HDFSAuditDestination extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#start()
*/
@Override
@@ -343,7 +343,7 @@ public class HDFSAuditDestination extends AuditDestination {
if (!rollOverByDuration) {
try {
- if(StringUtils.isEmpty(rolloverPeriod) ) {
+ if(StringUtils.isEmpty(rolloverPeriod) ) {
rolloverPeriod = rollingTimeUtil.convertRolloverSecondsToRolloverPeriod(fileRolloverSec);
}
nextRollOverTime = rollingTimeUtil.computeNextRollingTime(rolloverPeriod);
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/destination/Log4JAuditDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/destination/Log4JAuditDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/destination/Log4JAuditDestination.java
index 9521a4a..4e3338e 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/destination/Log4JAuditDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/destination/Log4JAuditDestination.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java
index 5502b10..57f2f6d 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -270,7 +270,7 @@ public class SolrAuditDestination extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#flush()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/entity/AuthzAuditEventDbObj.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/entity/AuthzAuditEventDbObj.java b/agents-audit/src/main/java/org/apache/ranger/audit/entity/AuthzAuditEventDbObj.java
index ae50137..8735fc6 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/entity/AuthzAuditEventDbObj.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/entity/AuthzAuditEventDbObj.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/model/AuditEventBase.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/model/AuditEventBase.java b/agents-audit/src/main/java/org/apache/ranger/audit/model/AuditEventBase.java
index 09e92b8..b579146 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/model/AuditEventBase.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/model/AuditEventBase.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/model/AuthzAuditEvent.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/model/AuthzAuditEvent.java b/agents-audit/src/main/java/org/apache/ranger/audit/model/AuthzAuditEvent.java
index b3f80cb..b547c43 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/model/AuthzAuditEvent.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/model/AuthzAuditEvent.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/model/EnumRepositoryType.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/model/EnumRepositoryType.java b/agents-audit/src/main/java/org/apache/ranger/audit/model/EnumRepositoryType.java
index 92456a2..eb3e288 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/model/EnumRepositoryType.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/model/EnumRepositoryType.java
@@ -6,9 +6,9 @@
* 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
@@ -33,5 +33,5 @@ public final class EnumRepositoryType {
public static final int STORM = 6 ;
-
+
}
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/AsyncAuditProvider.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/AsyncAuditProvider.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/AsyncAuditProvider.java
index 446ef95..c74a3ea 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/AsyncAuditProvider.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/AsyncAuditProvider.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditMessageException.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditMessageException.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditMessageException.java
index 3ef3e30..3ff04ee 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditMessageException.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditMessageException.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/BaseAuditHandler.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/BaseAuditHandler.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/BaseAuditHandler.java
index fe6d973..b095000 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/BaseAuditHandler.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/BaseAuditHandler.java
@@ -131,7 +131,7 @@ public abstract class BaseAuditHandler implements AuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(org.apache.ranger.
* audit.model.AuditEventBase)
@@ -143,7 +143,7 @@ public abstract class BaseAuditHandler implements AuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#logJSON(java.lang.String)
*/
@@ -156,7 +156,7 @@ public abstract class BaseAuditHandler implements AuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#logJSON(java.util.Collection
* )
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/LocalFileLogBuffer.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/LocalFileLogBuffer.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/LocalFileLogBuffer.java
index a671165..56a24ed 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/LocalFileLogBuffer.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/LocalFileLogBuffer.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogBuffer.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogBuffer.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogBuffer.java
index 204002d..d664692 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogBuffer.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogBuffer.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogDestination.java
index 22b3d05..a9c3af9 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/LogDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -39,7 +39,7 @@ public interface LogDestination<T> {
/**
* Name for the destination
- *
+ *
* @return
*/
String getName();
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java
index d046822..edb1c63 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java
@@ -518,7 +518,7 @@ public class MiscUtil {
return KerberosName.getRules();
}
/**
- *
+ *
* @param principal
* This could be in the format abc/host@domain.com
* @return
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/hdfs/HdfsLogDestination.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/hdfs/HdfsLogDestination.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/hdfs/HdfsLogDestination.java
index f15b57a..c09abb5 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/hdfs/HdfsLogDestination.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/hdfs/HdfsLogDestination.java
@@ -6,9 +6,9 @@
* 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
@@ -51,7 +51,7 @@ public class HdfsLogDestination<T> implements LogDestination<T> {
private DebugTracer mLogger = null;
private FSDataOutputStream mFsDataOutStream = null;
- private OutputStreamWriter mWriter = null;
+ private OutputStreamWriter mWriter = null;
private String mHdfsFilename = null;
private long mNextRolloverTime = 0;
private long mNextFlushTime = 0;
@@ -439,7 +439,7 @@ public class HdfsLogDestination<T> implements LogDestination<T> {
ret = ret.substring(0, extnPos) + strToAppend + extn;
}
-
+
if(fileSystem != null && fileExists(ret, fileSystem)) {
continue;
} else {
@@ -447,7 +447,7 @@ public class HdfsLogDestination<T> implements LogDestination<T> {
}
}
}
-
+
private boolean fileExists(String fileName, FileSystem fileSystem) {
boolean ret = false;
@@ -460,7 +460,7 @@ public class HdfsLogDestination<T> implements LogDestination<T> {
// ignore
}
}
-
+
return ret;
}
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java
index 376865e..8a2bfb6 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java
@@ -6,9 +6,9 @@
* 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
@@ -125,7 +125,7 @@ public class SolrAuditProvider extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(org.apache.ranger.
* audit.model.AuditEventBase)
@@ -232,7 +232,7 @@ public class SolrAuditProvider extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#start()
*/
@Override
@@ -242,7 +242,7 @@ public class SolrAuditProvider extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#stop()
*/
@Override
@@ -253,7 +253,7 @@ public class SolrAuditProvider extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#waitToComplete()
*/
@Override
@@ -269,7 +269,7 @@ public class SolrAuditProvider extends AuditDestination {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#flush()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditAsyncQueue.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditAsyncQueue.java b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditAsyncQueue.java
index 34712bf..f31772a 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditAsyncQueue.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditAsyncQueue.java
@@ -6,9 +6,9 @@
* 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
@@ -49,7 +49,7 @@ public class AuditAsyncQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(org.apache.ranger.
* audit.model.AuditEventBase)
@@ -78,7 +78,7 @@ public class AuditAsyncQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#start()
*/
@Override
@@ -98,7 +98,7 @@ public class AuditAsyncQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#stop()
*/
@Override
@@ -120,7 +120,7 @@ public class AuditAsyncQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see java.lang.Runnable#run()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditBatchQueue.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditBatchQueue.java b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditBatchQueue.java
index 95938f8..a4da4a9 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditBatchQueue.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditBatchQueue.java
@@ -6,9 +6,9 @@
* 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
@@ -49,7 +49,7 @@ public class AuditBatchQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(org.apache.ranger.
* audit.model.AuditEventBase)
@@ -86,7 +86,7 @@ public class AuditBatchQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#start()
*/
@Override
@@ -117,7 +117,7 @@ public class AuditBatchQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#stop()
*/
@Override
@@ -141,7 +141,7 @@ public class AuditBatchQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#waitToComplete()
*/
@Override
@@ -191,7 +191,7 @@ public class AuditBatchQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#flush()
*/
@Override
@@ -204,7 +204,7 @@ public class AuditBatchQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see java.lang.Runnable#run()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java
index c0a05ec..9abd99f 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditFileSpool.java
@@ -6,9 +6,9 @@
* 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
@@ -375,7 +375,7 @@ public class AuditFileSpool implements Runnable {
/**
* If any files are still not processed. Also, if the destination is not
* reachable
- *
+ *
* @return
*/
public boolean isPending() {
@@ -390,7 +390,7 @@ public class AuditFileSpool implements Runnable {
/**
* Milliseconds from last attempt time
- *
+ *
* @return
*/
public long getLastAttemptTimeDelta() {
@@ -458,7 +458,7 @@ public class AuditFileSpool implements Runnable {
/**
* This return the current file. If there are not current open output file,
* then it will return null
- *
+ *
* @return
* @throws Exception
*/
@@ -567,7 +567,7 @@ public class AuditFileSpool implements Runnable {
/**
* Load the index file
- *
+ *
* @throws IOException
*/
void loadIndexFile() throws IOException {
@@ -747,7 +747,7 @@ public class AuditFileSpool implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see java.lang.Runnable#run()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditQueue.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditQueue.java b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditQueue.java
index c5eb3da..e1667a4 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditQueue.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditQueue.java
@@ -6,9 +6,9 @@
* 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
@@ -198,7 +198,7 @@ public abstract class AuditQueue extends BaseAuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#waitToComplete()
*/
@Override
@@ -217,7 +217,7 @@ public abstract class AuditQueue extends BaseAuditHandler {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#flush()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditSummaryQueue.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditSummaryQueue.java b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditSummaryQueue.java
index b4505f1..4c25033 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditSummaryQueue.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/queue/AuditSummaryQueue.java
@@ -6,9 +6,9 @@
* 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
@@ -72,7 +72,7 @@ public class AuditSummaryQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.ranger.audit.provider.AuditProvider#log(org.apache.ranger.
* audit.model.AuditEventBase)
@@ -101,7 +101,7 @@ public class AuditSummaryQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#start()
*/
@Override
@@ -118,7 +118,7 @@ public class AuditSummaryQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see org.apache.ranger.audit.provider.AuditProvider#stop()
*/
@Override
@@ -141,7 +141,7 @@ public class AuditSummaryQueue extends AuditQueue implements Runnable {
/*
* (non-Javadoc)
- *
+ *
* @see java.lang.Runnable#run()
*/
@Override
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/test/TestEvents.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/test/TestEvents.java b/agents-audit/src/main/java/org/apache/ranger/audit/test/TestEvents.java
index e84d6fb..7bfb3bf 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/test/TestEvents.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/test/TestEvents.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-audit/src/main/java/org/apache/ranger/audit/utils/InMemoryJAASConfiguration.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/utils/InMemoryJAASConfiguration.java b/agents-audit/src/main/java/org/apache/ranger/audit/utils/InMemoryJAASConfiguration.java
index 7f08b8f..0f29138 100644
--- a/agents-audit/src/main/java/org/apache/ranger/audit/utils/InMemoryJAASConfiguration.java
+++ b/agents-audit/src/main/java/org/apache/ranger/audit/utils/InMemoryJAASConfiguration.java
@@ -42,13 +42,13 @@ import javax.security.auth.login.AppConfigurationEntry;
import javax.security.auth.login.Configuration;
/**
- * InMemoryJAASConfiguration
- *
+ * InMemoryJAASConfiguration
+ *
* An utility class - which has a static method init to load all JAAS configuration from Application properties file (eg: kafka.properties) and
* set it as part of the default lookup configuration for all JAAS configuration lookup.
- *
+ *
* Example settings in application.properties:
- *
+ *
* xasecure.audit.jaas.KafkaClient.loginModuleName = com.sun.security.auth.module.Krb5LoginModule
* xasecure.audit.jaas.KafkaClient.loginModuleControlFlag = required
* xasecure.audit.jaas.KafkaClient.option.useKeyTab = true
@@ -64,7 +64,7 @@ import javax.security.auth.login.Configuration;
* xasecure.audit.jaas.MyClient.0.option.serviceName = kafka
* xasecure.audit.jaas.MyClient.0.option.keyTab = /etc/security/keytabs/kafka_client.keytab
* xasecure.audit.jaas.MyClient.0.option.principal = kafka-client-1@EXAMPLE.COM
- *
+ *
* xasecure.audit.jaas.MyClient.1.loginModuleName = com.sun.security.auth.module.Krb5LoginModule
* xasecure.audit.jaas.MyClient.1.loginModuleControlFlag = optional
* xasecure.audit.jaas.MyClient.1.option.useKeyTab = true
@@ -176,27 +176,27 @@ public final class InMemoryJAASConfiguration extends Configuration {
} else {
throw new Exception("Failed to load JAAS application properties: configuration NULL or empty!");
}
-
+
LOG.debug("<== InMemoryJAASConfiguration.init()");
}
public static void init(Properties properties) throws Exception {
LOG.debug("==> InMemoryJAASConfiguration.init()");
-
+
if (properties != null && MapUtils.isNotEmpty(properties)) {
InMemoryJAASConfiguration conf = new InMemoryJAASConfiguration(properties);
Configuration.setConfiguration(conf);
} else {
throw new Exception("Failed to load JAAS application properties: properties NULL or empty!");
}
-
+
LOG.debug("<== InMemoryJAASConfiguration.init()");
}
@Override
public AppConfigurationEntry[] getAppConfigurationEntry(String name) {
LOG.trace("==> InMemoryJAASConfiguration.getAppConfigurationEntry( {} )", name);
-
+
AppConfigurationEntry[] ret = null;
if (parent != null) {
ret = parent.getAppConfigurationEntry(name);
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/hadoop/security/KrbPasswordSaverLoginModule.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/hadoop/security/KrbPasswordSaverLoginModule.java b/agents-common/src/main/java/org/apache/hadoop/security/KrbPasswordSaverLoginModule.java
index 6dbbb13..e4f00f0 100644
--- a/agents-common/src/main/java/org/apache/hadoop/security/KrbPasswordSaverLoginModule.java
+++ b/agents-common/src/main/java/org/apache/hadoop/security/KrbPasswordSaverLoginModule.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/hadoop/security/SecureClientLogin.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/hadoop/security/SecureClientLogin.java b/agents-common/src/main/java/org/apache/hadoop/security/SecureClientLogin.java
index ce78cbe..a9f4da6 100644
--- a/agents-common/src/main/java/org/apache/hadoop/security/SecureClientLogin.java
+++ b/agents-common/src/main/java/org/apache/hadoop/security/SecureClientLogin.java
@@ -6,9 +6,9 @@
* 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
@@ -123,7 +123,7 @@ public class SecureClientLogin {
isValid = true;
}
} else {
- LOG.warn("Can't find keyTab Path : "+keytabPath);
+ LOG.warn("Can't find keyTab Path : "+keytabPath);
}
if (!(principal != null && !principal.isEmpty() && isValid)) {
isValid = false;
@@ -143,13 +143,13 @@ public class SecureClientLogin {
return replacePattern(components, hostName);
}
}
-
+
private static String[] getComponents(String principalConfig) {
if (principalConfig == null)
return null;
return principalConfig.split("[/@]");
}
-
+
private static String replacePattern(String[] components, String hostname)
throws IOException {
String fqdn = hostname;
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminClient.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminClient.java b/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminClient.java
index a2fce08..5ae9854 100644
--- a/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminClient.java
+++ b/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminClient.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminRESTClient.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminRESTClient.java b/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminRESTClient.java
index 5f8acfe..6ec44c4 100644
--- a/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminRESTClient.java
+++ b/agents-common/src/main/java/org/apache/ranger/admin/client/RangerAdminRESTClient.java
@@ -6,9 +6,9 @@
* 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
@@ -40,7 +40,7 @@ import java.util.List;
public class RangerAdminRESTClient implements RangerAdminClient {
private static final Log LOG = LogFactory.getLog(RangerAdminRESTClient.class);
-
+
private String serviceName = null;
private String pluginId = null;
private RangerRESTClient restClient = null;
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/ranger/admin/client/datatype/GrantRevokeData.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/admin/client/datatype/GrantRevokeData.java b/agents-common/src/main/java/org/apache/ranger/admin/client/datatype/GrantRevokeData.java
index b9496be..e13a6bb 100644
--- a/agents-common/src/main/java/org/apache/ranger/admin/client/datatype/GrantRevokeData.java
+++ b/agents-common/src/main/java/org/apache/ranger/admin/client/datatype/GrantRevokeData.java
@@ -6,9 +6,9 @@
* 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
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfigConstants.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfigConstants.java b/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfigConstants.java
index 69b030c..1ad34ef 100644
--- a/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfigConstants.java
+++ b/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfigConstants.java
@@ -6,9 +6,9 @@
* 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
@@ -41,7 +41,7 @@ public class RangerConfigConstants {
public static final String XASECURE_AUDIT_FILE = "xasecure-audit.xml";
public static final String XASECURE_SECURITY_FILE = "xasecure-<ServiceType>-security.xml";
public static final String XASECURE_POLICYMGR_SSL_FILE = "/etc/<ServiceType>/conf/xasecure-policymgr-ssl.xml";
-
+
//KNOX
public static final String RANGER_KNOX_PLUGIN_POLICY_SOURCE_IMPL_DEFAULT = "org.apache.ranger.admin.client.RangerAdminJersey2RESTClient";
}
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/09700f35/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java b/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java
index 2a4241c..ffe352e 100644
--- a/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java
+++ b/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java
@@ -6,9 +6,9 @@
* 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