Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Use of XML DataSource with http security (JAAS auth-mode = BASIC)
Use of XML DataSource with http security (JAAS auth-mode = BASIC) [message #207531] Wed, 20 December 2006 08:50 Go to next message
Eclipse UserFriend
Originally posted by: moi.toto.com

Hello,

I'd like to use data on XML file which is on a server that I can access
with http + basic security (the browser asks for login & password)

I've tried to do a standard XML DataSource, however it directly went to
an error 401 when trying to fetch the data in the URL for the DataSource
box when clicking on 'Test Connection' button.

Do you know if it is possible to do that with a standard XML DataSource
or should I use a Scripted DataSource ?

Regards,
Denis.
Re: Use of XML DataSource with http security (JAAS auth-mode = BASIC) [message #831259 is a reply to message #207531] Wed, 28 March 2012 17:19 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
I have the same question.
Is there any solution for this problem?

====
Ralph
Re: Use of XML DataSource with http security (JAAS auth-mode = BASIC) [message #832339 is a reply to message #831259] Fri, 30 March 2012 03:19 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Ralph,

Take a look at this thread. You could write script in the before open
to replace the xml stream at runtime. This script could try to do the
authentication.

http://www.eclipse.org/forums/index.php/mv/msg/158280/501533/#msg_501533

Jason

On 3/28/2012 1:19 PM, Ralph Soika wrote:
> I have the same question.
> Is there any solution for this problem?
>
> ====
> Ralph
Previous Topic:Script Functions: how are Java objects handled in JS?
Next Topic:Using bindings in the expression editor?
Goto Forum:
  


Current Time: Sat Apr 20 00:55:03 GMT 2024

Powered by FUDForum. Page generated in 0.02564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top