blob: bcb0994bcd04afeb0aed5786559aa85f4a6e2db1 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Tue Jun 15 06:02:24 GMT 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.hadoop.security.UserGroupInformation (Apache Hadoop Common 3.3.1 API)</title>
<meta name="date" content="2021-06-15">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.hadoop.security.UserGroupInformation (Apache Hadoop Common 3.3.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/security/class-use/UserGroupInformation.html" target="_top">Frames</a></li>
<li><a href="UserGroupInformation.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.hadoop.security.UserGroupInformation" class="title">Uses of Class<br>org.apache.hadoop.security.UserGroupInformation</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.hadoop.fs">org.apache.hadoop.fs</a></td>
<td class="colLast">
<div class="block">An abstract file system API.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.hadoop.ipc">org.apache.hadoop.ipc</a></td>
<td class="colLast">
<div class="block">Tools to help define network clients and servers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.hadoop.security">org.apache.hadoop.security</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.hadoop.security.authorize">org.apache.hadoop.security.authorize</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.hadoop.security.token">org.apache.hadoop.security.token</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.hadoop.security.token.delegation">org.apache.hadoop.security.token.delegation</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.hadoop.util">org.apache.hadoop.util</a></td>
<td class="colLast">
<div class="block">Common utilities.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.hadoop.fs">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in <a href="../../../../../org/apache/hadoop/fs/package-summary.html">org.apache.hadoop.fs</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/fs/package-summary.html">org.apache.hadoop.fs</a> that return <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">FileContext.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/FileContext.html#getUgi--">getUgi</a></span>()</code>
<div class="block">Gets the ugi in the file-context</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/fs/package-summary.html">org.apache.hadoop.fs</a> with parameters of type <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">FileSystem.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/FileSystem.html#closeAllForUGI-org.apache.hadoop.security.UserGroupInformation-">closeAllForUGI</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi)</code>
<div class="block">Close all cached FileSystem instances for a given UGI.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.ipc">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in org.apache.hadoop.ipc</h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in org.apache.hadoop.ipc with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">Server.Connection.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/Server.Connection.html#attemptingUser">attemptingUser</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in org.apache.hadoop.ipc with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">Server.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/Server.html#getRemoteUser--">getRemoteUser</a></span>()</code>
<div class="block">Returns the RPC remote user when invoked inside an RPC.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">Server.Call.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/Server.Call.html#getRemoteUser--">getRemoteUser</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">ExternalCall.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ExternalCall.html#getRemoteUser--">getRemoteUser</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">Server.Call.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/Server.Call.html#getUserGroupInformation--">getUserGroupInformation</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in org.apache.hadoop.ipc with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine2.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine2.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">RpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/RpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>
<div class="block">Construct a client-side proxy object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">WritableRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/WritableRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Construct a client-side proxy object that implements the named protocol,
talking to a server at the named address.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine2.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">RpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/RpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>
<div class="block">Construct a client-side proxy object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtobufRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../org/apache/hadoop/ipc/ProtocolProxy.html" title="class in org.apache.hadoop.ipc">ProtocolProxy</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">WritableRpcEngine.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/WritableRpcEngine.html#getProxy-java.lang.Class-long-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">getProxy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;protocol,
long&nbsp;clientVersion,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Construct a client-side proxy object that implements the named protocol,
talking to a server at the named address.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in org.apache.hadoop.ipc with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine2.Invoker.html#Invoker-java.lang.Class-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">Invoker</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;protocol,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/ipc/ProtobufRpcEngine.Invoker.html#Invoker-java.lang.Class-java.net.InetSocketAddress-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.conf.Configuration-javax.net.SocketFactory-int-org.apache.hadoop.io.retry.RetryPolicy-java.util.concurrent.atomic.AtomicBoolean-org.apache.hadoop.ipc.AlignmentContext-">Invoker</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;protocol,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;addr,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ticket,
<a href="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</a>&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/net/SocketFactory.html?is-external=true" title="class or interface in javax.net">SocketFactory</a>&nbsp;factory,
int&nbsp;rpcTimeout,
<a href="../../../../../org/apache/hadoop/io/retry/RetryPolicy.html" title="interface in org.apache.hadoop.io.retry">RetryPolicy</a>&nbsp;connectionRetryPolicy,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a>&nbsp;fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext&nbsp;alignmentContext)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.security">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in <a href="../../../../../org/apache/hadoop/security/package-summary.html">org.apache.hadoop.security</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/security/package-summary.html">org.apache.hadoop.security</a> that return <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createProxyUser-java.lang.String-org.apache.hadoop.security.UserGroupInformation-">createProxyUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;realUser)</code>
<div class="block">Create a proxy user using username of the effective user and the ugi of the
real user.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createProxyUserForTesting-java.lang.String-org.apache.hadoop.security.UserGroupInformation-java.lang.String:A-">createProxyUserForTesting</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;realUser,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;userGroups)</code>
<div class="block">Create a proxy user UGI for testing HDFS and MapReduce</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createRemoteUser-java.lang.String-">createRemoteUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user)</code>
<div class="block">Create a user from a login name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createRemoteUser-java.lang.String-org.apache.hadoop.security.SaslRpcServer.AuthMethod-">createRemoteUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="../../../../../org/apache/hadoop/security/SaslRpcServer.AuthMethod.html" title="enum in org.apache.hadoop.security">SaslRpcServer.AuthMethod</a>&nbsp;authMethod)</code>
<div class="block">Create a user from a login name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createUserForTesting-java.lang.String-java.lang.String:A-">createUserForTesting</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;userGroups)</code>
<div class="block">Create a UGI for testing HDFS and MapReduce</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getBestUGI-java.lang.String-java.lang.String-">getBestUGI</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ticketCachePath,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user)</code>
<div class="block">Find the most appropriate UserGroupInformation to use</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getCurrentUser--">getCurrentUser</a></span>()</code>
<div class="block">Return the current user, including any doAs in the current stack.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getLoginUser--">getLoginUser</a></span>()</code>
<div class="block">Get the currently logged in user.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getRealUser--">getRealUser</a></span>()</code>
<div class="block">get RealUser (vs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getUGIFromSubject-javax.security.auth.Subject-">getUGIFromSubject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth">Subject</a>&nbsp;subject)</code>
<div class="block">Create a UserGroupInformation from a Subject with Kerberos principal.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getUGIFromTicketCache-java.lang.String-java.lang.String-">getUGIFromTicketCache</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ticketCache,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user)</code>
<div class="block">Create a UserGroupInformation from a Kerberos ticket cache.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#loginUserFromKeytabAndReturnUGI-java.lang.String-java.lang.String-">loginUserFromKeytabAndReturnUGI</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Log a user in from a keytab file.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/security/package-summary.html">org.apache.hadoop.security</a> with parameters of type <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createProxyUser-java.lang.String-org.apache.hadoop.security.UserGroupInformation-">createProxyUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;realUser)</code>
<div class="block">Create a proxy user using username of the effective user and the ugi of the
real user.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#createProxyUserForTesting-java.lang.String-org.apache.hadoop.security.UserGroupInformation-java.lang.String:A-">createProxyUserForTesting</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;user,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;realUser,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;userGroups)</code>
<div class="block">Create a proxy user UGI for testing HDFS and MapReduce</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">KDiag.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/KDiag.html#dumpTokens-org.apache.hadoop.security.UserGroupInformation-">dumpTokens</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi)</code>
<div class="block">Dump all tokens of a UGI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.AuthenticationMethod.html" title="enum in org.apache.hadoop.security">UserGroupInformation.AuthenticationMethod</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#getRealAuthenticationMethod-org.apache.hadoop.security.UserGroupInformation-">getRealAuthenticationMethod</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi)</code>
<div class="block">Returns the authentication method of a ugi.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">UserGroupInformation.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html#logAllUserInfo-org.apache.hadoop.security.UserGroupInformation-">logAllUserInfo</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi)</code>
<div class="block">Log all (current, real, login) UGI and token info into UGI debug log.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.security.authorize">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in <a href="../../../../../org/apache/hadoop/security/authorize/package-summary.html">org.apache.hadoop.security.authorize</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/security/authorize/package-summary.html">org.apache.hadoop.security.authorize</a> with parameters of type <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">DefaultImpersonationProvider.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/authorize/DefaultImpersonationProvider.html#authorize-org.apache.hadoop.security.UserGroupInformation-java.net.InetAddress-">authorize</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;user,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a>&nbsp;remoteAddress)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ImpersonationProvider.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/authorize/ImpersonationProvider.html#authorize-org.apache.hadoop.security.UserGroupInformation-java.net.InetAddress-">authorize</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;user,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a>&nbsp;remoteAddress)</code>
<div class="block">Authorize the superuser which is doing doAs.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>default void</code></td>
<td class="colLast"><span class="typeNameLabel">ImpersonationProvider.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/authorize/ImpersonationProvider.html#authorize-org.apache.hadoop.security.UserGroupInformation-java.lang.String-">authorize</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;user,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteAddress)</code>
<div class="block">Authorize the superuser which is doing doAs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">AccessControlList.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/authorize/AccessControlList.html#isUserAllowed-org.apache.hadoop.security.UserGroupInformation-">isUserAllowed</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">AccessControlList.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/authorize/AccessControlList.html#isUserInList-org.apache.hadoop.security.UserGroupInformation-">isUserInList</a></span>(<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi)</code>
<div class="block">Checks if a user represented by the provided <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security"><code>UserGroupInformation</code></a>
is a member of the Access Control List</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.security.token">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in <a href="../../../../../org/apache/hadoop/security/token/package-summary.html">org.apache.hadoop.security.token</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/security/token/package-summary.html">org.apache.hadoop.security.token</a> that return <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">TokenIdentifier.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/token/TokenIdentifier.html#getUser--">getUser</a></span>()</code>
<div class="block">Get the Ugi with the username encoded in the token identifier</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.security.token.delegation">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in org.apache.hadoop.security.token.delegation</h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in org.apache.hadoop.security.token.delegation with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">AbstractDelegationTokenIdentifier.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.html#getUser--">getUser</a></span>()</code>
<div class="block">Get the username encoded in the token identifier</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.util">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a> in <a href="../../../../../org/apache/hadoop/util/package-summary.html">org.apache.hadoop.util</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/util/package-summary.html">org.apache.hadoop.util</a> that return <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">ProtoUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/util/ProtoUtil.html#getUgi-org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto-">getUgi</a></span>(<a href="../../../../../org/apache/hadoop/ipc/protobuf/IpcConnectionContextProtos.IpcConnectionContextProto.html" title="class in org.apache.hadoop.ipc.protobuf">IpcConnectionContextProtos.IpcConnectionContextProto</a>&nbsp;context)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></code></td>
<td class="colLast"><span class="typeNameLabel">ProtoUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/util/ProtoUtil.html#getUgi-org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto-">getUgi</a></span>(<a href="../../../../../org/apache/hadoop/ipc/protobuf/IpcConnectionContextProtos.UserInformationProto.html" title="class in org.apache.hadoop.ipc.protobuf">IpcConnectionContextProtos.UserInformationProto</a>&nbsp;userInfo)</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/hadoop/util/package-summary.html">org.apache.hadoop.util</a> with parameters of type <a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/ipc/protobuf/IpcConnectionContextProtos.IpcConnectionContextProto.html" title="class in org.apache.hadoop.ipc.protobuf">IpcConnectionContextProtos.IpcConnectionContextProto</a></code></td>
<td class="colLast"><span class="typeNameLabel">ProtoUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/util/ProtoUtil.html#makeIpcConnectionContext-java.lang.String-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.security.SaslRpcServer.AuthMethod-">makeIpcConnectionContext</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;protocol,
<a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">UserGroupInformation</a>&nbsp;ugi,
<a href="../../../../../org/apache/hadoop/security/SaslRpcServer.AuthMethod.html" title="enum in org.apache.hadoop.security">SaslRpcServer.AuthMethod</a>&nbsp;authMethod)</code>
<div class="block">This method creates the connection context using exactly the same logic
as the old connection context as was done for writable where
the effective and real users are set based on the auth method.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/hadoop/security/UserGroupInformation.html" title="class in org.apache.hadoop.security">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/security/class-use/UserGroupInformation.html" target="_top">Frames</a></li>
<li><a href="UserGroupInformation.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2021 <a href="https://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>