Password encrypt/hash when configuring using Connector DBAT

We use Oracle Identity Manager 11 g and we are making the resource implemented using Oracle DBAT connectors and informing the user information like user name, user name, password, etc.. Some fields and especially the password must be encrypted or masked with respect to the requirements of each application.

Can someone guide how this can be done?

Thank you.

--
UZ

Published by: user2534722 on January 11, 2013 05:56

Some fields and especially the password must be encrypted or masked with respect to the requirements of each application

You can write your logic in OIMd on your side in the form of an adapter to prepopulate to encrypt the encryption key using the password and send encrypted password to the target DB.

Or you can get the same at the end of DB as well:

http://blog.mclaughlinsoftware.com/2012/09/08/encrypting-a-column/
http://docs.Oracle.com/CD/B19306_01/network.102/b14268/asotrans.htm#BABGHIDE

Google search for several example of orders/procedure to achieve the same.

Tags: Fusion Middleware

Similar Questions

  • How to save the password encrypted in the database using database authentication (weblogic server)

    Hi Experts,

    JDEV version 11.1.1.7.0

    I have a usecase where I use database authentication in my Application.

    However if I save the module to record user password. Its economy without encryption. Can U suggest how can I do this

    Thank you

    Roy

    Please see

    https://docs.Oracle.com/CD/E16162_01/user.1112/e17455/dev_secure_apps.htm#OJDUG1168

  • Subversion password let go when you use data on the same svn forced maker.

    Hello

    We are running windows Xp sp3 with svn tortoire. Data Modeler 3.0.0 665

    Modeler data allows us to modify our data model.

    There is a svn repository for all data and source of our project.

    Problem:
    When you run the Modeler data and open a template that is located on the svn, an update on the svn repository repository always ask the password for svn.
    This problem also come if you do a simple deposit refresh the Data Modeler.

    It seems this substitution of data Modeler always the directory D:\Documents and Data\Subversion\auth\svn.simple Settings\...\Application file that contains the authentication for svn subversion.
    He forgets the password for svn and put the file read-only.

    You know the problem?
    close solution or work exist?

    For example, we can make a script which always replace the file changed. I'm trying to read but without success.

    Kind regards.

    Hello

    some of the features-svn Data Modeler is inherited from JDeveloper.
    Unfortunately, working with svn external tools (such as the turtle) is a well known issue for JDeveloper, because it encrypts and stores the password in another file and try to protect the file you mentioned.
    See more here: SVN and JDeveloper 11 g credentials

    Concerning
    Ivaylo

  • Get the "failed connection: incompatibility of username/password when you use IE accessing the page of Configurator vco.

    When configuring a device to vCO 5.5.2 I can't login the configuration page https://:8283/ using IE as your browser. I constantly get the message: ' failed connection: incompatibility of the username/password or account temporarily blocked after too many failed attempts. But not changed the error even after that I changed the password. Suresh -

    Use a different browser (Firefox or Chrome) and it will work ;-)

    Kind regards

    Marc

  • What encryption (if any) is used by Apple bluetooth Magic keyboard (MLA22LL/A) when communicating with MacBook Pro?

    I am considering buying magical Keyboard wireless Apple (MLA22LL/A). What (if any) encryption is used by this keyboard blue-tooth when it communicates with the Mac Book Pro?

    I have a Mac Book Pro running OS X El Capitan.

    The only real encryption it offers is the fact that it pairs with your computer based on a code that you see only on your computer.     There are some wireless keyboards with much more sophisticated cipher such as AES.   Interestingly enough Apple uses AES encryption for its images of which are encrypted disk utility.

    When you use a Windows keyboard, you won't get the same start strokes keyboard sequence, and the implementation of the Alt key and the windows are in reverse order of the Mac keyboard functionality.  Many start sequence shortcuts only work on the wired Apple compatible keyboards.   Logitech and compatible third-party Apple MacAlly keyboards.  Microsoft for its own keyboards makes a pilot who will the placement of the button Alt and Windows in the right order.

    ALT = key Option from Apple.

    Windows = control of Apple key.

  • I can't connect to my account. He says that I already have a LIVE account when I enter my e-mail address, but when I use the "forgotten password", it says that this account does not exist. WTF?

    I can't connect to my account. He says that I already have a LIVE account when I enter my e-mail address, but when I use the "forgotten password", it says that this account does not exist.  WTF?

    Hello

    For questions related to the application, Windows Live, Windows Live Support professionals/moderators will be best placed to help you. I recommend you to ask your question in the support forum for Windows Live for assistance:

    http://www.windowslivehelp.com/

    Hope the helps of information.

  • How can I configure Messenger to record my conversations, record them and send them to a location I can read and save when you use Messenger on other computers than mine?

    How can I configure Messenger to record my conversations, record them and send them to a location I can read and save when you use Messenger on other computers than mine?

    original title: Live Messenger

    Hi Nicoliani,

    To start saving your Conversations in Windows Live Messenger

    1. connect to your window Live Messenger and click on 'Tools' or click on your display name.

    2. scroll down to "Options", a window should appear. When he does very well and click on "Messages".

    3. locate "historical Message". After that, check the box that says, "automatically keep a history of my conversations.

    4. below that you will see "save my conversations in this folder."

    5. to side of her you will see change, make sure that it is a file that you can access and watch later.

    6. If you are on a network, you can save it in a directory which you have access, or you can save it to a location and later mailed to yourself and access it later.

    Where chats are saved is given below.

    1. to access the Conversations go to the start bar and click My Documents. Then click on "my received files."

    2. There should be a folder with your name on it. Click the folder, then you will be in another folder called history. Continue

    3. by clicking on the folder, now you should see all your saved conversations.

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • password encryption when the value is not in TB

    In the settings of POP3 e-mail, transmit precarious pw works together and pop3. I get smtp on the sending of error message indicating a password encrypted tent to serve and is rejected by the smtp server. I don't see a separate setting for the security of password in the smtp settings.

    Go down to the very last account in the list, "outgoing (SMTP) server. You'll find all of your smtp settings there.

  • Hidekeys with password encryption Service

    Hello

    I'm reviewing my companies switch check-in facility and I noticed was the lack of the "hidekeys" command in the configuration of archive. I wonder if this is really necessary when the service password encryption is enabled as surely all passwords would be encrypted anyway?

    Thank you!

    "the password encryption service" is a very weak security measure because it is reversible. The algorithm is documented and anyone sniffing the transfer can restore passwords. Thereby, these passwords must be viewed in plain text. Now you have to decide if this is a problem for your environment.

    Best practice is to move the hashed passwords, where possible. For the fair user accounts move to the 'secret' of the configuration form. But for all types of routing-protocol-passwords which is not possible.

  • Best way to reconciliation Lookup for connector DBAT


    Hi all

    What is the recommended method for looking for connector DBAT reconciliation?

    All built-in connectors have recon planned research work during the installation we can configure by using the name of the resource.

    But in the DBAT connector, there is no such scheduled task.

    When short list, we can create and update the search using "console design.

    But it's long or change frequently, a way to automate it.

    How do you manage this?

    Any comments will be highly appreciated.

    dongsu.

    Hello

    You must update the table of IPY research. See the link for idea on how to add to the below table

    IOM IDM blog: tcLookupOperationsIntf Interface API example

    You can many more examples to add values to the lookup table.

    Let me know if you need anything more on this issue

  • How to compare the current password encrypted pasword enter APEX4.1

    Hi all
    In my application uses the following package
    create or replace PACKAGE BODY app_security_pkg
    AS
    PROCEDURE login 
              (
               p_uname IN VARCHAR2
              ,p_password IN VARCHAR2
              ,p_session_id IN VARCHAR2
              ,p_flow_page IN VARCHAR2
              )
    IS
     lv_goto_page NUMBER DEFAULT 1;
    BEGIN
     
     -- This logic is a demonstration of how to redirect 
     -- to different pages depending on who successfully 
     -- authenticates. In my example, it simply demonstrates 
     -- the ADMIN user going to page 1 and all other users going
     -- to page 2. Add you own logic here to detrmin which page 
     -- a user should be directed to post authentication.
     IF UPPER(p_uname) = 'ADMIN'
     THEN
      lv_goto_page := 1;
     ELSE
      lv_goto_page := 2;
     END IF;
    
    APEX_UTIL.SET_SESSION_STATE('FSP_AFTER_LOGIN_URL');
    
     wwv_flow_custom_auth_std.login 
     (
      p_uname => p_uname,
      p_password => p_password,
      p_session_id => p_session_id,
      p_flow_page => p_flow_page || ':' || lv_goto_page
      );
    
    EXCEPTION
    WHEN OTHERS
    THEN 
     RAISE;
    END login;
    
    PROCEDURE add_user 
    (
     p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    )
    AS
    BEGIN
    INSERT INTO app_users (username, PASSWORD)
        VALUES (UPPER (p_username),
            get_hash (TRIM (p_username), p_password));
    
    COMMIT;
    
    EXCEPTION
    WHEN OTHERS
    THEN 
     ROLLBACK; 
     RAISE;
    END add_user;
    
    -- Function to Perform a oneway hash of the users 
    -- passwords. This cannot be reversed. This exmaple 
    -- is a very week hash and if been used on a production 
    -- system, you may want to use a stronger hash algorithm.
    -- Read the Documentation for more info on DBMS_CRYPTO as 
    -- this is the supported package from Oracle and 
    -- DBMS_OBFUSCATION_TOOLKIT is now depricated.
    FUNCTION get_hash (p_username IN VARCHAR2, p_password IN VARCHAR2)
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN DBMS_OBFUSCATION_TOOLKIT.md5 (
    input_string => UPPER (p_username) 
                    || '/' 
                    || UPPER (p_password));
    END get_hash;
    
    PROCEDURE valid_user2 (p_username IN VARCHAR2, p_password IN VARCHAR2)
    AS
    v_dummy VARCHAR2 (1);
    BEGIN
    SELECT '1'
    INTO v_dummy
    FROM app_users
    WHERE UPPER (username) = UPPER (p_username)
    AND PASSWORD = get_hash (p_username, p_password);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN raise_application_error (-20000, 'Invalid username / password.');
    END valid_user2;
    
    FUNCTION valid_user (p_username IN VARCHAR2, p_password IN VARCHAR2)
    RETURN BOOLEAN
    AS
    BEGIN
    valid_user2 (UPPER (p_username), p_password);
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS
    THEN RETURN FALSE;
    END valid_user;
    
    END app_security_pkg;
    Here the ADD_USER procedure will convert the password and stores in the Table app_users in encrypted form.

    In my application, users can change their password,
    So I need to compare the password entering the Current_password field with the password encrypted in the app_users table.
    So I used the following code,
    declare
      l_x varchar2(30);
    begin
      select username into l_x
            from app_users
        where upper(username) = upper(:P7_USERNAME)
          and password = :P7_CURRENT_PASSWORD;
      return (true);
    exception
      when no_data_found then
        return (false);
    end;
    This code works fine when the password is stored without encryption, but it displays error, after encryption

    because the password entered is simply password and not encrypted if the two are different even if the user enters the correct password.

    Please tel me how encrypt the entered password to compare with the encrypted password.

    Thank you
    Kind regards
    gurujothi.

    Hi guru,.

    When you say comparing it is obvious that both must be in the same format, so either you have to compare both encrypted or not encrypted.

    Do you have an example on apex.oracle.com?

    Thank you

  • Backup configuration using SCP

    Hello

    I'm stuck with a piece of configuration, trying to save with SCP Cisco switches.

    We need securly backup our infrastructure remote switches, connected to our main site through the firewall (for security reasons).

    The central server is secure, and we cannot use FTP or TFTP. The way we have chosen is SCP.

    To do this we first tried with a login and a password declared on the SCP server (full FTP server, in fact in eval mode).

    Everything works fine, but our security team dislikes the account and the password stored in the switch configuration (we are scheduling backups with local "cron").

    So we tried to configure a pair of RSA keys, connect to the SCP server with RSA key password instead.

    The configuration is OK on the server, the cause, we could open a session with a client of WinSCP.

    But we are unable to connect to the Cisco device. When we try to login and issue "the copy running-config scp:' test, insiders of the connection and the closure of the Terminal."

    Do a debug port SCP console (cause whenever we try, we lose our access to the terminal), we can see that the error: "server does not support password authentication.

    It seems that the rsa key pair is not presented on the server of the CPS, and the switch always try to connect with a password.

    Is there a normal state, because the switch does not use a connection with the RSA key pair, or is there a problem with the configuration that we have entered?

    What do you think?

    Thanks for the help that you could give to us.

    Good bye.

    Yannick

    Looks like authentication based on RSA keys is possible starting with IOS 15.0 (1) M:

    http://www.Cisco.com/en/us/docs/iOS/sec_user_services/configuration/guide/sec_secure_shell_v2.html

    Otherwise, you might have an external script that initiated the SCP from a secure server, assuming that access to the server is locked and read on behalf of username/password access the SCP script use is well controlled.

  • PeopleTools Upgrade From 8.54 8.53 - change Wizard error when configuring the connection to the base

    Error is displayed: "Test Access ID and password failed."

    Second error: "unable to test the connection.

    I am upgrading from 8.53 to 8.54 and have problems with the "Database Wizard" configuration screen in the wizard to change.  I use SQL Server 2012 for the database, change Wizard is running on the new server of 8.54 applications.  I use the following information when defining the configuration screen:

    Type: Microsoft SQL Server

    DatabaseName: PSHRPROD

    Database server name: PTY2DBAREH002

    User name: {AdminUser}

    AccessID: {DB user who is administrator system right now}

    ConnectID: {valid connect ID which has been vailidated}

    Current homes:

    PS homepage: \\servername\PT_853

    PS App Home: file://servername/PT_853\\servername\PT_853

    PS Cust homepage: \\servername\PT_853

    New homes:

    PS-home: D:\rootPS\PT_854

    PS App Home: D:\rootPS\PS_APP_HOME

    PS Cust home: D:\rootPS\PS_CUST_HOME

    When I clck 'Next', I get errors...

    Error is displayed: "Test Access ID and password failed."

    Second error: "unable to test the connection.

    (1) I have validated that the path contains the path to 64-bit SQL tools.

    (2) the ODBC connection is set up under 64-bit and 'System' - it is also 32 bits of the system and user Setup, but also the 64-bit user.

    (3) I used the SQL Server sqlcmd.exe with access code and was able to connect from this machine and run the SQL commands.

    (4) I'm sure I've done the other stuff but don't remember.

    Please let me know if anyone experienced this or has any ideas.  I'm waiting on Oracle to react to the case after I opened it when their suggestion didn't work.

    Thank you

    Ryan

    I ended up working with Oracle Support, that had me do some things... I also did a thing on my own and with these changes, I am able to connect now.  If it does not please let me know... I tried a few other things that I don't think had no effect.

    (1) removed the Environment Variable "PS_SERVER_CFG" - I found in a document oracle that this could cause problems.  I have not set this manually, but Oracle says it is used to run data mover or SQR scripts outside of the process scheduler.  It must have been added as part of the installation so I'll add it again later.  This change did put a slight change to error messages, so it have some effect, but does not solve everything.

    (2) with the upgrade of 8.53 8.54 I had to add a 32-bit ODBC user DSN.  Even if change assistant 8.54 uses 64-bit, it seems that 8.53 connections are still serving who connects via ODBC 32-bit.

    (3) make sure that the paths configured in the wizard to change are not UNC, if they are matched with a drive and configure using readers.

    Good luck.

  • Why Oracle ManagedDataAccess (4.121.1.0) throws a System.FormatException "first chance" exception to the debugger when you use OracleCommand.BindByName (on some machines, but not others)?

    Why Oracle ManagedDataAccess (4.121.1.0) throws a System.FormatException "first chance" exception to the debugger when you use OracleCommand.BindByName (on some machines, but not others)?

    This occurs when calling a ref cursor-returning packaged function stored with OracleCommand.BindByName set to true.

    When BindByName undefined, it works as expected.

    I've only been able to recreate this problem on a machine in my control. This issue has also reported to me by a customer.

    I tried to change the locale of the system of EN - UK EN-US, but I was not aware of any change in behavior.

    Similarly, I've tried explicitly overriding the default locale of the system with the OracleGlobalization parameters, and it also had no effect.

    Please see the example below.

    ---

    Environment (default):

    Windows 7 Professional 64-bit SP1

    Visual Studio 12.0.21005.1 REL / / CAN BE SIGNIFICANT

    .NET framework 4.5.51209

    Local system: EN - UK (but also does not, EN-US).

    Oracle.ManagedDataAccess 4.121.1.0

    "< supportedRuntime version ="v4.0"sku =". NETFramework,Version=v4.5.1"/ >

    Environment (base):

    Windows 7 Professional 64-bit SP1

    Updated Visual Studio 12.0.31101.00 //SEE above 4

    .NET framework 4.5.51209

    Local system: EN - UK

    Oracle.ManagedDataAccess 4.121.1.0

    "< supportedRuntime version ="v4.0"sku =". NETFramework,Version=v4.5.1"/ >

    Call stack:

    mscorlib.dll. Unknown System.Number.StringToNumber(string str, System.Globalization.NumberStyles options, ref System.Number.NumberBuffer number, System.Globalization.NumberFormatInfo info, bool parseDecimal)
    mscorlib.dll. Unknown System.Number.ParseInt32(string s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Types.OracleRefCursor.OracleRefCursor (connection Oracle.ManagedDataAccess.Client.OracleConnection, OracleInternal.ServiceObjects.OracleRefCursorImpl refCursorImpl, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long initialLongFS, long initialLobFS, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleParameterImpl.ExtractRefCursorFromAccessor (Oracle.ManagedDataAccess.Client.OracleConnection conn, accessor OracleInternal.TTC.Accessors.Accessor, long fetchSize, Oracle.ManagedDataAccess.Client.PrmEnumType enumType, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution, int currentRow) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleParameterImpl.GetRefCursorFromBytes unknown (Oracle.ManagedDataAccess.Client.OracleConnection conn, accessor OracleInternal.TTC.Accessors.Accessor, long fetchSize, Oracle.ManagedDataAccess.Client.PrmEnumType enumType, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Client.OracleParameter.PostBind_RefCursor (connection Oracle.ManagedDataAccess.Client.OracleConnection, OracleInternal.TTC.Accessors.Accessor bindAccessor, long fetchSize, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleCommandImpl.ExtractAccessorValuesIntoParam (Oracle.ManagedDataAccess.Client.OracleParameterCollection paramColl, Oracle.ManagedDataAccess.Client.OracleConnection connection, string commandText, long longFetchSize, long lobFetchSize, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! Unknown Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(bool requery, bool fillRequest, System.Data.CommandBehavior behavior)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader (unknown)

    > ManagedSimpleRefCursor1.exe! NoddyConsole.Program.Command_ExecuteReader_BindByName_Fails (Line 63 c#)

    Example:

    ----

    using System;

    using System.Collections.Generic;

    using System.Linq;

    using System.Text;

    using Oracle.ManagedDataAccess.Client;

    using Oracle.ManagedDataAccess.Types;

    using System.Data;

    namespace NoddyConsole

    {

    public class Program

    {

    public static int Main (string [] args)

    {

    Error int = 0;

    Errors += Command_ExecuteReader_BindByName_Fails();

    Errors += UseReturnValue_Command_ExecuteNonQuery_BindByName_Fails();

    return errors;

    }

    public static int Command_ExecuteReader_BindByName_Fails()

    {

    Error int = 0;

    Try

    {

    var conn = new OracleConnection ("UID = USER; Password = PASS; ("Data Source = / / your-host: 1521 / yours-sid");

    var conn = new OracleConnection ("user Id = UNIT620; Password = UNIT620; ("Data Source = / / ln1apidb01:1521 / fm");

    Conn. Open();

    IRRELEVANT

    OracleGlobalization og is conn. GetSessionInfo();

    og. DateFormat = "HH24:MI:SS MON-DD-YYYY";

    Conn. SetSessionInfo (og);

    var cmd is conn. CreateCommand();

    cmd.CommandType = CommandType.Text;

    BindByName. cmd = true;

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_1 (in_code = >: in_code); END; « ;

    var prm1 is cmd. CreateParameter();

    PRM1. ParameterName = "rc";

    PRM1. Direction = ParameterDirection.ReturnValue;

    PRM1. OracleDbType = OracleDbType.RefCursor;

    cmd. Parameters.Add (prm1);

    / * SHAUN.recreate_issue_1 * /.

    var prm2 is cmd. CreateParameter();

    PRM2. ParameterName = "in_code";

    PRM2. Direction = ParameterDirection.Input;

    PRM2. OracleDbType = OracleDbType.Varchar2;

    PRM2. Value = "A";

    cmd. Parameters.Add (prm2);

    /* */

    var reader is cmd. ExecuteReader(); FAILS to System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)

    /* *-/

    OracleRefCursor orc = null;

    cmd ExecuteNonQuery()); must fail here

    ORC = cmd. Parameters ["rc"]. Value as OracleRefCursor;

    If (orc is nothing)

    throws InvalidOperationException new ("Invalid return the ref cursor type");

    var = orc player. GetDataReader();

    /* */

    While (reader. Read

    {

    var values = new object [reader. FieldCount];

    drive. GetOracleValues (values);

    for (int i = 0; i < values.) Length; (++ I)

    {

    Console.WriteLine(values[i]);

    }

    }

    drive. Dispose();

    cmd. Dispose();

    Conn. Dispose();

    }

    catch (Exception ex)

    {

    Console.Error.WriteLine (ex) Message);

    Errors ++;

    }

    Finally

    {

    Return (true);

    }

    return errors;

    }

    public static int UseReturnValue_Command_ExecuteNonQuery_BindByName_Fails()

    {

    Error int = 0;

    Try

    {

    var conn = new OracleConnection ("UID = USER; Password = PASS; ("Data Source = / / your-host: 1521 / yours-sid");

    Conn. Open();

    IRRELEVANT

    OracleGlobalization og is conn. GetSessionInfo();

    og. DateFormat = "HH24:MI:SS MON-DD-YYYY";

    Conn. SetSessionInfo (og);

    var cmd is conn. CreateCommand();

    BindByName. cmd = true; // ####

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_1 (in_code = >: in_code); END; « ;

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_2; END; « ; No params, works

    var prm1 is cmd. CreateParameter();

    PRM1. ParameterName = "rc";

    PRM1. Direction = ParameterDirection.ReturnValue;

    PRM1. OracleDbType = OracleDbType.RefCursor;

    cmd. Parameters.Add (prm1);

    / * SHAUN.recreate_issue_1 * /.

    var prm2 is cmd. CreateParameter();

    PRM2. ParameterName = "in_code";

    PRM2. Direction = ParameterDirection.Input;

    PRM2. OracleDbType = OracleDbType.Varchar2;

    PRM2. Value = "A";

    cmd. Parameters.Add (prm2);

    /* */

    var reader is cmd. ExecuteReader();

    OracleRefCursor orc = null;

    HERE does NOT cmd. BindByName = true; System.FormatException first-chance exception in at System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)

    cmd ExecuteNonQuery());

    ORC = cmd. Parameters ["rc"]. Value as OracleRefCursor;

    If (orc is nothing)

    throws InvalidOperationException new ("Invalid return the ref cursor type");

    var = orc player. GetDataReader();

    While (reader. Read

    {

    var values = new object [reader. FieldCount];

    drive. GetOracleValues (values);

    for (int i = 0; i < values.) Length; (++ I)

    {

    Console.WriteLine(values[i]);

    }

    }

    drive. Dispose();

    ORC. Dispose();

    cmd. Dispose();

    Conn. Dispose();

    }

    catch (Exception ex)

    {

    Console.Error.WriteLine (ex) Message);

    Errors ++;

    }

    Finally

    {

    Return (true);

    }

    return errors;

    }

    }

    }

    ---

    create or replace package THAT SHAUN is

    type ref_cur_type is ref cursor;

    function recreate_issue_1)

    in_code varchar2: = null

    ) return ref_cur_type;

    end SHAUN;

    /

    create or replace package body what SHAUN

    -TTS000233

    function recreate_issue_1)

    in_code varchar2: = null

    ) return ref_cur_type is ref_cur ref_cur_type;

    Start

    Open the ref_cur for

    Select UO.object_name from user_objects UO;

    Return ref_cur;

    end recreate_issue_1;

    end SHAUN;

    /

    ---

    Thanks a lot to qualify again for me Alex.  I'll try upgrading to the latest version of the provider.

    The difference in behavior between the two hosts was found to be reduced to differences in configuration VS.

    Checking 'Just my code' prevents the first chance thrown in the debugger exception. As in fact, the exception is handled in the provider, it is enough for me.

  • I need the Md5 algorithm for password encryption adf

    Can someone provide pointer how to use the algorithm Md5 password encryption for the adf

    Ah, database 11g is great.
    But it does not help you. In middleware, alias in a managed Bean of ADF you must use the Oracle Security Development Toolkit libraries to encrypt the password before storing it in the database. Traffic between the middleware and database is not normally encrypted and readable for all network sniffer.
    When the user connects, you can use a similar mechanism to compare the encrypted password.
    The other solution would be to use an LDAP server for the user/password information (WebLogic has a built-in and very good for small environments). No encryption necessary, as does the LDAP protocol.
    Since you don't mention the middleware you use, here is the link to 11g of BCI for the tool box: http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10668/toc.htm

    HTH,
    -olaf

Maybe you are looking for

  • C4795 HP printer does not print in the browser firefox, but in IE

    I have a printer HP C4795 and HP windows 7 and the printer will not work with firefox. It works fine in IE. I had trouble with firefox crashing yesterday so I uninstalled and reinstalled and printer does not work. has worked in firefox before my test

  • HP Pavilion notebook 15-ab054c: CA of Hp Pavilion notebook 15-ab054ca adapter

    Dear Sir. I need a replacement for the power adapter for my computer laptop 15-ab054ca.  There is one at amazon.ca by Battpit adapter 19.5V 90W A 4.62.  Is it compatible with my laptop? I try to get one from Hp, but I don't know how.  HP website is t

  • The screen is black, but working satellite M30

    I have a satellite M30, I was watching a movie through another monitor when the battery is dead. Now, when I restart, the screen is blank. If I attach to the other monitor it works fine, but pressing the "Fn + F5" key will not bring my screen to life

  • HP Pavilion p7-1030 graphic card upgrade help

    OK, so I have a desktop HP Pavilion p7-1030, and the graphics card is crap, I need to update something much better.I know that I'll probably need a new power supply too, if anyone knows a good combo? Also, where can I find the old graphics card and P

  • Problems IOS9.2.1

    My husband has updated its Ipad 4 to IOS9.2.1. and lost all its hotmail mailbox content.  We tried different things to retrieve it, such as the removal of his e-mail account, by restarting and adding again, but nothing works.  I'm hesitant to do the