59cf7588779145ad5850ad63426743dfe03d8347
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type loginConf : Configuration to loginConf : HadoopConfiguration in method private newLoginContext(appName String, subject Subject, loginConf HadoopConfiguration) : HadoopLoginContext in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Move Method | 1 | ||
Move Method private prependFileAuthority(keytabPath String) : String from class org.apache.hadoop.security.UserGroupInformation to private prependFileAuthority(keytabPath String) : String from class org.apache.hadoop.security.UserGroupInformation.HadoopConfiguration | From | To | |
Inline Method | 1 | ||
Inline Method private testCheckTGTAfterLoginFromSubjectHelper() : void inlined to public testCheckTGTAfterLoginFromSubject() : void in class org.apache.hadoop.security.TestUserGroupInformation | From | To | |
Rename Variable | 4 | ||
Rename Variable krbOptions : Map<String,String> to params : LoginParams in method public getUGIFromTicketCache(ticketCache String, user String) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Rename Variable realUser : UserGroupInformation to ugi : UserGroupInformation in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Rename Variable dynConf : DynamicConfiguration to loginConf : HadoopConfiguration in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Rename Variable newLoginUser : UserGroupInformation to ugi : UserGroupInformation in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Return Type | 2 | ||
Change Return Type LoginContext to HadoopLoginContext in method private newLoginContext(appName String, subject Subject, loginConf HadoopConfiguration) : HadoopLoginContext in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Return Type LoginContext to HadoopLoginContext in method private getLogin() : HadoopLoginContext in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable krbOptions : Map<String,String> to params : LoginParams in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type | 9 | ||
Change Variable Type login : LoginContext to login : HadoopLoginContext in method public reloginFromTicketCache() : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type krbOptions : Map<String,String> to params : LoginParams in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type login : LoginContext to login : HadoopLoginContext in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type krbOptions : Map<String,String> to params : LoginParams in method public getUGIFromTicketCache(ticketCache String, user String) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type dynConf : DynamicConfiguration to loginConf : HadoopConfiguration in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type login : LoginContext to login : HadoopLoginContext in method private getKeytab() : String in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type login : LoginContext to login : HadoopLoginContext in method public logoutUserFromKeytab() : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Change Variable Type login : LoginContext to login : HadoopLoginContext in method private reloginFromKeytab(checkTGT boolean) : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Variable | 1 | ||
Extract Variable loginConf : HadoopConfiguration in method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation from class org.apache.hadoop.security.UserGroupInformation | From | To | |
Inline Variable | 1 | ||
Inline Variable now : long in method public reloginFromKeytab() : void from class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method | 8 | ||
Extract Method private getKeytab() : String extracted from public logoutUserFromKeytab() : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation extracted from public loginUserFromSubject(subject Subject) : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private unprotectedRelogin(login HadoopLoginContext) : void extracted from public reloginFromKeytab() : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation extracted from public loginUserFromKeytabAndReturnUGI(user String, path String) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private createLoginUser(subject Subject) : UserGroupInformation extracted from public loginUserFromSubject(subject Subject) : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private reloginFromKeytab(checkTGT boolean) : void extracted from public checkTGTAndReloginFromKeytab() : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private reloginFromKeytab(checkTGT boolean) : void extracted from public reloginFromKeytab() : void in class org.apache.hadoop.security.UserGroupInformation | From | To | |
Extract Method private doSubjectLogin(subject Subject, params LoginParams) : UserGroupInformation extracted from public getUGIFromTicketCache(ticketCache String, user String) : UserGroupInformation in class org.apache.hadoop.security.UserGroupInformation | From | To |