Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Need help regarding password encryption in the report(URGENT, PLEASE)
Need help regarding password encryption in the report(URGENT, PLEASE) [message #119441] Mon, 30 January 2006 03:49 Go to next message
bhaskar is currently offline bhaskarFriend
Messages: 26
Registered: July 2009
Junior Member
hi all,
Iam using birt2.0M3 Report engine for report generation.I have deployed
report engine in jboss4.0.3 server. Now we are giving options to user to
upload a template and generated a report through the browser.
After uploading, we are parsing the design file and giving options to
user to change the database information. After user has changed the his
desired database information we are updating this information in the
design file through DOM parser.
In the design file password is in encrypted format. So we need to place
the new password in the encrpyted format only. Can any one help me how to
do this encrytion. What is the birt api for encryting the user entered
password.
It is very urgent, please help me.

Regards,
Bhaskar.
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #120151 is a reply to message #119441] Mon, 30 January 2006 18:35 Go to previous messageGo to next message
Gary Xue is currently offline Gary XueFriend
Messages: 193
Registered: July 2009
Senior Member
Is it possible for you to use BIRT Design Engine API to update the report
design, instead of modifying the XML directly? This is your best choice
since DE API is a rich abstraction layer above the report design XML. It
insulates you from future schema change, and offers features like encryption
and validation.

Alternately you can externalize the DB password to store it outside of the
report design. I have some previous posts on this topic in this newsgroup on
how to do this.

It may also be possible to write your own encryption extension to supply
your own encyption code. I will try to some information on how to do this
and post a note later.

regards,


--
Gary Xue
Actuate Corporation - Product Development
BIRT Committer
"bhaskar" <penbachi@rediffmail.com> wrote in message
news:dd3a3617e150a5537fed5a3d0e5476bc$1@www.eclipse.org...
> hi all,
> Iam using birt2.0M3 Report engine for report generation.I have deployed
> report engine in jboss4.0.3 server. Now we are giving options to user to
> upload a template and generated a report through the browser.
> After uploading, we are parsing the design file and giving options to
> user to change the database information. After user has changed the his
> desired database information we are updating this information in the
> design file through DOM parser.
> In the design file password is in encrypted format. So we need to place
> the new password in the encrpyted format only. Can any one help me how to
> do this encrytion. What is the birt api for encryting the user entered
> password.
> It is very urgent, please help me.
>
> Regards,
> Bhaskar.
>
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #120630 is a reply to message #120151] Tue, 31 January 2006 05:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: er.vikas.rediffmail.com

thank u,
Waiting for ur response.

Regards
Bhaskar
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #121872 is a reply to message #119441] Tue, 31 January 2006 18:24 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Bhaskar,

I believe you can accomplish what you are trying to do with the
following code:

import org.eclipse.birt.report.model.metadata.SimpleEncryptionHelpe r;
import org.eclipse.birt.report.model.metadata.MetaDataDictionary;

class encrypt
{
public static void main(String[] args)
{
SimpleEncryptionHelper eh =
SimpleEncryptionHelper.getInstance( );

String encryptedPass = eh.encrypt("password"));
}
}

-Brian


bhaskar wrote:
> hi all,
> Iam using birt2.0M3 Report engine for report generation.I have deployed
> report engine in jboss4.0.3 server. Now we are giving options to user to
> upload a template and generated a report through the browser.
> After uploading, we are parsing the design file and giving options to
> user to change the database information. After user has changed the his
> desired database information we are updating this information in the
> design file through DOM parser.
> In the design file password is in encrypted format. So we need to place
> the new password in the encrpyted format only. Can any one help me how
> to do this encrytion. What is the birt api for encryting the user
> entered password.
> It is very urgent, please help me.
>
> Regards,
> Bhaskar.
>
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #122366 is a reply to message #121872] Wed, 01 February 2006 05:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: er.vikas.rediffmail.com

hi brian,
Thank u very much, It is working fine.

Bhaskar
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #124069 is a reply to message #120151] Fri, 03 February 2006 19:04 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Gary,

Are there any examples for the Design Engine API that I can look at to
get started? I am currently updating the xml using JDOM but as you
pointed out this could be problematic if there are schema changes so I
would like to start using the API instead.

thanks,
Brian


Gary Xue wrote:
> Is it possible for you to use BIRT Design Engine API to update the report
> design, instead of modifying the XML directly? This is your best choice
> since DE API is a rich abstraction layer above the report design XML. It
> insulates you from future schema change, and offers features like encryption
> and validation.
>
> Alternately you can externalize the DB password to store it outside of the
> report design. I have some previous posts on this topic in this newsgroup on
> how to do this.
>
> It may also be possible to write your own encryption extension to supply
> your own encyption code. I will try to some information on how to do this
> and post a note later.
>
> regards,
>
>
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #124096 is a reply to message #124069] Fri, 03 February 2006 19:39 Go to previous messageGo to next message
Scott Rosenbaum is currently offline Scott RosenbaumFriend
Messages: 425
Registered: July 2009
Senior Member
Brian,

This is fairly basic but you could try:
http://www.eclipse.org/birt/phoenix/deploy/designEngineAPI.p hp

Also if you look through the newsgroup, I believe there are a number of
additional examples.

Scott Rosenbaum
BIRT PMC

Brian Kallay wrote:
> Hi Gary,
>
> Are there any examples for the Design Engine API that I can look at to
> get started? I am currently updating the xml using JDOM but as you
> pointed out this could be problematic if there are schema changes so I
> would like to start using the API instead.
>
> thanks,
> Brian
>
>
> Gary Xue wrote:
>> Is it possible for you to use BIRT Design Engine API to update the report
>> design, instead of modifying the XML directly? This is your best choice
>> since DE API is a rich abstraction layer above the report design XML. It
>> insulates you from future schema change, and offers features like
>> encryption
>> and validation.
>>
>> Alternately you can externalize the DB password to store it outside of
>> the
>> report design. I have some previous posts on this topic in this
>> newsgroup on
>> how to do this.
>>
>> It may also be possible to write your own encryption extension to supply
>> your own encyption code. I will try to some information on how to do this
>> and post a note later.
>>
>> regards,
>>
>>
Re: Need help regarding password encryption in the report(URGENT, PLEASE) [message #124133 is a reply to message #124096] Fri, 03 February 2006 19:50 Go to previous message
No real name is currently offline No real nameFriend
Messages: 17
Registered: July 2009
Junior Member
Thanks for the info Scott, this is a very good starting point.

Brian

Scott Rosenbaum wrote:
> Brian,
>
> This is fairly basic but you could try:
> http://www.eclipse.org/birt/phoenix/deploy/designEngineAPI.p hp
>
> Also if you look through the newsgroup, I believe there are a number of
> additional examples.
>
> Scott Rosenbaum
> BIRT PMC
>
> Brian Kallay wrote:
>
>> Hi Gary,
>>
>> Are there any examples for the Design Engine API that I can look at to
>> get started? I am currently updating the xml using JDOM but as you
>> pointed out this could be problematic if there are schema changes so I
>> would like to start using the API instead.
>>
>> thanks,
>> Brian
>>
>>
>> Gary Xue wrote:
>>
>>> Is it possible for you to use BIRT Design Engine API to update the
>>> report
>>> design, instead of modifying the XML directly? This is your best choice
>>> since DE API is a rich abstraction layer above the report design XML. It
>>> insulates you from future schema change, and offers features like
>>> encryption
>>> and validation.
>>>
>>> Alternately you can externalize the DB password to store it outside
>>> of the
>>> report design. I have some previous posts on this topic in this
>>> newsgroup on
>>> how to do this.
>>>
>>> It may also be possible to write your own encryption extension to supply
>>> your own encyption code. I will try to some information on how to do
>>> this
>>> and post a note later.
>>>
>>> regards,
>>>
>>>
Previous Topic:Cropped Chart Image - Incomplete Render?
Next Topic:Automated Report Execution
Goto Forum:
  


Current Time: Sat Nov 23 20:51:00 GMT 2024

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

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

Back to the top