Why and when to perform this task
This HTTP basic authentication is orthogonal to WS-Security and distinct from the HTTP basic authentication that WS-Security supports.
To configure HTTP basic authentication, use the WebSphere Application Server tools to modify the binding information or programmatically set properties in a Stub or Call object. The values set programmatically take precedence over the values defined in the binding. However, you only can programmatically configure the HTTP proxy authentication.
Steps for this task
javax.xml.rpc.Call.USERNAME_PROPERTY javax.xml.rpc.Call.PASSWORD_PROPERTY javax.xml.rpc.Stub.USERNAME_PROPERTY javax.xml.rpc.Stub.PASSWORD_PROPERTY
com.ibm.wsspi.webservices.HTTP_PROXYHOST_PROPERTY com.ibm.wsspi.webservices.HTTP_PROXYPORT_PROPERTY com.ibm.wsspi.webservices.HTTP_PROXYUSER_PROPERTY com.ibm.wsspi.webservices.HTTP_PROXYPASSWORD_PROPERTY
Programmatically set the following properties for HTTPS:
com.ibm.wsspi.webservices.HTTPS_PROXYHOST_PROPERTY com.ibm.wsspi.webservices.HTTPS_PROXYPORT_PROPERTY com.ibm.wsspi.webservices.HTTPS_PROXYUSER_PROPERTY com.ibm.wsspi.webservices.HTTPS_PROXYPASSWORD_PROPERTY