## Uses of Class
org.apache.hadoop.security.UserGroupInformation

Packages that use UserGroupInformation
org.apache.hadoop.fs: An abstract file system API.
org.apache.hadoop.ipc: Tools to help define network clients and servers.
org.apache.hadoop.mapreduce
org.apache.hadoop.mapreduce.security.token
org.apache.hadoop.security
org.apache.hadoop.security.authorize
org.apache.hadoop.security.token
org.apache.hadoop.security.token.delegation

Uses of UserGroupInformation in org.apache.hadoop.fs

Methods in org.apache.hadoop.fs with parameters of type UserGroupInformation
`static void` `FileSystem.closeAllForUGI(UserGroupInformation ugi)` Close all cached filesystems for a given UGI.

Uses of UserGroupInformation in org.apache.hadoop.ipc

Fields in org.apache.hadoop.ipc declared as UserGroupInformation
`UserGroupInformation` `Server.Connection.attemptingUser`

Methods in org.apache.hadoop.ipc with parameters of type UserGroupInformation
`void` `Server.authorize(UserGroupInformation user, org.apache.hadoop.ipc.ConnectionHeader connection, InetAddress addr)` Authorize the incoming client connection.
`static Object[]` `RPC.call(Method method, Object[][] params, InetSocketAddress[] addrs, UserGroupInformation ticket, Configuration conf)` Expert: Make multiple, parallel calls to a set of servers.
`Writable[]` `Client.call(Writable[] params, InetSocketAddress[] addresses, Class<?> protocol, UserGroupInformation ticket)` Deprecated. Use `Client.call(Writable[], InetSocketAddress[], Class, UserGroupInformation, Configuration)` instead
`Writable[]` `Client.call(Writable[] params, InetSocketAddress[] addresses, Class<?> protocol, UserGroupInformation ticket, Configuration conf)` Makes a set of calls in parallel.
`Writable` `Client.call(Writable param, InetSocketAddress addr, Class<?> protocol, UserGroupInformation ticket, int rpcTimeout)` Deprecated. Use `Client.call(Writable, ConnectionId)` instead
`Writable` `Client.call(Writable param, InetSocketAddress addr, Class<?> protocol, UserGroupInformation ticket, int rpcTimeout, Configuration conf)` Make a call, passing `param`, to the IPC server running at `address` which is servicing the `protocol` protocol, with the `ticket` credentials, `rpcTimeout` as timeout and `conf` as configuration for this connection, returning the value.
`Writable` `Client.call(Writable param, InetSocketAddress addr, UserGroupInformation ticket)` Deprecated. Use `Client.call(Writable, ConnectionId)` instead
`static VersionedProtocol` `RPC.getProxy(Class<? extends VersionedProtocol> protocol, long clientVersion, InetSocketAddress addr, UserGroupInformation ticket, Configuration conf, SocketFactory factory)` Construct a client-side proxy object that implements the named protocol, talking to a server at the named address.
`static VersionedProtocol` `RPC.getProxy(Class<? extends VersionedProtocol> protocol, long clientVersion, InetSocketAddress addr, UserGroupInformation ticket, Configuration conf, SocketFactory factory, int rpcTimeout)` Construct a client-side proxy object that implements the named protocol, talking to a server at the named address.

Uses of UserGroupInformation in org.apache.hadoop.mapreduce

Fields in org.apache.hadoop.mapreduce declared as UserGroupInformation
`protected UserGroupInformation` `JobContext.ugi` The UserGroupInformation object that has a reference to the current user

Uses of UserGroupInformation in org.apache.hadoop.mapreduce.security.token

Methods in org.apache.hadoop.mapreduce.security.token that return UserGroupInformation
`UserGroupInformation` `JobTokenIdentifier.getUser()` Get the Ugi with the username encoded in the token identifier

Uses of UserGroupInformation in org.apache.hadoop.security

Methods in org.apache.hadoop.security that return UserGroupInformation
`static UserGroupInformation` `UserGroupInformation.createProxyUser(String user, UserGroupInformation realUser)` Create a proxy user using username of the effective user and the ugi of the real user.
`static UserGroupInformation` `UserGroupInformation.createProxyUserForTesting(String user, UserGroupInformation realUser, String[] userGroups)` Create a proxy user UGI for testing HDFS and MapReduce
`static UserGroupInformation` `UserGroupInformation.createRemoteUser(String user)` Create a user from a login name.
`static UserGroupInformation` `UserGroupInformation.createUserForTesting(String user, String[] userGroups)` Create a UGI for testing HDFS and MapReduce
`static UserGroupInformation` `UserGroupInformation.getCurrentUser()` Return the current user, including any doAs in the current stack.
`static UserGroupInformation` `UserGroupInformation.getLoginUser()` Get the currently logged in user.
`UserGroupInformation` `UserGroupInformation.getRealUser()` get RealUser (vs.
`static UserGroupInformation` `UserGroupInformation.loginUserFromKeytabAndReturnUGI(String user, String path)` Log a user in from a keytab file.

Methods in org.apache.hadoop.security with parameters of type UserGroupInformation
`static UserGroupInformation` `UserGroupInformation.createProxyUser(String user, UserGroupInformation realUser)` Create a proxy user using username of the effective user and the ugi of the real user.
`static UserGroupInformation` `UserGroupInformation.createProxyUserForTesting(String user, UserGroupInformation realUser, String[] userGroups)` Create a proxy user UGI for testing HDFS and MapReduce

Uses of UserGroupInformation in org.apache.hadoop.security.authorize

Methods in org.apache.hadoop.security.authorize with parameters of type UserGroupInformation
`static void` `ServiceAuthorizationManager.authorize(UserGroupInformation user, Class<?> protocol, Configuration conf, InetAddress addr)` Authorize the user to access the protocol being used.
`static void` `ProxyUsers.authorize(UserGroupInformation user, String remoteAddress, Configuration newConf)` Authorize the superuser which is doing doAs
`boolean` `AccessControlList.isUserAllowed(UserGroupInformation ugi)`

Uses of UserGroupInformation in org.apache.hadoop.security.token

Methods in org.apache.hadoop.security.token that return UserGroupInformation
`abstract UserGroupInformation` `TokenIdentifier.getUser()` Get the Ugi with the username encoded in the token identifier

Uses of UserGroupInformation in org.apache.hadoop.security.token.delegation

Methods in org.apache.hadoop.security.token.delegation that return UserGroupInformation
`UserGroupInformation` `AbstractDelegationTokenIdentifier.getUser()` Get the username encoded in the token identifier

Copyright © 2009 The Apache Software Foundation