from the login page in the apex 4.1.1

Hello

My requirement is to bypass the connection when run us the application and connect at the click of a tab.

I have legs like

Home, tab1, tab2, tab 3/Admin

When we run the application it should not ask passoword and recursive and should navigate directly to the House.
but, when I click on the Admin tab it should ask to connection and this must be validated from a database table. He should not claim again through the session.

some can help on this please.

Thank you
Vikas Kodari

Hi Vikas,

Use the default login page that comes at the time of the creation of application

or try the below function

create or replace FUNCTION  CUSTOM_AUTHENTICATE (p_username in VARCHAR2, p_password in VARCHAR2)
return BOOLEAN
is
  l_password varchar2(4000);
  l_stored_password varchar2(4000);
  l_count number;

 begin
 select count(*) into l_count from yourtablename where trim(upper(username)) = trim(upper(p_username));

 if (l_count > 0 ) then
   select password into l_stored_password from yourtablename where trim(upper(username)) = trim(upper(p_username));

   l_password :=  p_password;

     if upper(l_password) = upper(l_stored_password) then
            return true;
        else
           return false;
        end if;
  else
       return false;
 end if;   

end;

Kind regards
Jitendra

Tags: Database

Similar Questions

  • Navigate to the login page of workspace APEX while clicking on the LOGO image in the application

    Hi friends,

    IM an APEX application on top of the APEX 4.2.3 in the fact that in the properties of the application for the LOGO, I made a picture as

    #WORKSPACE_IMAGES #bluehill.jpg

    When I click on this image in the means of implementation, it redirects to the home page, because I don't want this redirect to happen all by clicking on the image. So, for that, on the interface tab, I erased the navigation link which is targeted for the HOME URL = ' f? p = & APP_ID.:1: & SESSION. "with a space, like this URL HOME choice is the mandatory option to provide.


    Once, after that I sent back a space for the URL of HOME page and after that if I clicked on the image using the application, then it redirects to the APEX workspace login page. Im not sure why this is happening shortly after I made reference to a space for that.


    Kindly help me to limit the page redirect by clicking on the logo of the application.

    Thanks in advance.


    Kind regards

    Mini


    If you don't want the logo as a link, edit the page templates and delete the href="#HOME_LINK#" attribute of the logo a element. (It should probably not remove the anchor element completely it can be used for styling purposes).

  • Is it possible to copy a part of a page from the APEX with a public procedure of APEX stored?

    The element is a grid view control and it ist does not part of each page.
    I copy the element of grid view several times. After that, I have to change a lot of settings in the copied grid views. Normally, I do this the APEX constructor GUID clicking over and clicking on...


    I would copy the perspective grid in a more comfortable way (means without clicking) in a stored procedure by calling procedures PL/SQL to the APEX (such as the GUID of the APEX Builder).


    There are all the public stored procedures to do?

    It would be preferable to this post in the forum of the APEX on OTN
    Steve

  • Email from the apex

    Hello everyone,

    I've never used mail of the Apex and I was wondering how I can achieve this. I have a form with interactive report that has a field with an email address. What I would do is, when the user clicks on the address field of e-mail on the report page, their own email will pop up with e-mail from shippers like e-mail selected according to the report. For example: when I click on [email protected] on the report page interactive, my email from my computer opens with the TO: [email protected].

    Is this possible? I have no idea where I need start. I know there are a lot of mail Apex that we can use, but I don't know how I can use it. Any advice will be appreciated.

    Thank you

    Hello

    Look at:

    Sending mail with attachment

    Ziut

  • Change password for the application from the apex

    Hi friends,

    I created an application of database in the apex, for this application in the login page, that I need to set as

    Forget the password link or change the password link, assume that if the end user clicks that link means, there ask for the

    New password: and confirm password

    shortly after he entered the password if the user connects to the application of the means, he needs to go inside the application. .........


    Normally to reset the password for the end user for the application, we will do it on the side of the administration of apex

    It is that we will give RESET PASSWORD OPTION to change the password for the end user...

    My question in this sense, that the end user must change his password by itself in the front end application...

    It is possible to like that in the application of the apex...

    How friends,

    Kind regards
    Mini...

    The problem is that you have specified a different page than the page of connection (due to which your login page used the builtin page). During the passage of the authentication, you must specify that 101 is indeed your login page (disabled by default)

    Here's a screenshot of it.

    So, in your workspace, choose current change, choose the authentication name and when you get to this screen tick the checkbox and submit. You should be prompted for your login page (which corresponds to the theme). This should solve the problem.

  • How to extract data from the APEX report with stored procedure?

    Hi all

    I am doing a report at the APEX. the user selects two dates and click on the GO button - I have a stored procedure linked to this region of outcome for the stored procedure is called.

    my stored procedure does the following-

    using dates specified (IN) I do question and put data in a table (this painting was created only for this report).

    I want to show all the data that I entered in the table on my APEX report the same procedure call. can I use Ref cursor return? How to do this?

    Currently, I use another button in the APEX that basically retrieves all the data from table. Basically, the user clicks a button to generate the report and then another button for the report. which is not desirable at all :(


    I m using APEX 3.1.2.00.02 and Oracle 10 database.

    pls let me know if you need more clarification of the problem. Thanks in advance.

    Kind regards

    Probashi

    Published by: porobashi on May 19, 2009 14:53

    APEX to base a report out of a function that returns the sql code... Your current code goes against a Ref cursor returns the values...

    See this thread regarding taking a ref cursor and wrapping it in a function to channel out as a 'table' (use a cast to cast tabular function vale)...

    (VERY COOL STUFF HERE!)

    Re: Tyring to dynamically create the SQL statement for a calendar of SQL

    Thank you

    Tony Miller
    Webster, TX

  • From the APEX Collections out APEX?

    We have a system developed in the APEX that generates reports using plsql returning a query. These query parameters are passed using the APEX collection infrastructure. This allows you to run various reports and add them to the system by simply inserting the code in a table.

    Anyway, it was suggested that we might be able to schedule the report to run using the Oracle Applications and a concurrent request. What we'd probably do would be to a txt file using "immediate execution" of the spool and print it out. The next issue is of course to get the parameters set up with their respective values.
    I have tried this in the code and get an error:
    BEGIN
      wwv_flow_api.set_security_group_id(apex_util.find_security_group_id('OUR_WORKSPACE_NAME'));
      apex_collection.create_collection('XXTEST');
      apex_collection.add_members('XXTEST', p_c001 => apex_application.g_f01);
    END;
    This returns the error:
    ORA-01400: cannot insert NULL into ("FLOWS_030100"."WWV_FLOW_COLLECTIONS$"."SESSION_ID")
    ORA-06512: at "FLOWS_030100.WWV_FLOW_COLLECTION", line 288
    ORA-06512: at line 3
    Then... Is it possible, we can use the framework of collections of APEX to outside the APEX?


    Thank you
    John

    Yes,

    I was testing. Like, after you have created the session I chose v double ('APP_SESSION'), and he returned very well, so there is obviously more behind the scenes of transformation that takes place in APEX, so that the session available in the table of $ wwv_flow_sessions.

    Maybe you could just piggy back on a session that is new enough to be always available, but old enough that it is no longer used (through one of the points of view APEX).

    Van
    Trent

  • How do I link a button from the APEX to the HTML file stored on the server app?

    I hope that it will be simple for a person

    We have some word documents very technical I really didn't want to replicate in the oracle reports

    So I saved them as html documents, and when I opened then they look very well in IE

    I placed in the folder where our reports are stored, but I can't figure out how to create the URL to be placed behind a button in the APEX?

    Of course the oracle reports url will not work as long as the pdf and servlet uses

    Thanks in advance

    Chris

    Assuming you are using Apache?

    You can place your Word documents in the same folder as your current Apex images directory (or a subdirectory it) and then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively, you can add a new Alias entry to your dads.conf file (located in your Apache/modplsql/conf directory) to expose the folder on your Web server that contains your Word via a URL like http://yourserver/word_docs/ files

    For example

    /Word_docs/ alias "c:\my_docs\technical_word_docs/".

    Andy

  • Prefixed data space is removed from the APEX report page

    My report contains data from hierarichal and I'm intendation with handling space.

    If some of my data (cell) have space padded before the string, and it is deleted / box by APEX.

    I tried to add ' ' & nbsp' | db_column"but this too also does not work.



    You will need to disable the function of automatic cropping of APEX.



    real cell


    'this '.


    Apex shows page

    'this '.

    Hi Prashant,

    Could you please the credentials and the name of the workspace.

    so, which won't be easy for us to solve the problem.

    Kind regards

    Jitendra

  • Error message from the apex of the change.

    I separate qa and data entry forms.  They have a low number of users but can be used in parallel on rare occasions.  Therefore, after opening a file for QA it is possible that it will change.  (it's all the needs of the company no-negiatable)

    Fortunately, if the QA status is passed apex detects this and displays the error messagae:

    1 error has occurred

    Current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "8D716CB15D32DEBD815BEB72517F9448" line application version identifier = "E480FF3482CEA545726D9FFAC9BC7379".


    However, this is not the message of simlest for users.  I would like to be able to change it to something like.

    "This disc has been published please exist file and reload ' or something like.

    Is this something that can be done in an hour or less?  If not maybe I'm jjust leave it as it is and I hope that it does not cause confusion...

    It turns out that in shared, text_messages components I could simply create a text message containing the text for "APEX. DATA_HAS_CHANGED ".

    It worked well.  The answer above was helpful, however as he had me looking for internal errors, which was a search term better then I had used.

  • Apex + Tomcat.Blank screen on the login page.

    Hi all. I have an APEX 4.1 job application with OC4J. Recently, I need deploy this application using apex + tomcat linkage.

    I downloaded Apache Tomcat 7.0.47 for Windows and Apex listener 2.0.5. I installed Tomcat and copied apex.war to "C:\Program Files\Apache Software Foundation\Tomcat 7.0". Then I took following the steps:

    (1) java-jar apex.war configdir webapps

    (2) java-jar apex.war configuration (typed in password, login, and existing database service_name)

    (3) images copied to C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\apex\images directory

    (3) java-jar apex.war independent - apex-images .\apex\images (with port 8085).

    Maybe my actions were foolish, so I need help to solve this problem.

    Hello

    You should have a folder I under webapps

    So to copy images from the apex to C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\i\

    Test it by pointing the browser below url

    http://host:port/i/apex_version.txt

    Replace the host and port as a result

    Kind regards

    Jari

  • Is there a way to check the attributes of the user in the Apex?

    When you create a user from the Apex, there is an option of radio button under the account privileges, bearing the mention "user is a developer. Is there a way to make an object page apex condition if the currently logged-in user (app_user) is a developer? What is the syntax for the verification of an attribute of the user?

    Chris10263447 wrote:

    When you create a user from the Apex, there is an option of radio button under the account privileges, bearing the mention "user is a developer. Is there a way to make an object page apex condition if the currently logged-in user (app_user) is a developer? What is the syntax for the verification of an attribute of the user?

    Use of the apex_util.get_user_roles function of the API, or the APEX_WORKSPACE_APEX_USERS.IS_APPLICATION_DEVELOPER of the view column query.

  • Error ora-02019 in PL/SQL call in the apex, but not in a SQL Client

    Hello

    I encountered a strange problem. I have a process page type PL/SQL that runs on submit a form.

    This process calls a PL/SQL package function.

    When I run the PL/SQL Code from a SQL, for example SQL Navigator Client it works without problems.

    When trying to run from the APEX, it is always fails with the error:

    ORA-02019: description of the connection to the remote database not found

    It's the SAME code in both situations.

    It's the process code:

    DECLARE

    v_result INTEGER. v_result_msg VARCHAR2 (4000);

    v_ref_date DATE; v_reset INTEGER.

    BEGIN

    -Prepare the arguments

    v_ref_date: = TO_DATE (: P73_REFERENCE_DATE, ' DD/MM/YYYY');

    v_reset: =: P73_RESET;

    -Use the feature

    TRC.trc_jobs.xade_daily_job (v_ref_date, v_reset, v_result, v_result_msg);

    END;

    When I debug Apex I trace to the bottom of the error, in a job that makes a join with a table in a database link.

    It is the offending function:

    FUNCTION (p_series_name IN VARCHAR2, p_date AS get_series_cfi_code,

    p_date_active_flag in FULL)

    RETURN VARCHAR2

    IS

    v_cfi_code instrument_type.full_cfi_code@dl_herds%TYPE;

    CURSOR c_get_series_cfi_code IS

    SELECT it.full_cfi_code

    I, instrument_type@dl_herds INSTRUMENTS it

    WHERE i.series_name = p_series_name

    AND ((i.expiration_date = p_date AND p_date_active_flag = 0) OR)

    (i.expiration_date > = p_date AND p_date_active_flag = 1))

    AND i.product_id2 = it.id

    ORDER BY i.expiration_date;

    BEGIN

    OPEN c_get_series_cfi_code.

    SEEK c_get_series_cfi_code INTO v_cfi_code;

    CLOSE C_get_series_cfi_code;

    RETURN v_cfi_code;

    END get_series_cfi_code;

    No idea why this is happening?

    I think to reproduce the table locally to eliminate the use of dblink as a last resort.

    APEX Version: 4.2.4.00.08

    Database version: 12.1.0.1.0

    NLS: UTF - 8

    TIA,

    Dionisis

    Are you sure that the dblink is accessible from the scheme of the analysis of the application? Run the code in your sql client in the same pattern?

  • Migration of the APEX data to the local instance

    Hello

    I want my data in all the tables in my schema exported from the apex.oracle.com app and imported to another local instance, on a regular basis. Utility-> data loading/unloading feature Apex provide this functionality via XMLs but the process is manual and needs to be done table-wise and not schema-wise. I'm not sure of the CREATE DATABASE LINK function in this case, can it be useful? No other work around? Help, please.

    Thank you
    Mary

    Hello

    Yes, he is always there - I just tried. Are you clicking on the link or copy and paste it in the address bar? Sometimes, if you do this, you get leader / characters.

    Andy

  • APEX listener returns the empty login page

    APEX 4.2.2

    APEX 2.0.2 listener

    GlassFish 3.1.2.2

    The platform is 32-bit, Linux, Amazon EC2

    I am reasonably sure I have properly deployed the apex.war and i.war to Glassfish and set a virtual path and database connection correctly.

    When you run Firefox on the EC2 machine, access to the

    http://localhost: 8080/apex/dad1.

    does not return a login page, no problem. But navigation externally visible publicly address (I have to hide the real address, I'll use a.b.c.d) of the hosting machine or across the net returns a blank page:

    http://a.b.c.d:8080/apex/dad1.

    The success of this operation:

    http://a.b.c.d:8080

    I get the standard Glassfish page so I know Glassfish is listening on that address.

    I also tried from the stand-alone earphone, and I get the same effect: it refers to a login screen when browsing the localhost, but go to the external address, I get a blank page.

    The pages are really blank, there is no indication in the source of the page and it's all Firebug returns:

    <html>

    <> Chief

    "" <link title= "wrap long lines" " href="resource://gre-resources/plaintext.css" type="text/css"" rel= "alternative style"> "

    < /head>

    <> body

    <>of thepre< /pre>

    < /body>

    < /html>


    I tried to enable the query server side, but I have yet to find the way to produce the equivalent of an access.log. Searching the forum produced a few references to "routing rules" but I couldn't find what and where he could be.

    As the listener works perfectly when you go to localhost, I can't believe that rthis is the common problem of not finding the vivid, or url mapping problem. But I am of course open to suggestions!

    Any idea will be welcome.

    Thank you for your time.

    Fixed. Finally tracked it, a redirection problem fixed with the patch 16760897.

    Thank you to everyone who watched this, I'm sorry to have lost your time, hope to post the solution will help someone else.

Maybe you are looking for

  • If a video or a TV show is removed from the iTunes Store, can still play you if purchased while he was here?

    Question on the iTunes Store. If a video or a TV show is removed from the iTunes Store, but you have already purchased, you lose it at your library for playback on iOS, AppleTV or iTunes? I ask because this happens to Netflix, and I found the verbiag

  • F11 function has stopped working on my Satellite L550

    Spin 7 Pro 32 bit OS on a Toshiba L550 i5duo / core of the quad 4 RAM 500 G Ati HD radeon premium wire. So far, I've had the F11 function works perfectly, and recently it stopped working at all. Then after completing a restore - who lost my Kaspersky

  • HP f1703 monitor and Harman/Kardon speakers

    I have a HP f1703 monitor who is about nine years old.  It is different from the picture on the site of HP support for this model number - mine has no built-in speakers.  It came bundled with a pair of Harman/Kardon speakers that draw power from the

  • Using the space map window for my project

    Dear Sir. I am Sundeep Neupane of the Nepal. I am currently the Bsc Hons in computer science from the Islington College affiliated with the London Metropolitan University. I am currently the research space map window, which has the ability to improve

  • "Clips selected razor" cut all clips

    I have a Multi-track project and when I select "razor selected clips" ALL clips for editing. I double checked that I don't have a single track selected and I use mode ' clips ' the razor tool. Selected track color becomes brighter when selected, and