Setup of the ws security