To set the validator configuration options for a non-JSR-109-compliant application (such as a J2SE client), perform the following steps.
Right-click the web service and select Edit Web Service Attributes.
The Web Service Attributes editor is displayed.
Enable Secure Service.
Click the Validator button.
On the Validator Configuration page, specify the following options, when necessary:
When using the default Username Validator, make sure that the username and password of the client are registered with GlassFish (using Admin Console, described in Adding Users to GlassFish) if using GlassFish, or is included in the tomcat-users.xml file if using Tomcat.
Click OK to close the dialog.