* invalid user name or password.
*/
public ServerConnection createConnection(String clientID, String user,
String password)
throws JMSException {
ServerConnection stub;
if (user == null) {
user = _defaultUser;
password = _defaultPassword;
}
ServerConnectionFactory factory
= getServerConnectionFactory(user, password);
try {
ServerConnection connection
= factory.createConnection(clientID, user, password);
stub = new JmsConnectionStubImpl(connection, _orb, _serverURI,
user, password);
} finally {
if (factory instanceof Proxy) {