UF-71: adapted to changes on UberFire (in order to make it working on WAS)