Sentry 1.7.0 API Changes

This page lists the API changes that occurred between Sentry 1.6.0 and Sentry 1.7.0:

Added Classes

org.apache.sentry.binding.metastore.AuthorizingObjectStoreBase
          org.apache.sentry.binding.metastore.SentryMetastorePostEventListenerBase
          org.apache.sentry.binding.hive.v2.HiveAuthzBindingHookV2
          org.apache.sentry.binding.hive.v2.HiveAuthzBindingSessionHookV2
          org.apache.sentry.binding.hive.v2.HiveAuthzPrivilegesMapV2
          org.apache.sentry.binding.hive.v2.SentryAuthorizerFactory
          org.apache.sentry.binding.hive.v2.SentryHiveAuthorizationTaskFactoryImplV2
          org.apache.sentry.binding.hive.v2.SentryHivePrivilegeObject
          org.apache.sentry.binding.hive.v2.authorizer.DefaultSentryAccessController
          org.apache.sentry.binding.hive.v2.authorizer.DefaultSentryValidator
          org.apache.sentry.binding.hive.v2.authorizer.SentryHiveAuthorizer
          org.apache.sentry.binding.hive.v2.metastore.AuthorizingObjectStoreV2
          org.apache.sentry.binding.hive.v2.metastore.MetastoreAuthzBindingV2
          org.apache.sentry.binding.hive.v2.metastore.SentryMetastorePostEventListenerV2
          org.apache.sentry.binding.hive.v2.util.SentryAuthorizerUtil
          org.apache.sentry.binding.hive.v2.util.SimpleSemanticAnalyzer
          org.apache.sentry.binding.hive.v2.DummyHiveAuthenticationProvider
          org.apache.sentry.binding.hive.v2.HiveAuthzBindingHook
          org.apache.sentry.binding.hive.v2.MetastoreAuthzBinding
          org.apache.sentry.kafka.ConvertUtil
          org.apache.sentry.kafka.authorizer.SentryKafkaAuthorizer
          org.apache.sentry.kafka.binding.KafkaAuthBinding
          org.apache.sentry.kafka.binding.KafkaAuthBindingSingleton
          org.apache.sentry.kafka.conf.KafkaAuthConf
          org.apache.sentry.kafka.MockGroupMappingServiceProvider
          org.apache.sentry.core.model.kafka.Cluster
          org.apache.sentry.core.model.kafka.ConsumerGroup
          org.apache.sentry.core.model.kafka.Host
          org.apache.sentry.core.model.kafka.KafkaActionConstant
          org.apache.sentry.core.model.kafka.KafkaActionFactory
          org.apache.sentry.core.model.kafka.Topic
          org.apache.sentry.policy.common.KeyValue
          org.apache.sentry.policy.common.PolicyConstants
          org.apache.sentry.policy.kafka.KafkaModelAuthorizables
          org.apache.sentry.policy.kafka.KafkaPrivilegeValidator
          org.apache.sentry.policy.kafka.KafkaWildcardPrivilege
          org.apache.sentry.policy.kafka.SimpleKafkaPolicyEngine
          org.apache.sentry.policy.kafka.KafkaPolicyFileProviderBackend
          org.apache.sentry.policy.kafka.MockGroupMappingServiceProvider
          org.apache.sentry.provider.cache.SimplePrivilegeCache
          org.apache.sentry.provider.common.SentryGroupNotFoundException
          org.apache.sentry.provider.db.generic.service.thrift.TListSentryPrivilegesByAuthRequest
          org.apache.sentry.provider.db.generic.service.thrift.TListSentryPrivilegesByAuthResponse
          org.apache.sentry.provider.db.generic.service.thrift.TSentryPrivilegeMap
          org.apache.sentry.provider.db.generic.service.thrift.SentryGenericPolicyProcessorWrapper
          org.apache.sentry.provider.db.generic.tools.SentryShellKafka
          org.apache.sentry.provider.db.generic.tools.SentryShellSolr
          org.apache.sentry.provider.db.generic.tools.command.AddRoleToGroupCmd
          org.apache.sentry.provider.db.generic.tools.command.CreateRoleCmd
          org.apache.sentry.provider.db.generic.tools.command.DeleteRoleFromGroupCmd
          org.apache.sentry.provider.db.generic.tools.command.DropRoleCmd
          org.apache.sentry.provider.db.generic.tools.command.GrantPrivilegeToRoleCmd
          org.apache.sentry.provider.db.generic.tools.command.ListPrivilegesByRoleCmd
          org.apache.sentry.provider.db.generic.tools.command.ListRolesCmd
          org.apache.sentry.provider.db.generic.tools.command.RevokePrivilegeFromRoleCmd
          org.apache.sentry.provider.db.log.entity.DBAuditMetadataLogEntity
          org.apache.sentry.provider.db.log.entity.GMAuditMetadataLogEntity
          org.apache.sentry.provider.db.service.thrift.ConfServlet
          org.apache.sentry.provider.db.tools.SentryShellHive
          org.apache.sentry.provider.db.tools.command.hive.CommandUtil
          org.apache.sentry.provider.db.tools.command.hive.CreateRoleCmd
          org.apache.sentry.provider.db.tools.command.hive.DropRoleCmd
          org.apache.sentry.provider.db.tools.command.hive.GrantPrivilegeToRoleCmd
          org.apache.sentry.provider.db.tools.command.hive.GrantRoleToGroupsCmd
          org.apache.sentry.provider.db.tools.command.hive.ListPrivilegesCmd
          org.apache.sentry.provider.db.tools.command.hive.ListRolesCmd
          org.apache.sentry.provider.db.tools.command.hive.RevokePrivilegeFromRoleCmd
          org.apache.sentry.provider.db.tools.command.hive.RevokeRoleFromGroupsCmd
          org.apache.sentry.provider.db.generic.service.thrift.SentryGenericServiceIntegrationBase
        

Added Interfaces

org.apache.sentry.core.model.kafka.KafkaAuthorizable extends Authorizable
          org.apache.sentry.provider.db.generic.tools.command.Command
          org.apache.sentry.provider.db.generic.tools.command.TSentryPrivilegeConvertor
          org.apache.sentry.provider.db.tools.command.hive.Command
        

Changed API

org.apache.hadoop.hive.SentryHiveConstants
          org.apache.hadoop.hive.ql.exec.SentryFilterDDLTask
          org.apache.hadoop.hive.ql.exec.SentryHivePrivilegeObjectDesc
          org.apache.sentry.binding.hive.HiveAuthzBindingHook
          org.apache.sentry.binding.hive.SentryHiveAuthorizationTaskFactoryImpl
          org.apache.sentry.binding.hive.SentryIniPolicyFileFormatter
          org.apache.sentry.binding.hive.SentryOnFailureHookContext
          org.apache.sentry.binding.hive.SentryOnFailureHookContextImpl
          org.apache.sentry.binding.hive.SentryPolicyFileFormatFactory
          org.apache.sentry.binding.hive.SentryPolicyFileFormatter
          org.apache.sentry.binding.hive.authz.HiveAuthzBinding
          org.apache.sentry.binding.hive.authz.HiveAuthzPrivileges
          org.apache.sentry.binding.hive.authz.SentryConfigTool
          org.apache.sentry.binding.hive.conf.HiveAuthzConf
          org.apache.sentry.binding.hive.conf.InvalidConfigurationException
          org.apache.sentry.binding.metastore.MetastoreAuthzBinding
          org.apache.sentry.binding.metastore.SentryHiveMetaStoreClient
          org.apache.sentry.binding.metastore.SentryMetaStoreFilterHook
          org.apache.sentry.Command
          org.apache.sentry.core.common.Action
          org.apache.sentry.core.common.Authorizable
          org.apache.sentry.core.model.db.DBModelAuthorizable
          org.apache.sentry.core.model.indexer.IndexerModelAuthorizable
          org.apache.sentry.core.model.search.SearchConstants
          org.apache.sentry.core.model.search.SearchModelAuthorizable
          org.apache.sentry.core.model.sqoop.SqoopAuthorizable
          org.apache.sentry.policy.common.PolicyEngine
          org.apache.sentry.policy.common.Privilege
          org.apache.sentry.policy.common.PrivilegeValidator
          org.apache.sentry.provider.cache.PrivilegeCache
          org.apache.sentry.provider.cache.SimpleCacheProviderBackend
          org.apache.sentry.provider.common.AuthorizationProvider
          org.apache.sentry.provider.common.GroupMappingService
          org.apache.sentry.provider.common.HadoopGroupResourceAuthorizationProvider
          org.apache.sentry.provider.common.KeyValue
          org.apache.sentry.provider.common.ProviderBackend
          org.apache.sentry.provider.common.ProviderConstants
          org.apache.sentry.provider.db.SentryPolicyStorePlugin
          org.apache.sentry.provider.db.SimpleDBProviderBackend
          org.apache.sentry.provider.db.generic.SentryGenericProviderBackend
          org.apache.sentry.provider.db.generic.service.persistent.PrivilegeOperatePersistence
          org.apache.sentry.provider.db.generic.service.persistent.SentryStoreLayer
          org.apache.sentry.provider.db.log.entity.AuditMetadataLogEntity
          org.apache.sentry.provider.db.log.entity.JsonLogEntity
          org.apache.sentry.provider.db.log.util.CommandUtil
          org.apache.sentry.provider.db.service.model.MSentryPrivilege
          org.apache.sentry.provider.file.PolicyFile
          org.apache.sentry.core.model.db.Column
          org.apache.sentry.hdfs.SentryHDFSServiceProcessor
          org.apache.sentry.provider.common.AuthorizationComponent
          org.apache.sentry.provider.common.NoAuthorizationProvider
          org.apache.sentry.provider.common.ResourceAuthorizationProvider
          org.apache.sentry.provider.db.generic.service.persistent.DelegateSentryStore
          org.apache.sentry.provider.db.log.entity.JsonLogEntityFactory
          org.apache.sentry.provider.db.log.util.Constants
          org.apache.sentry.provider.db.service.persistent.SentryStore
          org.apache.sentry.provider.db.service.persistent.ServiceRegister
          org.apache.sentry.provider.db.tools.SentrySchemaTool
        

Removed Classes

org.apache.sentry.provider.common.ProviderConstants

Deprecated Classes

org.apache.sentry.provider.file.HadoopGroupResourceAuthorizationProvider

Deprecated Methods

org.apache.sentry.provider.db.service.thrift.SentryPolicyServiceClientDefaultImpl#grantServerPrivilege