Yes, it is glued, because the battery tube is also the retainer for the driver. With some heat and some force it can be loosened though.
I like both the SD1 and SD2, good-looking and well-built designs, for little money. A surprise was how shallow the driver cavity is, I planned to mod a SD2 with a boost driver for a 12V led, but the driver is way too thick to fit. The shallow driver cavity does keep the light compact which is a good thing.