Register users using a procedure and page process

I have the procedure written and the md5 function written along with the page process these all work fine but the password hash does not get entered into the user_repository everything else does but the password hash i wasnt getting a error before but now im getting the follow error
Action Processed.
ORA-28231: no data passed to obfuscation toolkit
The registered Procedure is as follows
create or replace procedure register_user
(p_username in varchar2, p_password in varchar2, p_forename in varchar2, p_surname in varchar2, p_email in varchar2, p_admin in char, p_locked_flag in char) is
v_hash varchar(32);
begin
v_hash := md5hash(upper(p_username) || p_password);
insert into user_repository
(username, forename, surname, email, admin, password_hash, locked_flag)
values
(p_username, p_forename, p_surname, p_email, p_admin , v_hash, p_locked_flag);
end register_user;
md5 function is as follows
create or replace function md5hash
(p_input in varchar2)
return varchar2 is
begin
return upper(dbms_obfuscation_toolkit.md5
(input => utl_i18n.string_to_raw(p_input)));
end md5hash;
page process is dependent on the create button being pressed which is as follows
begin
register_user
(:P2_USERNAME, :P2_PASSWORD, :P_FORENAME, :P2_SURNAME, :P2_EMAIL, :P2_ADMIN, :P2_LOCKED_FLAG);
end;
Any help would be apprechiated.

OK it is done i put a direct copy of the app up,
workspace = mattswork
username = [email protected]
password = midemi
The app is up and is exactly the same as the one i have mentioned, the form in question is on the users tab which is page 2 i believe use a login username as matthew with no password that will give you access to the application then you can play around with the rest any help at all will be very very very much apprechiated.
Thanks Guys

Similar Messages

  • TS1702 When I try and use the Kindle app on my touch it keeps telling me to register the kindle. I register it using the account and password I used to get the app but it tells me there is no customer found for the email address and password. help

    When I try and use the Kindle app on my touch it keeps telling me to register the kindle. I register it using the account and password I used to get the app but it tells me there is no customer found for the email address and password. help

    No, it is asking you to register with your Amazon user id and password. Your Apple ID won't work.

  • Use of Procedure and Functions in ADF BC

    Hi,
    In ADF 11g
    1. can I use oracle function and procedures ( having in and OUT parameters) to expose as service interface
    2. if yes , How can this be done. and what are the allowed data types as input to procedure/function and can be returned by procedure/function
    3. How the transaction control will be achieved using ADF BC service interface.
    E.g. one ADF BC creates orders in order details and second creates Order lines in Order lines table. Now if order is created successfully but line creation fails then I want order to be rolled back also.
    Thanks.

    google it out.
    How to get two out param which is used in Procedure
    http://sameh-nassar.blogspot.in/2010/01/create-plsql-function-and-call-it-from.html
    http://adf-tools.blogspot.in/2010/09/adf-function-call-from-el-statement-in.html
    http://adf-tools.blogspot.in/2010/03/adf-plsql-procedure-or-function-call.html
    http://adfhowto.blogspot.in/2010/11/call-db-procedure-or-function-from-adf.html
    Re: use of Procedure and Functions in ADF BC

  • Where do I begin to create my website using this G5 and Pages '08?

    Where do I begin to create my website using this G5 and Pages '08? I don't even know where to start...
    I made a temporoary website on wordpress with my pc -- now I want to see what is possible with this G5 and Pages '08 by bro gave me.

    The current version is iLife '11. iWeb is up to v4 and I think has been out since 2007.
    There is no iLife folder, the applications are loose within the Applications folder.
    You can purchase a boxed version of iLife from Apple or an Apple reseller.
    The Mac App store does not offer iWeb and you would need OSX 10.6.6 to use the App Store.
    If you began your website using WordPress, why not continue to use it, it does not matter what system you are on, Windows, Mac or Linux, WordPress is web based.
    Peter

  • Calling stored procedure from page process and PLS-00049 error?

    Good morning guys!
    I'm dealing with several problems this morning! The one that I need to deal with first is the following.
    I created the page process (see below: 1st code) in order to validate if all records where LNG_GEBIET matches have the status 3 or 4. If that is the case I want to call the procedure "set_status_arbeit_zu_gebiet". If amountrs and countstat do not match, then nothing is supposed to be done.
    The problem lies within the stored procedure itself. I receive a PLS-00049 bind variable error for :new.LNG_GEBIET.
    Can you please tell me what I forgot to declare in code 2 below???
    Thank you guys!
    The page process:
    Declare
      amountrs    number;
      countstat   number;
    begin
    SELECT COUNT(*) INTO amountrs FROM TBL_PUNKTDATEN where LNG_GEBIET = :P4_CNT_GEBIET;
    SELECT COUNT(*) INTO countstat FROM TBL_PUNKTDATEN where LNG_GEBIET = :P4_CNT_GEBIET and INT_STATUS = 3 or LNG_GEBIET = :P4_CNT_GEBIET and INT_STATUS = 4;
        IF amountrs = countstat THEN
         set_status_arbeit_zu_gebiet;
        ELSE
         dbms_output.put('nothing');
        END IF ;
    end;Code 2 with the true problem!
    CREATE OR REPLACE PROCEDURE set_status_arbeit_zu_gebiet
    IS
        cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET=:new.LNG_GEBIET;
        v_c2  c2%ROWTYPE;
    BEGIN
       open c2;
    fetch c2 into v_c2;
    if c2%notfound then
            INSERT INTO TBL_ARBEIT_ZU_GEBIET
            LNG_GEBIET,
              LNG_ARBEITSSCHRITT,
              PNUM,
              INT_BEARBEITER,
              DATE_DATUM,
              GEPL_DATUM
            VALUES
            (:new.LNG_GEBIET,
             52,
             1114,
             895,
             sysdate,
             to_date('01.01.1990', 'DD.MM.YYYY')
            commit;
            close c2;
    END set_status_arbeit_zu_gebiet;One more question: Is it possible to integrate the first validation that calls my stored procedure into code 2?
    Thanks for you time!
    Sebastian

    The error is in following statement:
    INSERT INTO TBL_ARBEIT_ZU_GEBIET ( ... ) VALUES ( :new.LNG_GEBIET, ... );
    As the statement is part of a procedure and not trigger so it is not able to bind this variable with any value.
    As a resolution, pass this value to the procedure from the process and use it in the insert statement.
    The process will have following IF statement:_
    IF amountrs = countstat THEN
    set_status_arbeit_zu_gebiet *(:P4_CNT_GEBIET)*;
    ELSE
    dbms_output.put('nothing');
    END IF ;
    and the procedure will be as follows:_
    CREATE OR REPLACE PROCEDURE set_status_arbeit_zu_gebiet *(p_lng_gebit varchar2)*
    IS
    cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET= --:new.LNG_GEBIET-- p_lng_gebit ;
    v_c2 c2%ROWTYPE;
    BEGIN
    INSERT INTO TBL_ARBEIT_ZU_GEBIET ( ... )
    VALUES
    ( --:new.LNG_GEBIET--  p_lng_gebit, ... );
    END set_status_arbeit_zu_gebiet;

  • Use of RSSM and authorisation processing type

    I create a authorisation object for customer using RSSM. At the report level, I want to create a variable on the "customer".
    If I create a User Entry/default value processing type  for the characteristic variable on "Customer", how will the system handle data restriction checks for different roles for "Customer".
    Or to make my question better,
    Are authorisation objects created in RSSM useful for only Variables with "Authorisation" processing type.
    Thanks
    Simmi

    hi Simmi,
    no, it's useful in infocube level, in rssm we mark which infocube(s), all queries to the infocube will have authorization check. processing type authorization will display report with restriction to all values given to the user.
    to restrict user by e.g customer, you need to maintain in role (transaction PFCG), choose created authorization object (RSSM), and assign value, and assign the role to your user.
    e.g role ZCUST, user A given cust1, user B given cust2 and so on.
    hope this helps.

  • Create user using stored-procedures

    Would anyone know of a way to create a user and assign role(s) using stored-procedures from a DOS shell? With MS SQL, one could issue the following commands from the DOS shell to connect to the database engine (osql -ULoginID -PPassword) and then "sp_addlogin loginid password". Additionally, can it be used in a VB app?
    Your help is much appreciated.
    tk

    yes, in the code editor.
    Auto-completion suggestions as you type?

  • Motive of checkpoint and SCN using with DBWr and LOGWr processes ??

    What checkpoint has to do with log writer process i am not getting exactly ?..
    Like see i fire 1 update query and apparently it is generating some redo blocks which in turn will come to my redo log files now in tihs whole cycle where the checkpoint will occur and why??
    1)My update query
    2) take locks
    3)generate redo
    4)generate undo
    5)Blocks are modified but they are still in redo log buffer...
    now this blocks eventually comes to redo log files in this whole way where check pointing take place and why??
    checkpoint also takes place when Datablocks are flushed to datafiles again the same reason why??
    Same way around the same question the what checkpointing has to do with DBWr process also i am not clear...
    Apart from this whole picture SCN is generated when user issue comitts..and we can say SCN can be used to identify that transaction is committed or not.?
    So what is the motive of SCN to update in Control file...MAy b to get the latest transaction committed..??
    Sorry one thread with so much questionss..but this all things are creating a fuzzy picture i want to make it clear thnx for your help in advance ..
    I read documentation but they havent mentioned in depth for checkpointing..??
    THANKS
    Kamesh
    Edited by: 851733 on Apr 12, 2011 7:57 AM

    851733 wrote:
    What checkpoint has to do with log writer process i am not getting exactly ?..And where exactly did you read that it has anything to do with it? How did you come up to the relation anyways? The time checkpointing would come into the play with the log files would be when there would be a log switch and this would induce a checkpoint, causing/triggering the DBWR to write the dirty buffers to the datafile and allowing the redo log group to be reused. That's about it.
    Like see i fire 1 update query and apparently it is generating some redo blocks which in turn will come to my redo log files now in tihs whole cycle where the checkpoint will occur and why??
    1)My update query
    2) take locks
    3)generate redo
    4)generate undo
    5)Blocks are modified but they are still in redo log buffer...
    now this blocks eventually comes to redo log files in this whole way where check pointing take place and why??Read my reply above, at the time of writing the change vectors in the log file, there won't be any checkpointing coming into the picture.
    checkpoint also takes place when Datablocks are flushed to datafiles again the same reason why??Wrong, the checkpoint event would make the dirty buffers written to the dataflile. Please spend some time reading the Backup and Recovery guide and in that, instance recovery section. In order to make sure that there wont be much time spent in the subsequent instance recovery, it would be required to move the dirty buffers periodically to the data file. THis would be caused by the incremental checkpoint . Doing so would constantly write the content out of the buffer cache thus leaving few buffers only as the candidate for the recovery in the case of the instance crash.
    Same way around the same question the what checkpointing has to do with DBWr process also i am not clear...Read the oracle documentation's Concept guide again and again as long as it doesn't start getting in sync in with you(and it may take time). One of the events , when DBWR writes , is the occurance of the Checkpoint. Whenever there would be a checkpoint, the DBWR would be triggered to write the buffers (dirty) to the datafile.
    Apart from this whole picture SCN is generated when user issue comitts..and we can say SCN can be used to identify that transaction is committed or not.? Not precisely since there would be a SCN always there , even when you query , for that too. But yes, with the commit, there would be a commit SCN that would be generated including a commit flag entered in the redo stream telling that the transaction is finally committed. The same entry would be updated in the transcation table as well mentioning that the tranaction is committed and is now over.
    So what is the motive of SCN to update in Control file...MAy b to get the latest transaction committed..??Where did you read it?
    Sorry one thread with so much questionss..but this all things are creating a fuzzy picture i want to make it clear thnx for your help in advance ..
    I read documentation but they havent mentioned in depth for checkpointing..??
    Read the book, Expert one on one by Tom Kyte and also, from documentation, version 11.2's Concept guide. These two would be more than enough to get the basics correct.
    HTH
    Aman....

  • Catching errors on procedures inside page process.

    Good Afternoon, my apex teachers.
    I have a doubt on my page process, hope you guys can help.
    I have a page process that executes a pl/sql block on page submit.
    On this pl/sql block there is a call to a stored procedure.
    What I want to do is, when this procedure, that is called inside the pl/sql
    block, does not execute properly, my page process uses his error message
    instead of his success message. Is that possible?
    Thanks for all the help.
    Regards, Leandro Freitas.

    Well..i thing i can help.
    1.Create a hidden field with name PHiddenMsg.
    2. On your block
    DECLARE
    err_code  varchar2(100);
    err_msg varchar2(200);
    BEGIN
    -- Your procedure call
    PROC_ABC(.....);
    Exception when others then
    err_code := SQLCODE;
          err_msg := substr(SQLERRM, 1, 200);
    :PHiddenMsg := err_code || err_msg; --> you decide what to show
    end;3. Put the field PHiddenMsg(&PHiddenMsg.) in the error message.
    Yes?
    Edited by: Vitor M.A. Rodrigues on 6/Fev/2012 18:12

  • I am unable to connect my ipad to the internet via wifi, when asked for my password I get message "unable toI ge join network" however my laptop is able to access the internet using similar procedures and in the same physical location.?

    I am unable to connect my IPad to the internet via WiFi, when asked for a password then attempt to join I get the messag "unable to join the network" however  if I use my laptop in  the same physical locationand using similar procedures I am able to conect.?

    What router are you using? make/model/version
    What security type are you using? If it is WEP then symbolic (non hex) keys may be converted to hex in different ways by different operating systems. Is your laptop a Windows PC?
    If you are using WEP then drop it and move to WPA2. WEP has been deprecated by the WiFi alliance since 2004 as insecure (it can be hacked in seconds).

  • How can I use the procedures and functions in my library

    hello, all
    I have a pl/sql library MYLIB.pld, MYLIB.pll and MYLIB.plx.
    How can I invoke procedures and functions there in JDeveloper?
    Thanks.
    Damon

    I am indeed using ADF BC to re-develop the oracle application.
    Here is my situation:
    We have an oracle form application.
    Our objective is to try to re-use the existing sources in the form application as much as possible:
    1. tons of procedures and functions in a pl/sql library(a file with extension name portfolioLib.pll or portfolioLib.plx);
    2. tons of form-level triggers, data-block triggers and item-triggers;
    3. tons of database stored procedures and triggers;
    After doing a research on JDeveloper, we decide to use ADF Swing+ADF BC to re-develop the application.
    My opinion for the above three kinds of sources in our form application is:
    for 1: we try to move most of procedures and functions into database(except Form build-in);
    for 2: we try to wrap those triggers in a SQLJ class;
    for 3: we try to call database procedures and functions with PreparedStatment or CallableStatement;
    I just do a test on a post-query trigger on a data-block:
    I created a sqlj file, named testSQLJ.sqlj in the test.view package;
    I tried to call it in createInstanceFromResultSet of testDeptVOImpl.java which is test.model package,
    I was told that testSQLJ cannot be found there. why?
    How can I call some classes from test.view package in some classes of test.model?
    I read some documents about how to deal with post-query trigger in JDeveloper: create a view with SQL statement, but it seems that it does not support pl/sql statement there.
    Can you give me some opinion about the above stuff?
    I really appreciate your help.
    Damon

  • Can i use Stored procedures and triggers with SDK

    hi all
    How to use the stored procedure and Triggers with SDK, can i get a sample code
    Regards
    Salah

    Hi, Salah.
    Use "Exec" in your query to run procedures.
    SAPbobsCOM.Recordset     oRS;
    oRS = (SAPbobsCOM.Recordset)pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
    oRS.DoQuery ("EXEC YourStoredProcName");
    Triggers are not supported in SDK.
    Regards,
    Aleksey

  • Why is login page (to register to use this forum) and other pages displaying foreign characters (e.g., বাংলা (বাংলাদেশ) when am using English (U.S.) versions of IE6 & Opera 10.6 to contact you (as FF4 hanging computer)?

    FF4 hanging badly, so used IE6 & Opera 10.63 to register with & access Mozilla support site. Some words on those pages displayed in a foreign language (Arabic script?? )-- example, বাংলা (বাংলাদেশ)
    Foreign characters on initial Support registration page, were in lieu of English words asking to select UserID & Password. (Page not entirely in foreign language--only parts. Request to repeat password choice, enter email, were in English).
    I registered (guessing what to enter). Went to Support page [support.mozilla.com/bn-BD/kb/ask]. Greeted by statement: "Our volunteers haven't translated this article into বাংলা (বাংলাদেশ) yet."
    No idea what language that is, or why u think I can read it. Presently logged in from U.S.

    That is Bengali ([http://www.mozilla.com/en-US/firefox/all.html]). Firefox 4 no longer has the language setting in the user agent and in your case it doesn't seem to work to detect the language.
    You can change the bn-BD in the link(s) to en-US on the Mozilla sites.

  • Multiple users using One account and issue making calls to 1-800-###...

    We have 15 volunteers who are using One account we set up for them. They login at the same time and need to make 1-800 calls (same number) concurrently. Right now, when you start pressing 800 all of sudden the display goes blank (cx300) and can't even finish
    entering the number. We have Lync 2010 and 2013 running together and most services moved to Lync 2013. Before we introduced Lync 2013 we did have this problem, but only intermittently. Now with Lync2013 it is consistent issue.
    What settings do I change?
    Do I need to create more accounts and assign Lync #s respectively?

    Hi,                                   
    Would you please tell us what did you do with this scenario?
    Please check if there is any error message from Mediation Server and FE Server when the issue happen.
    Check if it is a performance issue, you can test to login the same Lync account with two users, make call concurrently. If it works work, it may be a performance issue.
    The best way is to create more account and assign to these users.
    Best Regards,
    Eason Huang  
    Eason Huang
    TechNet Community Support

  • No disconnect warning when multiple remote users use same username and password to logon to VM

    I created a single user account to be used by multiple users to access a system consisting of multiple VMs. The problem is that when User #1 has an active session and User #2 attempts to log onto the same VM User #1's session is ended without
    warning. Now if User #1 has an active session and User #2 attempts to log onto the same VM using different credentials a [Remote Desktop Connection] dialog displays alerting User #1 that User #2 wants to connect and gives an option to disconnect or stay connected.
    Realizing that the latter preferred behavior is because the two Users are using different credentials I would like to know if the same preferred behavior of alerting the Users of active connections can be enabled for instances when both Users are using
    the same credentials - perhaps by recognizing that their remote ips are different or something.

    not sure if this fits your case exactly. there was another similar question asked in the forum and the solution was:
    You may set this via group policy, for example, in the server's local policy using gpedit.msc:
    Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections\
    Restrict Remote Desktop Services users to a single Remote Desktop Services session     Disabled
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a26af954-c2ef-4beb-b892-9e7717518850/allowing-users-to-open-multiple-remote-sessions-on-windows-server-2012-rds?forum=winserverTS

Maybe you are looking for

  • How do I find out or know if everything is backed up before I upgrade to ios 6?

    before I update to ios6 how can I make triple sure that all my music, photos, contacts, notes, and messages are all backed up? in settings I have my iPhone 4 programmed to back up to the iCloud - but how do I know for sure that everything is there? I

  • 6280 voice tags

    Is there any way to override the automatic voice tags on the 6280. Nokia's crazy idea of generating them automatically does not work, and the whole concept is nothing short of dangerous in a handsfree-equipped car. I want to record my own voice tags,

  • Is there another way to download music to iPods without using iTunes

    Do I have to use iTunes to download music to our ipods

  • ORACLE RAC 11.0.2.0.3 install in SOLARIS x64 11.1(or 11/11) issue

    hello all, i got issue when i install grid(11.0.2.0.3 for solaris x64 version), after install software and the run "root.sh" and got the follow error message: /u01/app/11.2.0/grid/bin/srvctl start nodeapps -n solrac1 ... failed FirstNode configuratio

  • Undo and redo during recovery

    Sorry for being naive. Once the datafiles, controlfile, and spfile are restored, archived redo logs are applied to restore. This is a roll-forward operation. There is an undo segment in the db, why whatever stored on undo tablespace is not used durin