// set an authenticator.
String userName = obSourcePlugin.getUsername();
String password = obSourcePlugin.getPassword();
if (userName != null && password != null) {
java.net.Authenticator.setDefault(new URLAuthenticator(
userName, password));
}
// Does the plug-in supply URLs? Or do we have to ask the user
// for a URL?