Class ImpersonatingHdfsAuthentication
- java.lang.Object
-
- io.trino.plugin.hive.authentication.ImpersonatingHdfsAuthentication
-
- All Implemented Interfaces:
HdfsAuthentication
public class ImpersonatingHdfsAuthentication extends Object implements HdfsAuthentication
-
-
Constructor Summary
Constructors Constructor Description ImpersonatingHdfsAuthentication(HadoopAuthentication hadoopAuthentication, UserNameProvider userNameProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,E extends Exception>
RdoAs(ConnectorIdentity identity, GenericExceptionAction<R,E> action)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.plugin.hive.authentication.HdfsAuthentication
doAs
-
-
-
-
Constructor Detail
-
ImpersonatingHdfsAuthentication
@Inject public ImpersonatingHdfsAuthentication(HadoopAuthentication hadoopAuthentication, UserNameProvider userNameProvider)
-
-
Method Detail
-
doAs
public <R,E extends Exception> R doAs(ConnectorIdentity identity, GenericExceptionAction<R,E> action) throws E extends Exception
- Specified by:
doAsin interfaceHdfsAuthentication- Throws:
E extends Exception
-
-