- getCurrentUser
Return the current user, including any doAs in the current stack.
- doAs
Run the given action as the user, potentially throwing an exception.
- getShortUserName
Get the user's login name.
- getUserName
Get the user's full principal name.
- isSecurityEnabled
Determine if UserGroupInformation is using Kerberos to determine user identities
or is relying on si
- setConfiguration
Set the static configuration for UGI. In particular, set the security
authentication mechanism and t
- getLoginUser
Get the currently logged in user.
- createRemoteUser
Create a user from a login name. It is intended to be used for remote users in
RPC, since it won't h
- loginUserFromKeytab
Log a user in from a keytab file. Loads a user identity from a keytab file and
logs them in. They be
- createProxyUser
Create a proxy user using username of the effective user and the ugi of the real
user.
- addToken
Add a token to this UGI
- getCredentials
Obtain the tokens in credentials form associated with this user.