It is possible to set up stub properties at deployment time, the format is:
Stub Properties: (use the portComponent tag which specifies either serviceEndpointInterface or wsdlPort or both and then the stubProperty tag with name/value pairs for the stub properties)
<webServiceRef configName="${this.config.name}" package="${this.package.name}"
ejbName="com_sun_ts_tests_common_vehicle_ejb_EJBVehicle" serviceRefName="service/handlersec">
...
<portComponent serviceEndpointInterface="com.sun.ts.tests.webservices.handler.HandlerSec.TestAuth"
wsdlPort="TestAuthPort">
<stubProperty name="javax.xml.rpc.security.auth.password" value="javajoe"/>
<stubProperty name="javax.xml.rpc.security.auth.username" value="javajoe"/>
</portComponent>
...
</webServiceRef>
The two are both usable depending on whether you associate the stub property with the service endpoint interface or WSDL port.