org.apache.hadoop.hive.ql.security
Interface HiveMetastoreAuthenticationProvider
- All Superinterfaces:
- org.apache.hadoop.conf.Configurable, HiveAuthenticationProvider
- All Known Implementing Classes:
- HadoopDefaultMetastoreAuthenticator
public interface HiveMetastoreAuthenticationProvider
- extends HiveAuthenticationProvider
HiveMetastoreAuthenticationProvider is an interface extension
from HiveAuthenticationProvider for authentication from the
metastore side. The implementation should return userNames
and groupNames, and take care that if the metastore is running
a particular command as a user, it returns that user.
Method Summary |
void |
setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
Allows invoker of HiveMetastoreAuthenticationProvider to send in a
hive metastore handler that can be used to provide data for any
authentication that needs to be done. |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
setMetaStoreHandler
void setMetaStoreHandler(HiveMetaStore.HMSHandler handler)
- Allows invoker of HiveMetastoreAuthenticationProvider to send in a
hive metastore handler that can be used to provide data for any
authentication that needs to be done.
- Parameters:
handler
-
Copyright © 2014 The Apache Software Foundation. All rights reserved.