Mapping between ecncryption algorithms in Javacard 2.1.1 and J2Se 1.4

Hi!
I would like to encrypt a string using javax.crypto.Cipher (in J2SE 1.4.2) with DES key and decrypt it using javacardx.crypto.Cipher in a javacard 2.1.1. I am unable to figure to the appropriate algorthim/mode/padding in J2SE 1.4 with constant in javacardx.crypto.Cipher object.
Specifically, if I want use javacardx.crypto.Cipher.ALG_DES_CBC_ISO9797_M2, then what would be appropriate transformation spec for "algorithm/mode/padding" in javax.crypto.Cipher of J2SE 1.4.
Any mapping that is applicable for JCOP 3.0 (i.e. javacard 2.2.1) will be appreciated.
Thanks.

I understood your question well.
Here is an example with "ISO-9797-1 padding method 1" padding on the JavaCard side:
1) the relevant Applet code is:
          case (byte) 0x00:
               // compute the size for the result buffer with the encryption result
               short bufSize = (short)buf[ISO7816.OFFSET_LC];
               short rest;
               if ( ( rest = (short)(buf[ISO7816.OFFSET_LC] % 8) ) > 0 ) {
                    bufSize += rest;
               byte[] outBuff = JCSystem.makeTransientByteArray( bufSize, JCSystem.CLEAR_ON_DESELECT );
               Cipher cipher = Cipher.getInstance( Cipher.ALG_DES_CBC_ISO9797_M1, true );
               DESKey key = ( DESKey )KeyBuilder.buildKey(KeyBuilder.TYPE_DES, KeyBuilder.LENGTH_DES3_2KEY, false );
               key.setKey( keyData, (short)0 );
               cipher.init( key, Cipher.MODE_ENCRYPT );
               cipher.doFinal( buf, ISO7816.OFFSET_CDATA, buf[ISO7816.OFFSET_LC], outBuff, (short)0 );
               Util.arrayCopyNonAtomic( outBuff, (short)0, apdu.getBuffer(), (short)0, (short)outBuff.length );
               apdu.setOutgoingAndSend( (short)0, (short)outBuff.length );
               break;2) the JCShell commands:
cm>  /select A00000000353800001
=> 00 A4 04 00 09 A0 00 00 00 03 53 80 00 01 00       ..........S....
(0 msec)
<= 90 00                                              ..
Status: No Error
cm>  /send 000000000C26123456FFFFFFFFB1B2B3B4
=> 00 00 00 00 0C 26 12 34 56 FF FF FF FF B1 B2 B3    .....&.4V.......
    B4                                                 .
(0 msec)
<= B9 EB E3 27 34 E2 6E C0 F7 13 10 E0 74 8F F0 E8    ...'4.n.....t...
    90 00                                              ..
Status: No Error3) Encrypt the same data with Sun's JSE Cipher. Enlarge the input data to a multiple of 8 and fill the rest with 0x00:
CryptoHelper.cipherBlockCrypt mit:
  code is  : Cipher.getInstance( DESede/CBC/NoPadding );
  Buffer   : 26123456FFFFFFFFB1B2B3B400000000
  Key      : E11987EE331B417A5D67D760692F89D4E11987EE331B417A
  Mode     : Encrypt
  Algorithm: DESede im Modus: CBC with: NoPadding
  Result   : B9EBE32734E26EC0F71310E0748FF0E84) You can also use the ISO-9797-1 padding method 2 an both sides:
a) applet code is:
               Cipher cipher = Cipher.getInstance( Cipher.ALG_DES_CBC_ISO9797_M2, true );b) For the JSE cipher pad your block with one byte 0x80 and the rest with 0x00 like here:
CryptoHelper.cipherBlockCrypt mit:
  code is  : Cipher.getInstance( DESede/CBC/NoPadding );
  Buffer   : 26123456FFFFFFFFB1B2B3B480000000
  Key      : E11987EE331B417A5D67D760692F89D4E11987EE331B417A
  Mode     : Encrypt
  Algorithm: DESede im Modus: CBC with: NoPadding
  Result   : B9EBE32734E26EC09E729797231D2238Is that what you need?!

Similar Messages

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • Role mapping between Portal and Back end systems

    I am new to SAP EP.
    I just want to know how the mapping between portal and back end system happens.
    Scenario : There is a role in ECC system...say FI India. Now there is a request by the FI team that they want to access this role from Portal. In this case, please tell me how the security team will do it. Because I guess, it has to be done by the security team.

    Hi,
    Usually the role from backend is uploaded to portal then it will be seen as Group and we need to assign our portal roles to this group. Please refer [this|http://help.sap.com/saphelp_nw73/helpdata/en/d6/7859ec80df46738e23ccb4f4c8c502/content.htm].
    Regards,
    Samir

  • Mapping between the info cube fields and fields in the data source in sap r

    In Bi7.0 in which database did the mapping between the Infocube objects and the datasource object will be store Here i have used the r3 system

    Hi,
    Chk table RSOSFIELDMAP.
    Regards,
    Gunjan.

  • Password Field not mapped between Request and Provisioning Form

    Hi to all. I'm working with OIM 11g. I've faced a strange issue. I'm not sure I'm working properly, so let me explain you my case. In my installation I've got the SSH connector, which is correctly connected with the physical resources. I've loaded the resource dataset ProvisionResourceSSH User bundled with the connector. Consider now that the user "goofy", with "ALL USERS" role, tries to make a request Provision Resource SSH User (Request Based provisioning). He fills in all the field in the appropriate manner, but when OIM triggers "Create User" provisioning task, after the required approval process, the password field is always blank (although goofy filled it in!!!).
    I've thought: "ok, it seems a role trouble". And effectively, if goofy has got also the role "REQUEST ADMINISTRATORS", the provisioning form shows the password field correctly valued (as goofy stated in his request).
    Note that all the fields are correctly mapped between request dataset and the provisioning form (I'm using the original dataset and the original provisioning form installed by the connector). So all other fields filled by goofy on the request form (request based provisioning) are correctly passed to the provisioning form. All the fields, except for the password.
    Am I wrong in something? How Could I make possible to pass the data filled on the request for the password field to the provisioning form even if the requester has not the role "REQUEST ADMINISTRATORS"?
    Thank you in advance for the help.

    This sure seems goofy! ;-) ... can you try making the ALL Users have all the permissions on the Resource Object and the Process Form and test it out? Also try from the backend at the database and see if the table has NULL for the password field? ... What's the type of password field in the dataset and the process form? Encrypted/Secret at both ends or mis match? Try making them plain text both the places as well.
    -Bikash

  • HELP with mapping between event_class SLA R12 and ap_invoices_all

    Hi Gurus!!
    I have to do a query that obtain the event class (XLA_ACCOUNTING_CLASS lookup code) of an invoice that this invoice is pending to be posted. The question is how do i do a mapping between AP_INVOICES_ALL table and the EVENT_CLASS ???
    For example... i have a class named "DEBIT MEMOS" but in the AP_INVOICES_ALL the INVOICE_TYPE_LOOKUP_CODE is DEBIT...
    hope someone could help me,
    PS: Application is R12
    Thanks!!
    Pablo.-

    Hi Tarun,
    Yes I am aware of that, but I just thought someone would which fields to join between the AP and the XLA tables as I can't find anything on the eTRM. So I do know that those are the tables to link, but I'm just not sure of the fields to join.

  • Mapping between Sales Order-Schedule-Line and Delivery-item

    Hi together,
    I want to extend the Datasource 2LIS_12_VCITM (Delivery-number, -item, Order-number,-item is available) by Sales Order Schedule Line.
    Could not find any ERP table (VBEP and LIPS allow a mapping only on item level) for the mapping between Sales Order Schedule Line and Delivery item yet. The use of the extractor 2LIS_12_VCSCL for the extention (e.g. infoset) afterwards is no option.
    Thanks for your help in advance!!
    Assign full points!!
    Sven

    Hi Reddy,
    thanks for your answer.
    I know that I have to add this field.. but the problem is, how to fill this field. I don't know how to map the delivery-item with the schedule line-item.

  • Group Policy won't apply, No mapping between account names and security IDs was done.

    I am using Group Policy Preferences to remove users from the local admin group and add a local admin account.  This GPO is working on 90% of the Win7 machines on the network, but three laptops are not accepting the GPO.  I get the following error:
    Log Name:      Application
    Source:        Group Policy Local Users and Groups
    Date:          6/24/2014 8:49:28 AM
    Event ID:      4098
    Task Category: (2)
    Level:         Warning
    Keywords:      Classic
    User:          SYSTEM
    Computer:      laptop1.internal.com
    Description:
    The user 'Administrators' preference item in the 'Local Admin Policy - Remove Permissions {593ACD77-3663-4023-BEB8-938D83F7862E}' Group Policy object did not apply because it failed with error code '0x80070534 No mapping between account names and security
    IDs was done.' This error was suppressed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Group Policy Local Users and Groups" />
        <EventID Qualifiers="34305">4098</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-24T13:49:28.000000000Z" />
        <EventRecordID>68771</EventRecordID>
        <Channel>Application</Channel>
        <Computer>laptop1.internal.com</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data>user</Data>
        <Data>Administrators</Data>
        <Data>Local Admin Policy - Remove Permissions {593ACD77-3663-4023-BEB8-938D83F7862E}</Data>
        <Data>0x80070534 No mapping between account names and security IDs was done.</Data>
      </EventData>
    </Event>
    I've searched high and low for an answer and nothing I find on-line seems to apply.  I also notice that the option to 'Run as Administrator' does not work.  If I right-click on cmd.exe and select 'run as administrator', the command box opens but
    I am not prompted for credentials and the command box does not have admin rights.  Not sure if this is related or not.
    Any help on this would be greatly appreciated.
    Thanks,
    Joe

    Hi,
    Delete your  remove action from the GPP and push it again, does this issue still occur?
    If it still exists, let’s collect the GPP log for analysis:
    Group policy Preference debug logging policy settings are located under:
    Computer Configuration\Administrative Templates\System\Group Policy
    Click Logging and tracing, select local users and group preference logging and trace.
    Meanwhile, just a similar issue, but it is worth trying:
    A user is added to the wrong group on a client computer that is running Windows 7 or Windows Server 2008 R2
    http://support.microsoft.com/kb/2280515
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • Urgent: mapping between OID and iplanet ldap

    I am trying to configure the mapping between my iplanet ldap server (source) and OID (destination) . My iplanet dn is uid=sharam,ou=People,dc=xsj,dc=xilinx,dc=com and my OID dn is cn=sharam,cn=users,dc=xsj,dc=xilinx,dc=com
    My mapping file looks like this:
    DomainRules
    dc=xilinx,dc=com:cn=users,dc=xsj,dc=xilinx,dc=com:cn=%,cn=users,dc=xsj,dc=xilinx
    AttributeRules
    givenname
    facsimiletelephonenumber
    departmentnumber
    mail
    uid::::cn
    telephonenumber
    pager
    employeenumber
    l
    sn
    title
    When I load this using ldapUploadAgentFile.sh, I am getting the following error in ldap/odi/log/IPlanet.trc file. Any ideas what I am doing wrong??
    Trace Log Started at Mon Jul 08 11:28:47 PDT 2002
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708112903
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708112917
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708112933
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708112948
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113003
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113018
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113033
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113048
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113103
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113118
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113133
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113148
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113203
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113217
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113233
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113248
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113303
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113317
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113333
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered
    IPlanetImport:Error in Mapping EngineODIException: DIP_GEN_UNKNOWN_FAILURE
    ODIException: DIP_GEN_UNKNOWN_FAILURE
    at oracle.ldap.odip.map.MapEngine.constructDN(MapEngine.java:258)
    at oracle.ldap.odip.map.MapEngine.mapDomains(MapEngine.java:196)
    at oracle.ldap.odip.map.MapEngine.map(MapEngine.java:172)
    at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:323)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:214)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:124)
    Updated Attributes
    orclodipLastExecutionTime: 20020708113348
    orclOdipSynchronizationStatus: Mapping Failure;Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Unknown Error Encountered

    Start the odisrv with the debug flag set to 16. This should give you a more detailed trace which might help you sort this.
    Hope this helps
    Vinodh R.

  • Explicity mapping between ActionScript and Java objects for the BlazeDS Messaging Service

    The BlazeDS documentation shows how to explicitly map between ActionScript and Java objects. For example, this works fine for RPC services, e.g.
    import flash.utils.IExternalizable;
    import flash.utils.IDataInput;
    import flash.utils.IDataOutput;
    [Bindable]
    [RemoteClass(alias="javaclass.User")]
    public class User implements IExternalizable {
            public var id : String;
            public var secret : String;
            public function User() {
            public function readExternal(input : IDataInput) : void {
                    id = input.readObject() as String;
            public function writeExternal(output : IDataOutput) : void {
                    output.writeObject(id);
    and
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Set;
    public class User implements Externalizable {
        protected String id;
        protected String secret;
        public String getId() {
            return id;
        public void setId(String id) {
            this.id = id;
        public String getSecret() {
            return secret;
        public void setSecret(String secret) {
            this.secret = secret;
        public void readExternal(ObjectInput in) throws IOException,
                    ClassNotFoundException {
            id = (String) in.readObject();
        public void writeExternal(ObjectOutput out) throws IOException {
            out.writeObject(id);
    If I called an RPC service that returns a User, the secret is not sent over the wire.  Is it also possible to do this for the messaging service? That is, if I create a custom messaging adapter and use the function below, can I also prevent secret from being sent?
    MessageBroker messageBroker = MessageBroker.getMessageBroker(null);
    AsyncMessage message = new AsyncMessage();
    message.setDestination("MyMessagingService");
    message.setClientId(UUIDUtils.createUUID());
    message.setMessageId(UUIDUtils.createUUID());
    User user = new User();
    user.setId("id");
    user.setSecret("secret");
    message.setBody(user);
    messageBroker.routeMessageToService(message, null);

    Hi Martin. The way that AMF serialization/deserialization works for BlazeDS is the same regardless of which service is being used, so yes that code will work for messaging as well. On the server, the serialization/deserialization of messages happens at the endpoint. For an incoming message for example, the endpoint deserializes the message and then hands it off to the MessageBroker which decides which service/destination to deliver the message to.
    That was a good question. Thanks for asking it. Lots of people are used to doing custom serialization/deserialization with the RPC services (RemoteObject/RemotingService) but I'm not sure everyone realizes they can do this for messaging as well.
    -Alex

  • Users mapping between EP and ABAP system

    Hello
    I'd like to ask for some guidance in my quest
    Current situation looks like this:
    I've configured UME in AS Java to work with LDAP as read only data source. Then I've configured SPNego to run SSO - It works, users from MS AD can log into portal.
    Now I have application in WD which authorizes via EP/AD - works fine.
    And next step is users mapping between AD and ABAP backend (serving some BAPI's for WD app)
    I've found a bunch of help pages starting from
    http://help.sap.com/saphelp_nwce711/helpdata/en/0b/d82c4142aef623e10000000a155106/frameset.htm
    But somehow it's quite complicated to achieve this mapping. I've tried to set RFC destinations logon type to user mapping but without succes.
    Can anyone point me to some more clear example or give path to configure this scenario? Is there a way of configuring this with NWA or some XML file editing is required?
    Any help will be appreciated.
    BTW: whole environment is in version 7.11
    Best regards
    Maciej

    There is no equivalent to SPNEGO on the ABAP side.
    If your goal is to propagate the user, then possible options are:
    -> Wait for SAML 2.0 or invest now in a SAML 1.0 provider.
    -> Use the same kerberos ticket for the EP as what your ABAP system will accept: route = SNC and 3rd party libraries.
    -> Issue SAP logon tickets for the ABAP system from the EP, and use these in your WDA.
    Another option is to expose the service with saved logon data in the ICF. If the service is just a wrapper for the BAPI, then you can also consider using trusted RFC between the service and the backend, but this might not be acceptable for your service.
    I have only done experimental stuff with this and some of the above is not released yet. Also consider the consequences, even if it "does work"...
    Cheers,
    Julius

  • Data mapping between sybase and xml

    I want to make a data mapping between sybase relational data result set and xml.
    I am using the function ForXmlTree for this purpose, I have the entire documentation about the synatx and usage of it, but i need to know what support does JAVA have for it.
    What files need to be installed .
    This is an example of using the function
    java jcs.xmlutil.ForXmlTree �i forxmltree-spec [-o output-script-file] \
    [-x output-document-file  -S server-name]
    does anyone know where can i find the jcs.xmlutil package. If so let me know.
    Thanks in advance
    Sandeep

    PRPS-PSPNR = AFVU-PROJN.
    also you can use this fm.
    BAPI_PROJECT_GETINFO

  • Output to input mapping between actions in Guided Procdure

    Hi,
    i had requirement to create process i.e. user request for group access to manager this one developed in Web dynpro.
    I can able create initial screen in process i.e. display available groups in portal using table in this user can select required groups and click submit then request pass to manager for approval but i'm unable pass whatever groups selected by user to manager view means i didn't no how to map parameters user request view to manager approval view  and  also tell me once pass parameters to input of manager view how to read the list of input (here selected groups by user).
    Please give me if u have any example url to explaining about mapping between list of output to list of input between actions of wd gp process.
    reagrds,
    Nari.

    It is better to avoid more customization from maintainability point of view, if possible . Meaning I would try to make standard map as much as possible(less customization, no custom functoids, less customized xslt etc). Since your source xml format and
    destination root is known, I can see your destination format is also known. Hence, you can copy the same schema format from source into destination with the root which you are referring as one element rather than just creating one element, To avoid all drawing
    all lines manually, you can use "mass copy" functoid
    to recursively copy all data in an input instance message, to arbitrary depth, that corresponds to a specified node in the source schema to the position in an output instance message that is specified by the output link. also refer
    anytype with masscopy.
    If you are just searching for a solution to pass raw xml, then I would go with your second approach already. You can also pass the output to external assembly to allow more flexibility in terms of coding if needed.
    Please mark it as Answer if this answers your question
    Thanks.
    Mo
    The contents I write here is my personal views, not the view of my employer and anyone else.

  • Mapping between  a nodes 0..2 and a node 0..1

    Hi,
    i need to do a mapping between
    MT_PRICE
    PRICE (element 0..2)
      CURRENCY (attribute)
       AMOUNT      (attribute)
    T YPE           (attribute)
    for example
    MT_PRICE
    <PRICE CURRENCY="EUR" TYPE="NET">35.50
    </PRICE>
    <PRICE CURRENCY="EUR" TYPE="NET"
    AMOUNT="TOTAL">35.50
    </PRICE>
    and
    MT_PRICES
    PRICE1S     (element 0..1)
    AMOUNT1S (element 0..1)
    MT_PRICES
    PRICE2S     (element 0..1)
    AMOUNT2S (element 0..1)
    The mapping is between PRICE and PRICE1S  when there is no AMOUNT attribute and
    between PRICE and PRICE2S  when  AMOUNT has value TOTAL.
    How this can be achieved since  PRICE for the source is 0..2 and targets PRICE1S and  PRICE2S
    is 0..1 ?
    Antonis

    Hi,
    I am not clear with what u have asked
    Please type it clearly
    Anyways here is a clue how u can do it
    Price will repeat under same node so it will come under the same context use the splitByValue function and map Price1S to it
    If you can give me the exact requirement with an example i can explain it better
    Rgds
    Aditya

  • How does one create LOV Map between 2 fields for custom lookup mapping

    Hi there
    In Internet Expenses, Expense Report Line Detail we have two unrelated fields; namely Expense Location & Tax Code.
    The requirement is to map a default tax code to locations; basically when a user enters Expense Location then the mapped tax code value should default into field Tax Code.
    The location-tax code mapping is stored in a custom lookup (FND_LOOKUP_VALUES).
    My question is how does one go about implementing this?  For example is it possbile to create a new (hidden) LOV based on the lookup mapping & then create a Personalization LOV Mapping between the 3 LOV...  Or is it necessary to modify the Tax Code drop down Message Choice in JDeveloper?  Of course details are appreciated!
    FYI below is the relevant Personalization Structure from "Personalize Stack Layout: (NormalDetails)".
    Message Lov Input: Expense Location
    - Lov Mappings
    -- Lov Map: (lovMap1)
    -- Lov Map: (lovMap2)
    -- Lov Map: (lovMap3)
    - Message Text Input: Expense Location
    - Message Styled Text: Transaction Location
    - Message Text Input: Merchant Name Yes
    - Message Styled Text: Description
    - Message Check Box: Original Receipt Missing Yes
    - Message Choice: Tax Code
    - Message Check Box: Amount Includes Tax
    - Message Choice: Tax Code
    Many thanks
    G

    Hello all
    The correct & supported method is this:
    Extend the location LOV in JDeveloper & add a "default tax" attribute, this could be derived from a new location DFF storing the default tax code for each location. Now simply create a location Personalization LOV Map which takes this new location lov tax attribute & target it to the tax message choice field.
    That's my 2c worth anyway, so please give comment if you feel there is a better way.
    There is just one more little problem however... The requirement has changed! Now we require the tax code to default according to not one location field, but other fields too. For example if the user selects Expense Type of Beverage & Location of Netherlands then Tax Code should be NL19%, for Expense Type of Hotel then it should be NL6%; if the user ticks "Missing Receipt" field then it should over ride all others & set the code to NL0%.
    Any ideas?
    Many thanks
    G
    Edited by: user13363208 on 11-Aug-2010 06:51

Maybe you are looking for

  • How to get Sum for my Elapse Time string for my group

    Hi, How can I get the sum of an elapse time string in my group footer 2 and group footer 1 from the report screenshot attached. I have a report that display TimeIn and TimeOut of an employee. For the total time I have created a formula that will take

  • Can weuse Measure Object as hyperlink from summary report to detailreport

    Hello All, I have a Web-I report as shown Group              HrsSched          Hrs Used Here Hrs Used is Sum(Resultkey) for each group (grouping is done). Now i should make this Hrs Used as hyperlink to detail report. For that I created a variable wi

  • Is there an InDesign JavaScript Reference?

    As a long time Photoshop scripter, I use the Photoshop JavaScript Reference often. It is a full reference to the Photoshop DOM. I now need to create some scripts for InDesign and can't find a DOM reference on the Adobe dev site. Does one exists? Or w

  • Eigrp Updates and Queries

    Hi, i was wondering if any one has some average statistices for the EIGRP Updates, Queries, and replies in a avarage network with a 260 routes in the routing tables. Below are are my statistices. I feel they are pretty much high....can any one confir

  • Workflow Mail sending in different clients

    Hi All, I created a single step workflow which has just 'SendMail' step in it.I have two clients in my sstem 200 and 280.When i execute this workflow using F8 from 200 client it sends out a mail and workflow gets completed. But when i execute this wo