Successful login ADF redirects to the login page

JDeveloper 11.1.1.6

Simple login page, simple first page.

If the connection is successful, then it just goes back to the login page, rather than on the first page.

I have "redirect after successful authentication" selected and pointing to my first page.

If incorrect credentials are entered, then it goes to the error page as it is supposed to.

No idea why this is happening?

Login.HTML is the welcome file in the xml web, so when I run the app on my weblogic server built-in, this is the first page I see.

No, it will not work like that.

Home page is the page server that uses when there is no http request to a specific page within the web application context (for example, when you enter just: http://hostname/ReportServer: port/YourContext).

In your case, if your authentication was successful, you will be redirected back to the login.html page (because it's your home page)

Instead, add faces/firstPage.jspx in your login page (I don't know if you need to end .jspx)

or

Run your firstPage.jspx

If you are not already authenticated, the server will redirect you to the login page, and after successful authentication redirection, you return to the page defined in the ADF (firstPage.jspx) Security Assistant

(and note that, by default, ADF Security only protect pages that have pageDef)

Dario

Tags: Java

Similar Questions

  • Journal of R12 SSO on redirecting to the home page of R12

    Hi all

    I joined R12 with SSO. After clicking on connect, it redirects to the home page again after trying for a while to close your session in the sso page. Help, please.

    Environment, R12.1.3, Aix 6.1

    Kind regards

    Cherkaoui

    Hi Haran,

    Please confirm if the recent changes have been made, and this feature was working fine before.

    Please see if you can find more details in the log of Apache and Application files.

    Please also have a look at the notes:

    Logout link in E-business Suite does not return to the SSO login Page when using Ondaaah (Doc ID 735308.1)

    Thank you &

    Best regards

  • Its results are not redirect to the respective pages


    Hi all

    I configured ITS Peoplesoft peopletools 8.53 and ELM 9.2 instance.

    After you have everything configured, ITS search results arrive correctly but is you click on it, it is not redirecting to the respective pages.

    This is to show the error on the page in the status bar of Internet Explore.

    Could you please help me to solve the problem.

    Thanks in advance.

    AJMAL

    Hello

    Probably you are encountering the problem that is described in this document of knowledge "My Oracle Support":

    Doc # 1551951.1: Search 'Results list' contains links that do not work because they are built with the incorrect URL

    Here is the solution:

    ------------------------

    Make sure that the content/portal URI are set correctly on all nodes the.  This can be done as follows:

    1. connect to the PeopleSoft application

    2. go to PeopleTools Integration Broker, integration configuration, nodes

    3. sort by "Local node".

    4. for any node where "node Local = 1' do the following:

    a. set up the node

    b. go to the tab "portal."

    c. ensure that the text "URI Content" and "Portal URI text" are properly defined.

    For example, if your Integration Broker is on myserver.mycompany.com:8000 and your site is called hcm, you would use these values:

    Text of the URI of the content = "http://myserver.mycompany.com:8000/PSC/hcm /"

    Portal of text URI = "http://myserver.mycompany.com:8000/psp/hcm /"

    (Write it down "/" at the end of the values.) Make sure you remember that)

    d. make sure this change is made to all nodes. For example, for HCM, this aspect should be defined for nodes PSFT_HR and HRMS.

    5. after making the above changes, you need to rebuild the search index. Do this as follows:

    a. redeploy all the definitions of research that were built with the incorrect URL as follows:

    -Go to PeopleTools, research framework, Administration, deployment/delete the object

    -Box next to the definition of inactive research

    -Click "undeploy".

    -Once finished, check the box next to the definition of research and this time click "deploy".

    b. rebuild search indexes

    -Go to PeopleTools, research, Administration, research agenda Index

    -Bring the command run to perform a build of the full Index and launch it.

    c. Once finished the process ' Building for Search Index ', re - test and verify that the problem is solved.

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

  • How to set point values when redirecting to the same page.

    I just create a button to redirect I want to redirect to the same page and place 2 elements on the page to the same value they had before the redirection.
    But I can not write:
    Place these items: P1_Permit_Number, P1_Fishing_Year
    With these values: & P1_Permit_Number, & P1_Fishing_Year.

    Because there are no values in session state, because a shipment has not been done.

    So, how can I do this?
    I know how to get the values stored in the elements, for example, $v ('P1_PERMIT_NUMBER')
    but where should I put this command? It is not allowed under the "with these values.
    And I don't really want to make a button "submit" and create a process that says:
    P1_PERMIT_NUMBER: = $v ('P1_PERMIT_NUMBER'), because that would complicate the page too - I already have other branches and the process on the pages which conditions have to be modified so that they do not work in this scenario.

    Thank you.

    Hello

    The syntax seems correct to me. Your summers of uppercase element names?

    Try:

    alert("Here");
    var permitNumber = document.getElementById('P1_Permit_Number').value;
    alert(permitNumber);
    var fishingYear = document.getElementById('P1_Fishing_Year').value;
    alert(fishingYear);
    var url = 'f?p=&APP_ID.:1:&APP_SESSION.:Vessel_Display:::P1_Permit_Number,P1_Fishing_Year:' + permitNumber + ',' + fishingYear;
    alert(url):
    window.location.href = url;
    

    All alerts MUST display expected values. Doesn't it?

    Andy

  • Redirect to the original page after login

    Hello, I'm new in the Fusion of the ADF, I'm trying to get my program to do the redirection, submitted by the user, after logging, page example: otherwise

    the user is connected to the session, and someone is trying to access a path in the browser (... faces/protected/admin/page.js) JAAS (Yes, I use JAAS, JAAS not ADF security, so I tried that before JAA redirect to the login screen, he kept the URL TO which the user has tried to do that when connecting the user to the system, it redirected to this page) not a standard page...

    I tried to recover using this url PhaseListener, filter using the filter applications (/ *) and using the < f: event > someone at - it suggestions?

    OBS: authorization and authentication with JAAS is ok, I wanted to just implement this dynamic redirect

    I create the hidden entrance and a button to test the parameter:

    public class test {}

    @ManagedProperty(value="#{param.from")

    private String

    I don't know if the injection with @ManagedProperty will work.

    So, first make sure that hidden field a correct value (you can check this in the source of the page, or you can add a component any visible...)

    If this value is correct, you can try to evaluate EL inside your connection method with:

    public static String evalAsString(String p_expression){
        FacesContext context = FacesContext.getCurrentInstance();
        ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory();
        ELContext elContext = context.getELContext();
        ValueExpression vex = expressionFactory.createValueExpression(elContext, p_expression, String.class);
        String result = (String) vex.getValue(elContext);
        return result;
    }
    
    and then:
    String from = evalAsString("#{param.from}");
    

    Dario

  • How to redirect to the error page custom when the authorization page schema fails

    Hello

    I've done a permission scheme using PL/SQL function return Boolean option.

    I made a custom error page.

    I put this program in one of my pages for authorization. If the authorization scheme fails, I would like the user to be redirected to the custom error page. Currently, it displays a blank page with the mentioned in the section "identify error message displayed when plan violated" page text of the authorization.

    Is there a way I can make this redirect to the custom on the failed authorization error page.

    I am currently using Apex 3.2.0

    Thank you
    Pradeep

    You can create an application process when loading and subordinate to run only when you load your pages, where you want to check if the authorization is successful or not. Your authorization process should run only once per session.

    DECLARE
       v_page_id   NUMBER := 1000;                      -- your custom error page
    BEGIN
       IF     NOT apex_util.public_check_authorization ('MY_AUTH')
          -- your authorization scheme
          AND :app_page_id NOT IN (101, 1000)
       THEN
          HTP.init;
          OWA_UTIL.redirect_url ('f?p=&APP_ID.:' || v_page_id || ':&SESSION.');
          HTMLDB_APPLICATION.g_unrecoverable_error := TRUE;
       END IF;
    END;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Why I always automatically redirected to the French pages?

    When I type an address .com (or any other extensions not French) I get automatically redirected to an address .fr and I really hate this. If I want a French site, I'll ask for it, I don't have others to decide what I want. Sorry, nothing personal, it's just my frustration talking. I put Google.com on the opening page, and it has worked well so far. When I open an additional tab that I not redirected to .fr is probably not you, I just hope you have a solution to this very annoying feature.

    How can sites I report your location?

    See also:

  • Redirect to the new page of pl sql / process page?

    Hello

    I'm working on a page with a form for users to download the data.  When you press the "submit" button, it runs a process Page.  After the process is complete (i.e., to insert a new record of DB) we need to create a branch to a new page with treatment notes (defined in the process).  I tried to save the notes to an item on the first page and then configure a branch that fires "to submit, after treatment...". ' and includes notes in the industry, setting the value of an item on the new page.  It works in part but seems to truncate the value of the notes.  Is there a limit to the length of the string that can be passed via a branch page?

    Or is there a better way to do it?  Maybe there is a way to branch directly in the process?  If so, it would be easier because I wouldn't have if all goes well define a page element, just to pass this value along to the new page.

    Thank you

    Steve

    Hi Steve. 1234555 - Oracle,

    Agree with the suggestion of fac586:

    The value of the item on the new page can be defined directly in the process, or later without including the value in the branch (make sure that the direction is not clear the session state in the target page). Even better would be to give notes a structure to put them in a collection and displays them using a report.

    Here's how you can do if your process is PL/SQL:

    DECLARE
    
      L_NOTES VARCHAR2(512);
    
    BEGIN
    
      -- process for insertion and setting notes
    
      -- setting notes item on page to be branched
      APEX_UTIL.SET_SESSION_STATE('P2_NOTES', L_NOTES);
    
      -- redirecting/branching to the page
      APEX_UTIL.REDIRECT_URL (
          P_URL => 'f?p=' || :APP_ID || ':2:'|| :APP_SESSION ||'::NO:::' );
    
    END;
    

    Reference:

    I hope this helps!

    Kind regards

    Kiran

  • I bought jointly, Priemer elements and Photoshop elements. I downloaded photoshop successfully. How to access the Web page download for elements of Prime Minister?

    I bought jointly, Priemer elements and Photoshop elements. I downloaded photoshop successfully. How can I get access to the

    Download the Web page for the elements of Prime Minister?

    Garyl21385743 what version of Premiere Elements you are wanting to download?  You can download the latest versions of Premiere Elements to products download Premiere Elements | 10, 11, 12, 13.  You can also find links to the installation files for most retail securities of Adobe Creative Software to to other downloads.

  • ADF button submits the entire page on submit partial = true

    my version of jdev 11.1.1.5.0

    I HAV a page jspx with two text boxes and three select a choice and a key "clear".

    by clicking on the clear button subimts the full value of checkouts and page to select that one possibility mapped to handle bean every time on the involvement partial subimt = true

    Two years ago I was confused by the same behaviour, so I investigated the problem to come finally to the conclusion that everything has been very well and in accordance with the documentation.

    In short, it is a correct behavior a button to send the entire page, even if the button is set as partialSubmit = 'true '. See the following articles in the documentation for clarification:

    Using the life cycle JSF with ADF Faces - 11 g Release 1 (11.1.1.7.0) ("4.3 using optimized life cycle")

    Management events - 11 g Release 1 (11.1.1.7.0) (See "5.1.1 events and PPR" only)

    He is seen in the second article as command components (for example a command button, an event type 'action') are not roots of the event, which means that all encompassing the page 'limit' is presented. If the button is a part of a subform (), a region, a popup or a PanelCollection, the limit is the corresponding subform, the region, the popup or PanelCollection, then only that part of the page is transmitted and processed by the optimized life cycle. However, if the button is not part of these elements, then the entire page is transmitted and processed by the lifecycle (even if the button is set as partialSubmit = "true"), but only the partial objectives of the button will be updated on the screen (if the button is configured as partialSubmit = "true").

    If you want that your button submit only a part of the page, then the easier way to do is to surround the part with .

    Dimitar

    PS Entry and selection components have different behavior PPR of components of the control. You can see from the second article above all entry and selection components are roots of event (unlike the components of control!) (see the event type "valueChange"), so if some components of entry or selection is configured as autoSubmit = "true", it will submit any page but that itself and the components configured as a partial target of it.

  • List of conditional selection without redirection on the Action Page

    Hello

    I have a problem when I want to create a condition between two elements. For example I select Yes on the first point, it should show up the second aria from point text... If not on the first point, the second item should stay hidden.

    I tried with condition on the second point, but I had to choose "Redirect and set the value" on "Page Action time modified value" on the first point... that refreshes the whole page and clears all previous items.

    Can you please help me with a workaround for this problem?

    Thank you!

    You have two elements on the page

    P1_ITEM1

    P1_ITEM2

    Create a dynamic action

    OnChange P1_ITEM1

    Is equal to "Y".

    See the P1_ITEM2

    When you create also check the options to create false actions and trigger the page load

    Remove any link redirect on P1_ITEM1

  • Two redirects to the same page?

    DW CS3 - ASP

    Through a former (but excellent) training DVD to create registration forms Insert/Update/Delete using DW & ASP.

    Two forms are created on the same page - a record of update and delete record.  Update works, but delete creates an error:

    Microsoft VBScript error "800 a 0411" compilation

    Name redefined

    /mysitename/myFolder/admin_edit.asp line 95

    Dim MM_editRedirectUrl

    This error is apparently due to the different redirect for each form URL:

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_edit.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If
    End If
    % >

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_home.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If

    End If
    % >

    I read that rename the second MM_editRedirectUrl Sun of Sun MM_editRedirectUrl_2 will make things work properly and he DID!  However, does make for an unstable environment; and if yes, what is the best approach to resolve this?

    OK, that makes sense. The problem stands and the original solution. Loading edit/detail page he sees scripts and variables of these two behaviors, and that the same variable name is used in both cases. So to change the names of variables in one or the other behaviors will work and will not cause any instability.

  • redirect on the index page

    Hello

    I have an index page on my site with the access of the user to the main section of my site (www.sugarrays.co.uk), currently, we put a redirect on the page indext, but it is very slow. Currently, we use a (body onLoad) javascript for redirection, see below:
    < onLoad body = "MM_goToURL ('parent ',' http://www.sugarrays.co.uk/shop/home.php');" return document. MM_returnValue">

    does anyone know a better way to do this?

    Thank you

    Wednesday, April 11, 2007 10:17:35 + 0000 (UTC), "Kamesh192".
    wrote:

    > im not too similar with the process that you have said, should I put the code:<>
    > header ("Location: shop/home.php '");? > in a white folder and name it
    > redirect.htaccess and then upload this file to the root folder? is that correct?

    Lol by using a .htaccess file does not involve PHP at all. What follows
    assume that the server had .htaccess enabled for your site and that
    mod_rewrite is available.

    First of all, check your preferences to ensure that your line breaks are
    set correctly under UNIX (Edit-> preferences-> Format of Code-> line break Type).
    Then check the remote files to see if there is an existing file named
    .htaccess. If there is, download it and add the two following lines to
    the lower part. Otherwise, create a new file that includes * only * the
    following two lines:

    RewriteEngine on
    RewriteRule ^ $| ^ index.html$ /shop/home.php [R = 301, L]

    Save the file as .htaccess in the root directory of the site. It's the
    full name. The point is the first character of it.

    Download the file on your site, then test immediately by accessing
    http://www.sugarrays.co.uk to ensure that it works. If you get an error,
    Delete the file from the remote control. If it works correctly, you will be
    re-directed before any page is downloaded.

    > Thanks for your help

    You are welcome.

    Gary

  • Cannot start any laboratories redirection to the home page

    Hello

    I am unable to start any labs. After about 01:40 minutes showing from laboratory it redirects to the homepage starting even I do not seem to be connected.

    I'm trying to start the HOL-SDC-1610 laboratory. Can someone please help?

    I already checked my laptop computer time settings and good sound.

    -LP

    Unfortunately, if your only access to Internet from your corporate network is via the authenticated proxy, there is nothing that you can change on your local computer to make a difference.

    In these cases, our users usually access to the laboratories of their home networks or public access, rather than the corporate network point.

    -Doug

Maybe you are looking for