05-24-05 11:01 PM
Yuval,
> we are in the process of integrating BizTalk server in our organization .
> we have several customers which are currently using some custom code to
> encrypt and decrypt files .the files are downloaded/uploaded via ftp.
>
> the input for each of these methods is a stream and password - the return
> is a stream.
>
> what would be the correct way to integrate this with BizTalk?should I
> create a custom adapter that will handle encryption/decryption? can you
> 'chain' adapters - first download via ftp the decrypt then push into
> BizTalk?
> are there any other usage options?
> how do I store the passwords in BizTalk?(different passwords for different
> customers)?
What you really want is not an adapter, but rather a custom pipeline
component that can go into the decoding stage on a receive pipeline.
Now, as to how to obtain the password, the trick here would be to know how
you can tell that the message is coming from a particular customer? The
simplest option would be to configure that at the pipeline component level
as a property and then either create a custom pipeline for each customer or
use the trick described here:
http://blogs.msdn.com/gzunino/archi.../16/185842.aspx
(of course the component property would be a customer ID or name you could
use to get the password out of a secure location such as an encripted file
or even the SSO Database as described here:
http://www.masteringbiztalk.com/blo...b1eb6c4def.aspx)
There might very well be other ways to correlate the file to the customer so
you can get the password, depending on your solution architecture, but this
should give you an idea...
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
[ Post a follow-up to this message ]
|