on 11-30-2006 5:34 PM
Hi guys;
I was trying to work on a proj in which i am trying to encrypt data and send thru XI
1) How will XI recognize the file which I want to encrypt.
2) I am new to java mapping : How and why do we need to implement Stream transformation class : com.sap.aii.mapping.api
Thanks,
Kuna
HI,
You can think of secure communication thru SSL configuration- with FTPS with Certificates-
http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
this blog may help u on digital signatures- /people/sap.user72/blog/2005/06/16/using-digital-signatures-in-xi
Regards,
moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kuna,
have a look at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81">How to Create Modules for the J2EE Adapter Engine</a>.
Create a new module to be used by the receiver file adapter and inside it call the methods you have already developed.
Kind Regards,
Sergio
Hi Sergio/Guys;
You are correct ,we do not basically need mapping ,we just need XI to move the data. The file which is being sent from sender needs to be encrypted.It shld be decrypted at receiver side.
So like in XI scenario we need to encrypt file being sent ,I dont feel we need any mapping as my understanding is growing now with u guys.
Thanks,
Kuna
Hi Kuna,
you're right, in this case you do not need any mapping, that's why I suggested you to do encryption in the receiver adapter in a module.
Just a doubt: you need to secure the file or just the communication? If you just need to secure the communication you could use native file adapter FTPS that also support X509 certificates (http://help.sap.com/saphelp_erp2005vp/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm).
Kind Regards,
Sergio
Hi Guys;
At this point of time we r not doing channel security ,only the file encryption and decryption ,so point is i have a java code which encrypts and decrypts ,how do i make it to work for files being sent Thru XI.
Like what changes in settings i need to do. And what issues might come up ?
Thanks,
Kuna
Hi Kuna,
you just have to build an adapter module processor for the receiver file adapter that changes the payload of the message (not-encrypted) into an encrypted message using your java methods before writing the file locally or via FTP.
Then in XI you could even avoid file content conversion in sender/receiver file adapter (if you don't need to do any mapping).
It's a simple file to file scenario + adapter module processor I do not think you should have great troubles doing it.
Kind Regards,
Sergio
Hi ,
I am sure we can perform through java mappings, but I do not think it is possible to do payload encryption in graphical mapping.
Hope this answers your question. All the best
cheers,
Prashanth
P.S Please mark helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kuna,
I know we can use abstract classes FOR beans, but as a replacement, am not sure
cheers,
Prashanth
P.S Please mark helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you will need to do the encrypotion youself (adapter module added
to the file adapter)
you can set that all files from one folder will be encrypted
so you just need to create one FTP communication channel
in which you will use the adapter module that you've developed
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kuna,
XI will use the file name you'll specify in the sender file adapter to pick up the file and process it.
Generally you do not need java mapping, but you should prefer graphical message mapping, and in your case i think you could encrypt the file in the receiver communicational channel using an adapter module.
For adapter module have a look at: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81">How to Create Modules for the J2EE Adapter Engine</a>
For public key encryption I suggest you to use the libraries provided by <a href="http://www.bouncycastle.org/">bouncycastle</a>, they are really easy to use.
Hope it helps,
Kind Regards,
Sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.