Skip to main content



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] Sun, 29 January 2006 22:49 Go to next message
Eclipse UserFriend
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 13:35 Go to previous messageGo to next message
Eclipse UserFriend
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 00: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 13:24 Go to previous messageGo to next message
Eclipse UserFriend
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 00: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 14:04 Go to previous messageGo to next message
Eclipse UserFriend
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 14:39 Go to previous messageGo to next message
Eclipse UserFriend
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 14:50 Go to previous message
Eclipse UserFriend
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 Feb 22 09:44:42 EST 2025

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

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

Back to the top