Skip to main content



      Home
Home » Archived » BIRT » User name and password in URL of run servlet?
User name and password in URL of run servlet? [message #150263] Mon, 03 April 2006 10:22 Go to next message
Eclipse UserFriend
Does the run servlet of the web viewer accept username and password as
parameters for the report?
We would like to use the run servlet instead of the frameset and provide
username and password in the URL itself.

Where can we find what all parameter the run servlet takes?

Thanks.
Re: User name and password in URL of run servlet? [message #150295 is a reply to message #150263] Mon, 03 April 2006 10:55 Go to previous messageGo to next message
Eclipse UserFriend
AJ,

You can pass any parameter to the run servlet by appending &parmname=value.
You will need to add the parameter to the report and then
tie this to the data source properties using Property Binding entry on the
data source editor wizard.

Jason

"AJ" <ajay.sinha@siemens.com> wrote in message
news:9bb54d862ac266a867226cb43ff8dbd8$1@www.eclipse.org...
> Does the run servlet of the web viewer accept username and password as
> parameters for the report?
> We would like to use the run servlet instead of the frameset and provide
> username and password in the URL itself.
>
> Where can we find what all parameter the run servlet takes?
>
> Thanks.
>
Re: User name and password in URL of run servlet? [message #150329 is a reply to message #150295] Mon, 03 April 2006 12:26 Go to previous messageGo to next message
Eclipse UserFriend
Jason,
My be I didn't make my self clear.
By username and pwd I was refering to the username and pwd stored in the
rptdesign xml file. : "odaUser" and "odaPassword"
=======================================================
<data-sources>
<oda-data-source
extensionID="org.eclipse.birt.report.data.oda.jdbc" name="winccDataSource"
id="32">
<property
name="odaDriverClass">com.microsoft.jdbc.sqlserver.SQLServerDriver </property>
<property
name="odaURL">jdbc:microsoft:sqlserver://SDR7887D\WINCC:1193 ;SelectMethod=cursor;DatabaseName=CC_TestProj_06_02_17_15_09 _53R </property>
<property name="odaUser">user1</property>
<encrypted-property
name="odaPassword">dGhl</encrypted-property>
</oda-data-source>
</data-sources>
=======================================================
Can we pass these info to run servlet thru URL for a report?

Also can you point me to where I can find what all parameter can be sent
to run servlet. for eg. "__format", "__document"
Thanks.
Re: User name and password in URL of run servlet? [message #150337 is a reply to message #150329] Mon, 03 April 2006 12:30 Go to previous message
Eclipse UserFriend
AJ

Here is the viewer page.
http://www.eclipse.org/birt/phoenix/deploy/viewerUsage.php
We dont pass username and password.
But this is simple to do with any parameter. You can create two parameters
for the report and
tie them to the ODA username and password using the Property Binding
expression builder.

Jason

"AJ" <ajay.sinha@siemens.com> wrote in message
news:554efce65d3f453ea436323a82eb5833$1@www.eclipse.org...
> Jason,
> My be I didn't make my self clear.
> By username and pwd I was refering to the username and pwd stored in the
> rptdesign xml file. : "odaUser" and "odaPassword"
> =======================================================
> <data-sources>
> <oda-data-source
> extensionID="org.eclipse.birt.report.data.oda.jdbc" name="winccDataSource"
> id="32">
> <property
> name="odaDriverClass">com.microsoft.jdbc.sqlserver.SQLServerDriver </property>
> <property
> name="odaURL">jdbc:microsoft:sqlserver://SDR7887D\WINCC:1193 ;SelectMethod=cursor;DatabaseName=CC_TestProj_06_02_17_15_09 _53R </property>
> <property name="odaUser">user1</property>
> <encrypted-property
> name="odaPassword">dGhl</encrypted-property>
> </oda-data-source>
> </data-sources>
> =======================================================
> Can we pass these info to run servlet thru URL for a report?
>
> Also can you point me to where I can find what all parameter can be sent
> to run servlet. for eg. "__format", "__document" Thanks.
>
Previous Topic:format report
Next Topic:a bug in pdf generation
Goto Forum:
  


Current Time: Wed Jun 04 07:13:46 EDT 2025

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

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

Back to the top