Decrypt the password of USR OIM 11g table

You can have someone help towards how decrypt us the password of USR table to obtain the password in clear text format?

Thank you

Select usr_password from usr where usr_login = '. '

You can get an instance of the database.

-Kevin

Tags: Fusion Middleware

Similar Questions

  • Remote Desktop Connection Manager v2.2 - "Unable to decrypt the password"

    Hello
    I have a problem with RDCM. When I log in as an administrator I can access the servers without any problem. Things get complicated when I try to do as a user. Then I get this message:

    Impossible to decrypt the password

    I want users to connect by using their usernames and passwords, but I also want that they have access to all servers. How can I do?

    Hello

    Please contact Microsoft Community.

    The problem you are having is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNetpublic.

    Please post your question in the TechNet Forum.

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winRDc

    Hope this helps you solve the problem, if any question you can write us and we will be happy to help you further.

  • Tracking package to decrypt the password for EBS

    Hello

    There are methods where we can decrypt the password of EBS by using some packages.

    My question is there any method that we can follow whether or not this package has been used by sending a warning to dba. I'm afraid that somehow the developers on my team running this package to decrypt the password for the Apps or Sysadmin.

    EBS 11.5.10.2
    DB 11.2.0.2

    Thank you
    Vicky

    1. you must use passwords in your instance DEV who differ from the PROD, and also to hide any sensitive data. This will reduce the problem is that a lot of people have the APPS or SYSADMIN passwords (legitimately or not)

    2. If the developers have permissions to use the API to decrypt the passwords, so they probably also permissions to create packages that will make it more difficult to follow. You must therefore ensure that the developers have only the permissions required for them to do their job

    3 oracle has long recommended implementing non-reversible hash password system to enhance the security of password FND_USER
    Note 457166.1 : new feature of the utility FNDCPASS: improving security by Non-reversible hash password

    This applies to both version 11i and Release 12

    Hope this helps

    concerning

    Mike

  • Able to decrypt the passwords to oracle, a security problem?

    Hello
    Before all sorry if this is a silly question. I'm still fairly new to Oracle...

    My company is using Toad for Oracle to access our database, now I found a thread on the internet saying there is a tool that allows to decrypt the passwords to oracle.
    How can we prevent someone from our database passwords decryption?

    Thread of the example: http://toadfororacle.com/thread.jspa?threadID=36841

    Is it a security issue?

    Thank you
    Dere

    Published by: user6032647 on 05/04/2012 22:12

    The way I read it is that TOAD stores Oracle connection details in an .ini file, and this file can be decrypted.

    Oracle does not store the encrypted passwords, it stores the hashed passwords that cannot be decrypted. If the hashes are exposed they can be brute-force, so the complex passwords are essential.

    It is a problem of TOAD. Connection passwords should not be saved (I guess that TOAD a standard Windows "save my password checkbox", it were not used for years). If it is used as a mechanism to hide the users of TOAD database connection details, then serious consideration of safety is required.

    Dave

  • How to decrypt the password in a mapping of WSConnector/SOA?

    Hello

    How can I decrypt password of the user in the SOA? Now I map the field of password on the other side of CreateOp_InputVariable (/ ns2: create/userAccount/__PASSWORD__) in the password field of the my WS of application in the component of the entitlement and this password is encrypted in the WS request too. But I need clear form of password here. How can I do?

    Is it possible to make a transformation/decryption of password in SOA (in the WSConnector.bpel)?

    The payload of the WSConnector are:

    < input >

    < InvokeCreate_vytvorPouzivatela_InputVariable >

    < name of part = 'Settings' >

    < vytvorPouzivatela >

    < idVolajuceho > XYZ11111 < / idVolajuceho >

    < user >

    < aktivny > true < / aktivny >

    < heslo >zRUIc60NAqg/Gh5D4QerihmAZHu7XspxVkj3KPvwlJY =< / heslo >

    < idmKod > TE510001 < / idmKod >

    < idmKodOrganizacie > 11010084000 < / idmKodOrganizacie >

    < connection > TE510001 < / login >

    < meno > Test < / meno >

    < priezvisko > user < / priezvisko >

    < pristupy >

    < rolePriznak > RIS < / rolePriznak >

    < / pristupy >

    < / user >

    < / vytvorPouzivatela >

    < / part >

    < / InvokeCreate_vytvorPouzivatela_InputVariable >

    < / Entry >

    As you can see, the password is encrypted and I need a clear form by the password (password is placed between the tags < heslo > < / heslo >). BTW, I'm not able to edit the Web Services application so I need to solve my site.

    Thank you.

    Milan

    Try adding a string in build.xml (I like my third line)

    This requires ant - contrib.jar in the folder $ANT_HOME/lib. So if you do not find in $MW_HOME and copy to the folder I mentioned.

  • Set-VM the vCenter Server fails to decrypt the passwords stored in the customization specification error

    This error in executing the PowerCLI code below

    Environment

    5.5 b

    Using PowerCLI 5.5

    Do not use a custom certificate

    (1) tried to use passwords in clear text in the script (not my favorite)

    (2) tried to retype the password in the customization specifications (join the domain and local administrator options)

    (3) tried to use Get-Credential as stored creds

    (4) I don't know how to put the password in the XML file in clear text (not my favorite) - looking at it now.

    #Load PowerCLI a snap

    function LoadSnapin {}
    Param ($PSSnapinName)
    If (!) () Get-PSSnapin. where {$_.} Name - eq $PSSnapinName})) {}
    Add-pssnapin-name $PSSnapinName
    }
    }
    LoadSnapin - PSSnapinName 'VMware.VimAutomation.Core '.


    #Create VM
    $ParentVMName = "Parent2012r2VM".
    $vCenterHostName = 'vCenter.
    $vCenterUserName = "domain\user".
    $vCenterUserPassword = "Password"
    SE connect-VIServer-Server "vCenter' - User $vCenterUserName - password $vCenterUserPassword

    #$cred = get-Credential
    #connect-viserver-Server "vCenter" - Credential

    $cloneName = 'Server1 '.
    $sourceVM = get - VM $ParentVMName | Get-View
    $cloneFolder = $sourceVM.parent
    $cloneSpec = new-object Vmware.Vim.VirtualMachineCloneSpec
    $cloneSpec.Snapshot = $sourceVM.Snapshot.CurrentSnapshot
    $cloneSpec.Location = new-object Vmware.Vim.VirtualMachineRelocateSpec
    $cloneSpec.Location.DiskMoveType = [Vmware.Vim.VirtualMachineRelocateDiskMoveOptions]: createNewChildDiskBacking
    $sourceVM.CloneVM_Task ($cloneFolder, $cloneName, $cloneSpec)


    #Update temporary spec
    [string] $Domain = "Domain".
    [string] $DomainUserName = "user@domain".
    [string] $DomainPassword = "password"
    $Spec = get-OSCustomizationSpec "CustomSpec1" | New-OSCustomizationSpec-name "tmp01" - non-permanent Type | Game-OSCustomizationSpec-domain $Domain - DomainUsername $DomainUsername - DomainPassword $DomainPassword
    $Spec = get-OSCustomizationNicMapping-Spec $Spec | Game-OSCustomizationNicMapping - IPmode UseStaticIP - IPAddress 'x.x.x.x' - SubnetMask - DefaultGateway x.x.x.x - x.x.x.x DNS 'x.x.x.x', 'x.x.x.x '.
    $Spec = get-OSCustomizationSpec "tmp01".


    #Apply temporary spec
    $VM = get - VM "Server1."
    Get - VM $VM | Get-NetworkAdapter | Together-NetworkAdapter - PortGroup "PortGroup1" - confirm: $false | out-null
    #Errors on this line
    Get - VM $VM | Set-VM - OSCustomizationSpec $Spec - confirm: $false | Start-vm

    Disconnect-VIServer-Server "vCenter" - confirm: $false | out-null

    I gave up trying to clone an existing config a spec just dynamically created in memory, and applied.  It was a LOT easier and had no password problems.

  • problem during decryption of password encrypted

    Hello to all that I am saving the password encrypted in the database. And decrypting the password attached to the url. But while I'm decrypting it gives me the Exception BadPadding exception. I used this class to encrypt and decrypt the password.

    public class CryptAes {
    
        // First create the AES key based on the bytes in secretKey using  keyLength bits as the length
        static AESKey keydec = new AESKey("A3$1E*81234567891111111111111111".getBytes() );
        static AESKey keyenc = new AESKey("A3$1E*81234567891111111111111111".getBytes() );
        static AESKey keyenc128 = new AESKey("A3Q1EF8123456789".getBytes());
        static AESKey keydec128 = new AESKey("A3Q1EF8123456789".getBytes());
    
        private static byte[] iv = { 0x0a, 0x01, 0x02, 0x03, 0x04, 0x0b, 0x0c,
            0x0d, 0x0a, 0x01, 0x02, 0x03, 0x04, 0x0b, 0x0c, 0x0d };
    
        public static byte[] plainText= new byte[10000];
    
     public static String AESEncryption(byte[] plainText) {
    
            String resultString = null;
    
            try {
    
                 AESEncryptorEngine engine = new AESEncryptorEngine( keyenc128 );
    
                 CBCEncryptorEngine cengine=new CBCEncryptorEngine(engine, new InitializationVector(iv));
                    PKCS5FormatterEngine fengine = new PKCS5FormatterEngine( engine );
                    ByteArrayOutputStream output = new ByteArrayOutputStream();
                    BlockEncryptor encryptor = new BlockEncryptor( fengine, output );
    
                    encryptor.write(plainText);
                    encryptor.close();
                    byte[] encryptedData = output.toByteArray(); output.close();
                    String st=new String(encryptedData);
    
                    byte[] base64 = Base64OutputStream.encode(encryptedData, 0, encryptedData.length, false, false);
    
                          //Base64Coder.encodeString(Byte.toString(plainText));
                          resultString = new String(base64);
    
            } catch (CryptoException cryptoException) {
                // TODO: handle exception
                System.out.println("Exception is "+cryptoException.getMessage()+"And the exception is"+cryptoException.toString());
            }
            catch (CryptoTokenException e) {
                // TODO: handle exception
                System.out.println("Exception is "+e.getMessage()+"And the exception is"+e.toString());
            }catch (CryptoUnsupportedOperationException e) {
                // TODO: handle exception
                System.out.println("Exception is "+e.getMessage()+"And the exception is"+e.toString());
            }catch (IOException e) {
                // TODO: handle exception
                System.out.println("Exception is "+e.getMessage()+"And the exception is"+e.toString());
            }
            return resultString;
      }
    
        public static String AESDecryption(byte[] cipherText, int dataLength ) /*throws CryptoException, IOException, CryptoTokenException, CryptoUnsupportedOperationException*/ {      
    
            String reString = null;
            try {
    
                ByteArrayInputStream in = new ByteArrayInputStream( cipherText, 0, dataLength );
    
                // Now create the block decryptor and pass in a new instance
                // of an AES decryptor engine with the specified block length
                BlockDecryptor cryptoStream = new BlockDecryptor(new AESDecryptorEngine( keydec128 ), in );
                byte[] T = new byte[dataLength];
    
                // Read the decrypted text from the AES decryptor stream and
                // return the actual length read        
    
                int length = cryptoStream.read( T ); //Here i am getting exception BadPadding
                reString = new String(T);
                int i=reString.indexOf("");
                reString = reString.substring(0,i+6);      
    
            } catch (CryptoException e) {
                // TODO: handle exception
                System.out.println("Exception is ="+e.getMessage());
            }catch (CryptoTokenException e) {
                // TODO: handle exception
                System.out.println("Exception is ="+e.getMessage());
            }catch (CryptoUnsupportedOperationException e) {
                // TODO: handle exception
                System.out.println("Exception is ="+e.getMessage());
            }catch (IOException e) {
                // TODO: handle exception
                System.out.println("Exception is ="+e.getMessage()+"333333333333"+e.toString());
            }
            // Create the input stream based on the ciphertext        
    
            return reString;
    
        }
    

    Help me with this.

    I was trying to encrypt and decipher passing on it but only has failed, so I just change how to encrypt or to decrypt the password. I had just use Base64Coder class to achieve this. And thank you for your concern. And here is the Base64Coder class, if someone needs it.

    //Copyright 2003-2009 Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland
    //www.source-code.biz, www.inventec.ch/chdh
    //
    //This module is multi-licensed and may be used under the terms
    //of any of the following licenses:
    //
    //EPL, Eclipse Public License, http://www.eclipse.org/legal
    //LGPL, GNU Lesser General Public License, http://www.gnu.org/licenses/lgpl.html
    //AL, Apache License, http://www.apache.org/licenses
    //BSD, BSD License, http://www.opensource.org/licenses/bsd-license.php
    //
    //Please contact the author if you need another license.
    //This module is provided "as is", without warranties of any kind.
    
    /**
    * A Base64
    * r/Decoder.
    *
    * 

    * This class is used to encode and decode data in Base64 format as described in RFC 1521. * *

    * Home page: http://www.source-code.biz">www.source-code.biz
    * Author: Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland
    * Multi-licensed: EPL/LGPL/AL/BSD. * *

    * Version history:
    * 2003-07-22 Christian d'Heureuse (chdh): Module created.
    * 2005-08-11 chdh: Lincense changed from GPL to LGPL.
    * 2006-11-21 chdh:
    *   Method encode(String) renamed to encodeString(String).
    *   Method decode(String) renamed to decodeString(String).
    *   New method encode(byte[],int) added.
    *   New method decode(String) added.
    * 2009-07-16: Additional licenses (EPL/AL) added.
    * 2009-09-16: Additional license (BSD) added.
    */ public class Base64Coder { //Mapping table from 6-bit nibbles to Base64 characters. private static char[] map1 = new char[64]; static { int i=0; for (char c='A'; c<='Z'; c++) map1[i++] = c; for (char c='a'; c<='z'; c++) map1[i++] = c; for (char c='0'; c<='9'; c++) map1[i++] = c; map1[i++] = '+'; map1[i++] = '/'; } //Mapping table from Base64 characters to 6-bit nibbles. private static byte[] map2 = new byte[128]; static { for (int i=0; iin. * @return A character array with the Base64 encoded data. */ public static char[] encode (byte[] in, int iLen) { int oDataLen = (iLen*4+2)/3; // output length without padding int oLen = ((iLen+2)/3)*4; // output length including padding char[] out = new char[oLen]; int ip = 0; int op = 0; while (ip < iLen) { int i0 = in[ip++] & 0xff; int i1 = ip < iLen ? in[ip++] & 0xff : 0; int i2 = ip < iLen ? in[ip++] & 0xff : 0; int o0 = i0 >>> 2; int o1 = ((i0 & 3) << 4) | (i1 >>> 4); int o2 = ((i1 & 0xf) << 2) | (i2 >>> 6); int o3 = i2 & 0x3F; out[op++] = map1[o0]; out[op++] = map1[o1]; out[op] = op < oDataLen ? map1[o2] : '='; op++; out[op] = op < oDataLen ? map1[o3] : '='; op++; } return out; } /** * Decodes a string from Base64 format. * @param s a Base64 String to be decoded. * @return A String containing the decoded data. * @throws IllegalArgumentException if the input is not valid Base64 encoded data. */ public static String decodeString (String s) { return new String(decode(s)); } /** * Decodes a byte array from Base64 format. * @param a Base64 String to be decoded. * @return An array containing the decoded data bytes. * @throws IllegalArgumentException if the input is not valid Base64 encoded data. */ public static byte[] decode (String s) { return decode(s.toCharArray()); } /** * Decodes a byte array from Base64 format. * No blanks or line breaks are allowed within the Base64 encoded data. * @param in a character array containing the Base64 encoded data. * @return An array containing the decoded data bytes. * @throws IllegalArgumentException if the input is not valid Base64 encoded data. */ public static byte[] decode (char[] in) { int iLen = in.length; if (iLen%4 != 0) throw new IllegalArgumentException ("Length of Base64 encoded input string is not a multiple of 4."); while (iLen > 0 && in[iLen-1] == '=') iLen--; int oLen = (iLen*3) / 4; byte[] out = new byte[oLen]; int ip = 0; int op = 0; while (ip < iLen) { int i0 = in[ip++]; int i1 = in[ip++]; int i2 = ip < iLen ? in[ip++] : 'A'; int i3 = ip < iLen ? in[ip++] : 'A'; if (i0 > 127 || i1 > 127 || i2 > 127 || i3 > 127) throw new IllegalArgumentException ("Illegal character in Base64 encoded data."); int b0 = map2[i0]; int b1 = map2[i1]; int b2 = map2[i2]; int b3 = map2[i3]; if (b0 < 0 || b1 < 0 || b2 < 0 || b3 < 0) throw new IllegalArgumentException ("Illegal character in Base64 encoded data."); int o0 = ( b0 <<2) | (b1>>>4); int o1 = ((b1 & 0xf)<<4) | (b2>>>2); int o2 = ((b2 & 3)<<6) | b3; out[op++] = (byte)o0; if (op

  • Object of the USR UDF is not respected in oim 11g

    Hi all
    We did the upgradation of oim 9.1 IOM 11.1.1.5 and verified our functionality (Provisioing AD/Exchange). Practically, all work as planned, up to now, we have not seen all the important issues. How ever, we observed one thing to console design, there are 6 user defined field Defination IOM objects in our IOM 9.1

    SDK utility Structure - user defined fields
    Objects in OBJ - user defined fields resource
    Applications of REQ - user defined fields
    Act - user defined fields
    Roles of UGP - user defined fields
    Users of the USR - user defined fields 0

    We have 36 (UDF) fields in object USR IOM 9.1
    Later, upgradation of oim 11g, we have 5 field except USR user-defined objects.

    USR was missed in oim 11g, how ever we are able to see the values of all the users through IOM admin console. Everything bad thing here. Can you please think about it, the impact and work around for this (if any).

    Thank you.

    USR is moved to Console advanced IOM to 11g to the title of the item menu user Configuretion.

    Check out there.

  • How to update the password on the other table based on the mod

    Hello

    I need to update the password for the other table based on the mod.

    I have two table 'user' and 'reset '.


    User:

    Username username password date_exp

    s232322 Bobby John sdds4545df4r 10/12/2010
    s454566 George Bill f444556gh76 07/14/2010
    s343466 Bill Clinton fgf54tyujkkkhj 06/12/2011
    .
    .
    .


    Reset:

    Series encrypt decrypt

    fgf5656fg 0 Watellemon
    1 dfggf5665 lime juice
    dfdffd545 2 applesalad
    3 54r4gggt airlines
    construction of 4 hg44hh63
    5 fgf4343yh security
    .
    .
    .

    How can I update the password of a table to another table "reset"?

    Ex: query

    Update user set password = (select Encrypt reset where mod (length (username), 10))


    If mod (length (username), 10) is 0, it should take series "0" encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 1, it should take serial '1' encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 2, it should take series '2' encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 3, it should take series '3' encrypt the password and update the password in the table "user".
    If mod (length (username), 10) is 4, it should take series '4' encrypt the password and update the password in the table "user".
    ....


    Please help me write an update query.




    Thank you
    Nihar

    Hi, Nihar,

    You almost had it! You just need to correlate the subquery for the main UPDATE statement, like this:

    UPDATE     user_table     u     -- USER is a built-in function; it's not a good table name
    SET     password = ( SELECT  encrypt
                   FROM    reset     -- RESET isn't a very good table name, either
                   WHERE   serial     = MOD ( LENGTH (u.username)
                                             , 10
                                   )
                 );
    
  • "password incorrect provided to decrypt the private key"

    The keys that I generate on my Mac are unusable. Still, I get "incorrect password provided to decrypt the private key". In this case, whether or not I generate with a password.

    This is the process I use:

    ssh-keygen - t rsa-n mypassphrase f my_id

    Generate the key pair public/private rsa.

    Your identification has been saved in my_id.

    Your public key has been saved in my_id.pub.

    The fingerprint of the key is: etc etc

    Then to check:

    ssh-keygen - y f my_id.pub

    Enter the password: mypassphrase

    Loading key 'my_id.pub': incorrect password supplied to decrypt the private key

    Anyone have an idea what is wrong? Thank you.

    Turns out I had wrong instructions to the admin of the server I tried to connect to. He wanted me to use the .pub file when connecting via ssh. So what I tried to solve the problems. But that is never going to work, because the password is used to decrypt the private key, not the public key. So when I change my test to "ssh-keygen - y f my_id ' it works fine. Should have tried first. DOH.

  • How to decrypt files in windows 7 bioaccess? I forgot the password help me please.

    Hi, this is my first post in responses from microsoft, I have a problem, I encrypted a lot of files in windows 7 by default bio access, now I want to decrypt, but I forgot the password, now I don't know what to do, the data are very useful so I want it reverts to its original state. Thank you.

    I think that .vmdf - the files are encrypted files WinLocker. If Yes, then you need advice on the WinLocker / Egis technology web site. Also note that if the encryption scheme WinLocker is good then you will not be able to decrypt the files without password. You can look like this: you have chosen WinLocker if every Tom, Dick and Harry could ask people of Egis technology a backdoor password? He'd WinLocker a pretty useless encryption scheme, easily crackable by anyone...

  • OIM 11g - PostProcessHandler change password problem

    Hi all

    I have a process post event handler to change the password for users created through trust Recon.
    Event handler receives successfully started and I don't see any errors in the console. But the change of password doesn't seem to work. The end user
    can not connect with the password set by the hanbler event.


    Code below. Pointers would be appreciated.



    / public class PwdGenerateInEventHandlerRecon implements PostProcessHandler {}


    public BulkEventResult run (long processId, long eventId, BulkOrchestration bulkOrchestration)
    {

    try {}
    System.out.println ("* in PwdGenerateInEventHandlerRecon: BulkEventResult *");
    String operation = bulkOrchestration.getOperation ();
    If (operation.equals ("CREATE")) {}
    Parameters HashMap < String, Serializable > = bulkOrchestration.getParameters ();

    String usrLogin = getParameterValue (settings, "user login");
    contractor tank = usrLogin.charAt (0);

    A string of recent = "abcd";

    String usrKey1 = bulkOrchestration.getTarget () .getEntityId ();
    Thor.API.Operations.tcPasswordOperationsIntf pwdService = (tcPasswordOperationsIntf) Platform.getService (Thor.API.Operations.tcPasswordOperationsIntf.class);
    pwdService.setXelleratePassword (Long.parseLong (usrKey1), password);
    UserManager userManager = Platform.getService (UserManager.class);
    userManager.changePassword (usrLogin, password.toCharArray (), true);
    }
    } catch (Exception e) {}
    System.out.println ("* Exception occurred *" + e);
    }

    return new BulkEventResult();

    }

    public void offset (long l, long l1,
    {AbstractGenericOrchestration abstractGenericOrchestration)
    }
    public cancel Boolean (long l, long l1,
    {AbstractGenericOrchestration abstractGenericOrchestration)
    Returns false;
    }
    Public Sub initialize (hashMap HashMap < String, String >) {}
    }
    private String getParameterValue (< String, Serializable > HashMap parameters,
    String key) {}
    String value =
    (parameters.get (key) instanceof ContextAware)? (String) ((ContextAware) Parameters.get (Key)). GetObjectValue():
    (String) parameters.get (key);
    Returns the value;
    }

    @Override
    public EventResult run (long arg0, arg1 long, Orchestration arg2) {}
    System.out.println ("* in EventResult *");
    Returns a null value.
    }

    }

    Hey Ashok,

    The default behavior of OIM 11.1.1.5 is there a default eventhandler generates a random password for the user created using trust recon and send the password to the user. Which I agree is stupid!

    In case you think your manager even works without error that indicates that you successfully configure the evenhandler which is good news.
    Now the way I see it is that eventhandler to generate the default password runs almost at the same time, you set the default password using your event handler.

    Try to increase the order of 1001 or more because I believe that the default handler has an order of 1000.
    If you need to run your manager even after failure

    I put it in 2000 and it works for me

    I hope it helps.

    -Kungo

  • Insert the password encrypted in the table user = &gt; ORA-01861

    Hello

    I have a little problem, I try to save a password encrypted in the user's my table:

    It works well:
    declare
    test VARCHAR2(40);
    begin
    select RAWTOHEX(dbms_crypto.hash(utl_raw.cast_to_raw('yyyyyyy'), dbms_crypto.hash_sh1)) into test from dual;
    DBMS_OUTPUT.PUT_LINE(test);
    end;
    /
    But when I try to integrate it into a procedure to insert in my table of the user, it shows me an error ORA-01861:
    create or replace procedure inserer_utilisateur(v_nom in varchar2, v_prenom in varchar2, v_adresse in varchar2, v_mail in varchar2, v_login in varchar2, v_password in varchar2, v_dateNaissance in date) as
        id_uti integer;
        id_duti integer;
    begin
        select seq_Utilisateur.nextval into id_uti from dual;
        insert into Utilisateur values (id_uti,v_nom,v_prenom,v_adresse,v_mail,v_login,RAWTOHEX(dbms_crypto.hash(utl_raw.cast_to_raw(v_password), dbms_crypto.hash_sh1)),to_date(v_dateNaissance,'DD-MM-YYYY'));
        select seq_Droit_Utilisateur.nextval into id_duti from dual;
        insert into Droit_Utilisateur values (id_duti,id_uti,1); 
    end;
    The procedure is called from my APEX application, it works when I don't encrypt the password.

    I forgot something?

    Thank you.

    Yann.

    The problem has nothing to do with encryption

    The v_dateNaissance parameter is a date, remove the TO_DATE at all:

    insert into Utilisateur values (id_uti,v_nom,v_prenom,v_adresse,v_mail,v_login,RAWTOHEX(dbms_crypto.hash(utl_raw.cast_to_raw(v_password), dbms_crypto.hash_sh1)),v_dateNaissance);
    

    Max
    http://oracleitalia.WordPress.com

    Published by: Massimo Ruocchio, February 16, 2010 18:43

  • How to use MD5 the password on the update form field

    Hi all - I have a form of update that pulls in a field that contains the password that is encryped in MD5 format. I want the user to see the original password and be able to change, and then save it using MD5. I used the Update Wizard to create the code for this form is standard code. Any ideas?

    I know is should look like this, but I don't know where to put: md5 ('password')

    Kind regards

    Robert

    Code update:

    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "form1")) {}

    $updateSQL = sprintf ("setting a DAY members SET loginName = %s, password = %s, coName = %s, fullName = %s, street = %s, city is %s,"the State"= %s, zip = %s, email is %s, phone = %s, fax = %s WHERE id = %s",

    GetSQLValueString ($_POST ["'loginName"], "text").

    GetSQLValueString ($_POST ['password'], "text").

    GetSQLValueString ($_POST ["'coName"], "text").

    GetSQLValueString ($_POST ['fullName'], "text").

    GetSQLValueString ($_POST ['street'], "text").

    GetSQLValueString ($_POST ['city'], "text").

    GetSQLValueString ($_POST ["State"], "text").

    GetSQLValueString ($_POST ['zip'], "text").

    GetSQLValueString ($_POST ['email'], "text").

    GetSQLValueString ($_POST ['Telephone'], "text").

    GetSQLValueString ($_POST ['fax'], "text").

    GetSQLValueString ($_POST ['id'], "int"));

    the code for the form:

    < are method = "post" name = "form1" action = "<?" PHP echo $editFormAction;? > ">"

    < table align = "center" >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > user name: < table >

    < td > < input type = "text" name = "loginName" value = "<?" PHP echo $row_rsMember ['loginName'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > password: < table >

    < td > < input type = "text" name = "password" value = "<?" PHP echo $row_rsMember ["password"];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > company name: < table >

    < td > < input type = "text" name = "coName" value = "<?" PHP echo $row_rsMember ["coName"];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > name: < table >

    < td > < input type = "text" name = "full name" value = "<?" PHP echo $row_rsMember ['fullName'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > Street: < table >

    < td > < input type = "text" name = value "Street" = "<?" PHP echo $row_rsMember ['street'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > City: < table >

    < td > < input type = "text" name = "City" value = "<?" PHP echo $row_rsMember ['city'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > status: < table >

    < td > < input type = "text" name = "State" value = "<?" PHP echo $row_rsMember ['State'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > Zip: < table >

    < td > < input type = "text" name = "zip" value = "<?" PHP echo $row_rsMember ["zip"];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > Email: < table >

    < td > < input type = "text" name = "email" value = "<?" PHP echo $row_rsMember ['email'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > phone: < table >

    < td > < input type = "text" name = "phone" value = "<?" PHP echo $row_rsMember ['phone'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > Fax: < table >

    < td > < input type = "text" name = value "fax" = "<?" PHP echo $row_rsMember ['fax'];? ">" size = "32" > < table >

    < /tr >

    < tr valign = 'of basic">

    < td align = 'right' nowrap > < table >

    < td > < input type = "submit" value = "update file" > < table >

    < /tr >

    < /table >

    < input type = "hidden" name = "MM_update" value = "form1" >

    < input type = "hidden" name = "id" value = "<?" PHP echo $row_rsMember ['id'];? > ">"

    < / make >

    The answer is in two parts:

    First Ministry field password password in field properties so it does not display the chopped character. Md5 is a way - you can't decrypt encrypt only. Thus, the user can enter a new password on the old.

    Second part; Copy the following code: GetSQLValueString (md5($_POST['password']), 'text'), to encrypt the text field.

    I found this by Googleing for the use of md5 and update forms...

    Kind regards

    Robert

  • Reset the password of xelsysadm

    Dear Experts,

    To apologize for posting this question from newbie in this forum, don't know if this is the right place...

    Could you be there one of you please let me know how to reset the password to xelsysadm after fresh installation(before_setting_Challenge_Q_&_A"s).tried twice... but no go...

    Just tried to follow the steps in the link below, http://kr.forums.oracle.com/forums/thread.jspa?threadID=629864, but I am without success.

    Select usr_password, usr_login from xladm.usr;
    ERROR on line 1:
    ORA-00942: table or view does not exist

    When I look for usernames to help
    Select distinct (USERNAME) from dba_users; I will 28entries among which there are OIMUSER, SYSTEM etc...

    So don't know where I'm missing

    Please help me as soon as possible, I need the installation of our Dev system.
    Thank you

    I am not sure if changing your password will work or not because maybe your installation is has failed.

    Which command you used while creating a scheme of IOM. You must have run prepare_xl_db.bat then what are all the credentials that you used.

    TEMP XELL C:\oracle\ora92 xladm xladm xeltbs C:\oracle\oradata xeltbs_01 prepare_xl_db.bat Manager

    In this example, xladm is the user and xladm is the password.

    Which user created when running this script.

    Try to connect to SQLPLUS using above the user.

    Did you use the same command as below:

    orcl sysadm sysadm oracle TEMP orcltbs C:\oracle\product\10.2.0\oradata orcltbs_01 C:\oracle\product\10.2.0\db_1 prepare_xl_db.bat

    Try to connect with sysadm

Maybe you are looking for

  • Best Safari?

    My Safari is Version 9.1.2 (11601.7.7). I think I had 10 Version before installing El Capitan.

  • Why my website is not pulling in fire fox?

    My weebly, that I used for the design of my web site / domain, www.idckotao.com are not popping up in fire fox... Actually the stuff of help are useless because I don't have a button to fire Fox that now, he goes into the mode full screen of this stu

  • How can I move my browser history of my old PC to my new PC?

    I have an old XP machine and just built a new machine of windows 7. I need to move my story on the new PC information. I found the instructions to move my favorites, but not for moving my browsing history. I rely on my history to find a good number o

  • On my time capsule airport

    Hello I have a problem with my Time Capsule 802.11ac airport I was using it OK but after that I got a new modem from my ISP I can't connect to internet and here is a picture of the problem Can someone tell me what is happening?

  • 2000-2d62TU-driver graphic HP laptop

    I am trying to find drivers for the graphics in this laptop. For the life of me I can't find any documentation that specifies what, exactly, the type of GPU is in this machine.I am running Windows 7 64 bit. There is no graphics driver listed in the u