You use the Security tab of the Web Service Attributes Editor to enable and configure the UserNameToken security mechanism for web service providers.
To enable the Liberty security mechanism for a web service provider:
In the Projects window, expand the project node for the project where your web service provider is defined.
Expand the Web Services node, right-click the web-service node, and choose Edit Web Service Attributes from the pop-up menu.
The Web Service Attributes Editor opens with the Security tab open.
Select the Enable Message Level Security checkbox.
Under Security Mechanism, from the Request drop-down list, select UserNameToken.