You have to provide an InteractionHandler, which shows the password dialog. You can create such handler by your own .. or
use our global one, which implements every interaction we know. (Andreas Schlüns <andreas.schluens@sun.com>)
XInteractionHandler xHandler = (XInteractionHandler)UnoRuntime.queryInterface( XInteractionHandler.class, xSMGR.createInstance("com.sun.star.task.InteractionHandler"));
PropertyValue[] lArgs = new PropertyValue[1];
lArgs[0] = new PropertyValue();
lArgs[0].Name = "InteractionHandler";
lArgs[0].Value = xHandler;
xDoc = xDesktop.loadComponentFromURL(sURL, sTarget, nSearchFlags, lArgs);