f760427c5c71e0f8beca54e36608a873c07f6e60
Files Diff
- Added: 8
- Removed: 1
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getManageUsersPolicy(server ResourceServer) : Policy renamed to public manageUsersPolicy(server ResourceServer) : Policy in class org.keycloak.authorization.admin.permissions.RoleMgmtPermissions | From | To | |
Rename Method public getRolePolicy(server ResourceServer, role RoleModel) : Policy renamed to public rolePolicy(server ResourceServer, role RoleModel) : Policy in class org.keycloak.authorization.admin.permissions.RoleMgmtPermissions | From | To | |
Extract Attribute | 2 | ||
Extract Attribute public MANAGE_PERMISSION_USERS : String in class org.keycloak.authorization.admin.permissions.UsersPermissions | From | To | |
Extract Attribute public USERS_RESOURCE : String in class org.keycloak.authorization.admin.permissions.UsersPermissions | From | To | |
Extract Variable | 1 | ||
Extract Variable keycloakSessionFactory : KeycloakSessionFactory in method public MgmtPermissions(session KeycloakSession, realm RealmModel) from class org.keycloak.authorization.admin.permissions.MgmtPermissions | From | To | |
Extract Method | 10 | ||
Extract Method public resourceServer(role RoleModel) : ResourceServer extracted from public setPermissionsEnabled(role RoleModel, enable boolean) : void in class org.keycloak.authorization.admin.permissions.RoleMgmtPermissions | From | To | |
Extract Method public resourceServer() : ResourceServer extracted from public canManage(user UserModel) : boolean in class org.keycloak.authorization.admin.permissions.UsersPermissions | From | To | |
Extract Method public resourceServer(role RoleModel) : ResourceServer extracted from public isPermissionsEnabled(role RoleModel) : boolean in class org.keycloak.authorization.admin.permissions.RoleMgmtPermissions | From | To | |
Extract Method private checkManagePermission() : void extracted from public deleteRealmRoleMappings(roles List<RoleRepresentation>) : void in class org.keycloak.services.resources.admin.RoleMapperResource | From | To | |
Extract Method public resourceServer() : ResourceServer extracted from public isPermissionsEnabled() : boolean in class org.keycloak.authorization.admin.permissions.UsersPermissions | From | To | |
Extract Method private checkManagePermission() : void extracted from public addClientRoleMapping(roles List<RoleRepresentation>) : void in class org.keycloak.services.resources.admin.ClientRoleMappingsResource | From | To | |
Extract Method public createAdminClient(ignoreUnknownProperties boolean, realmName String, username String, password String, clientId String, clientSecret String) : Keycloak extracted from public createAdminClient(ignoreUnknownProperties boolean) : Keycloak in class org.keycloak.testsuite.util.AdminClientUtil | From | To | |
Extract Method private checkManagePermission() : void extracted from public addRealmRoleMappings(roles List<RoleRepresentation>) : void in class org.keycloak.services.resources.admin.RoleMapperResource | From | To | |
Extract Method public mapRolePermission(role RoleModel) : Policy extracted from public isPermissionsEnabled(role RoleModel) : boolean in class org.keycloak.authorization.admin.permissions.RoleMgmtPermissions | From | To | |
Extract Method private checkManagePermission() : void extracted from public deleteClientRoleMapping(roles List<RoleRepresentation>) : void in class org.keycloak.services.resources.admin.ClientRoleMappingsResource | From | To | |
Rename Parameter | 1 | ||
Rename Parameter user : UserModel to admin : UserModel in method public canManage(admin UserModel) : boolean in class org.keycloak.authorization.admin.permissions.UsersPermissions | From | To |