Adapting changed for POX security handler