org.apache.hadoop.hive.ql.security.authorization
Class AuthorizationPreEventListener
java.lang.Object
org.apache.hadoop.hive.metastore.MetaStorePreEventListener
org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable
public class AuthorizationPreEventListener
- extends MetaStorePreEventListener
AuthorizationPreEventListener : A MetaStorePreEventListener that
performs authorization/authentication checks on the metastore-side.
Note that this can only perform authorization checks on defined
metastore PreEventContexts, such as the adding/dropping and altering
of databases, tables and partitions.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
AuthorizationPreEventListener
public AuthorizationPreEventListener(org.apache.hadoop.conf.Configuration config)
throws HiveException
- Throws:
HiveException
onEvent
public void onEvent(PreEventContext context)
throws MetaException,
NoSuchObjectException,
InvalidOperationException
- Specified by:
onEvent
in class MetaStorePreEventListener
- Throws:
MetaException
NoSuchObjectException
InvalidOperationException
Copyright © 2011 The Apache Software Foundation