org.apache.hadoop.security.UserGroupInformation
Description: JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.
Keywords: diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet

`hadoop 0.20.2-cdh3u4` | Overview | Package | Class | Statistics | Help
| Generated by JDiff
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS

## Class org.apache.hadoop.security.`UserGroupInformation`

Removed interface `org.apache.hadoop.io.Writable`.

Changed from abstract to non-abstract.

Removed Constructors
`UserGroupInformation`() |

Removed Methods
`UserGroupInformation` `getCurrentUGI`() | @return the UserGroupInformation for the current thread
`UserGroupInformation` `login`(`Configuration`) | Login and return a UserGroupInformation object.
`UserGroupInformation` `readFrom`(`Configuration`) | Read a UserGroupInformation from conf
`void` `setCurrentUGI`(`UserGroupInformation`) | Set the UserGroupInformation for the current thread

Added Methods
`boolean` `addToken`(`Token`) | Add a token to this UGI
`boolean` `addTokenIdentifier`(`TokenIdentifier`) | Add a TokenIdentifier to this UGI.
`void` `checkTGTAndReloginFromKeytab`() | Re-login a user from keytab if TGT is expired or is close to expiry.
`UserGroupInformation` `createProxyUser`(`String,` UserGroupInformation) | Create a proxy user using username of the effective user and the ugi of the real user.
`UserGroupInformation` `createProxyUserForTesting`(`String,` UserGroupInformation, String[]) | Create a proxy user UGI for testing HDFS and MapReduce
`UserGroupInformation` `createRemoteUser`(`String`) | Create a user from a login name.
`UserGroupInformation` `createUserForTesting`(`String,` String[]) | Create a UGI for testing HDFS and MapReduce
`Object` `doAs`(`PrivilegedExceptionAction`) | Run the given action as the user potentially throwing an exception.
`Object` `doAs`(`PrivilegedAction`) | Run the given action as the user.
`boolean` `equals`(`Object`) | Compare the subjects to see if they are equal to each other.
`AuthenticationMethod` `getAuthenticationMethod`() | Get the authentication method from the subject
`UserGroupInformation` `getCurrentUser`() | Return the current user including any doAs in the current stack.
`UserGroupInformation` `getLoginUser`() | Get the currently logged in user.
`UserGroupInformation` `getRealUser`() | get RealUser (vs.
`String` `getShortUserName`() | Get the user's login name.
`Subject` `getSubject`() | Get the underlying subject from this ugi.
`Set` `getTokenIdentifiers`() | Get the set of TokenIdentifiers belonging to this UGI
`Collection` `getTokens`() | Obtain the collection of tokens associated with this user.
`boolean` `hasKerberosCredentials`() | checks if logged in using kerberos
`int` `hashCode`() | Return the hash of the subject.
`boolean` `isFromKeytab`() | Is this user logged in from a keytab file
`boolean` `isLoginKeytabBased`() | Did the login happen via keytab
`boolean` `isSecurityEnabled`() | Determine if UserGroupInformation is using Kerberos to determine user identities or is relying on simple authentication
`void` `loginUserFromKeytab`(`String,` String) | Log a user in from a keytab file.
`UserGroupInformation` `loginUserFromKeytabAndReturnUGI`(`String,` String) | Log a user in from a keytab file.
`void` `main`(`String[]`) | A test method to print out the current user's UGI.
`void` `reloginFromKeytab`() | Re-Login a user in from a keytab file.
`void` `reloginFromTicketCache`() | Re-Login a user in from the ticket cache.
`void` `setAuthenticationMethod`(`AuthenticationMethod`) | Sets the authentication method in the subject
`void` `setConfiguration`(`Configuration`) | Set the static configuration for UGI.
`String` `toString`() | Return the username.

Changed Methods
`String[]` `getGroupNames`() | Changed from abstract to non-abstract. | Get the group names for this user.
`String` `getUserName`() | Changed from abstract to non-abstract. | Get the user's full principal name.

Removed Fields
`Log` `LOG` |

Added Fields
`String` `HADOOP_TOKEN_FILE_LOCATION` | Environment variable pointing to the token cache file

`hadoop 0.20.2-cdh3u4` | Overview | Package | Class | Statistics | Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES |