Home

Results 1 to 5 of 5

Thread: JDBC driver shim and passing is-sensitive , does it work?

Threaded View

  1. #1
    Join Date
    Mar 2008
    Posts
    90

    JDBC driver shim and passing is-sensitive , does it work?

    Hello

    I am trying to call stored procedure with password value but i wanto hide it in the idm trace files;

    i have tried to send following XDS payload to JDBC drive shim


    Code:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.5.6.0">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <jdbc:statement xmlns:jdbc="urn:dirxml:jdbc">
          <jdbc:call-procedure jdbc:name="IDM.Updateuser">
            <jdbc:param>
              <jdbc:value>USERX</jdbc:value>
            </jdbc:param>
            <jdbc:param>
              <jdbc:value is-sensitive="true"><!-- content suppressed --></jdbc:value>
            </jdbc:param>
            <jdbc:param>
              <jdbc:value>TRUE</jdbc:value>
            </jdbc:param>
          </jdbc:call-procedure>
        </jdbc:statement>
      </input>
    </nds>
    But jdbc driver shim does not like it and its coming out with error


    Code:
    <jdbc:exception jdbc:class="java.sql.SQLSyntaxErrorException" jdbc:error-code="922" jdbc:sql-state="42000" xmlns:jdbc="urn:dirxml:jdbc">
            <jdbc:message>ORA-00922: missing or invalid option
    ORA-06512: at "IDM.Updateuser", line 6
    ORA-06512: at line 1
    </jdbc:message>
    </jdbc:exception>

    anyone know is it possible to use <jdbc:value is-sensitive="true"><!-- content suppressed --></jdbc:value> is-sensitve="true" with jdbc:value elements?
    or how to pass passwords in a secure way using jdbc shim from IDM?


    For information, if i remove is-sensitive="true" then its working!

    Regards,
    Maqsood.
    Last edited by maqsood; 21-Dec-2017 at 12:43 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •