Can we intercept page redirection after user's login?

          Hi,
          This is problem we are facing and we are not sure whether it's WLS's limitation.
          We can't find a way to let weblogic server direct user back to the same login
          page after session time out.
          For example
          1. Let's say we run a query and display a report (at this stage, user may choose
          to save the results)
          2. wait until the session time out (30 minutes).
          3. try to Save report button (WLS will take you to the login page)
          4. login info in the pop up login dialog
          After that, exception is raised since the server is trying to locate the infomation
          that's expired.
          Exception Details:
          javax.servlet.ServletException: Data is not found, you may be operating on an
          old page that may not be available on server
          So, when a user tries to access a secure resource, WebLogic intercepts and throws
          up the Login page (we use FORM based authentication). After a valid login, the
          requested resource (page) is displayed.
          What we would like to do is force the user to a specific page after login (the
          home page) instead of the resource they were trying to access. Reason being is
          that the same behavior happens after a timeout and when trying to display the
          requested page, all http session information is gone and we're throwing exceptions.
          Any comment is highly appreciated.
          Take care,
          Yicheng
          

I beleive the Immediate Answer is NO you can't.
          But you can definitely get workarounds.
          If you are using using wls6.1:
          1. You can use ServletFilters.
          Else
          1. Write a Front Controller.
          (http://java.sun.com/j2ee/blueprints/design_patterns/front_controller/index.html). I am
          sure this is not going to be easy solution for an application thats developed and
          tested already.
          2. Modify you code to check session data intermediate pages. I am sure this is also
          not going to be easy solution for an application thats developed and tested already.
          I believe this is a limitation of Servlet Spec.
          You should be able to configure in web.xml says if this URI is hit without user logged
          in this is my target URI.
          Kumar.
          Yicheng Tao wrote:
          > Hi,
          > This is problem we are facing and we are not sure whether it's WLS's limitation.
          > We can't find a way to let weblogic server direct user back to the same login
          > page after session time out.
          > For example
          > 1. Let's say we run a query and display a report (at this stage, user may choose
          > to save the results)
          > 2. wait until the session time out (30 minutes).
          > 3. try to Save report button (WLS will take you to the login page)
          > 4. login info in the pop up login dialog
          > After that, exception is raised since the server is trying to locate the infomation
          > that's expired.
          >
          > Exception Details:
          > javax.servlet.ServletException: Data is not found, you may be operating on an
          > old page that may not be available on server
          >
          > So, when a user tries to access a secure resource, WebLogic intercepts and throws
          > up the Login page (we use FORM based authentication). After a valid login, the
          > requested resource (page) is displayed.
          > What we would like to do is force the user to a specific page after login (the
          > home page) instead of the resource they were trying to access. Reason being is
          > that the same behavior happens after a timeout and when trying to display the
          > requested page, all http session information is gone and we're throwing exceptions.
          >
          > Any comment is highly appreciated.
          >
          > Take care,
          >
          > Yicheng
          

Similar Messages

  • When creating users in apex,how can i limit pages depending  the user?

    Hi,
    1.When creating users in apex,how can i limit every user in the pages he can run or see depending on the user profile ?
    2.Are the user that is created in apex also a user in DB ?
    Thanks in advance
    Yoel

    Yoel -
    We're talking about end users of applications you develop in Application Express, not users that login to the development environment.
    You do not have to use Application Express to create user accounts for your application. Your apps can authenticate using SSO, LDAP, or other methods. If you use Application Express user accounts, that is only for convenience which may not be convenient in the long run if you have to manage those accounts, but that's up to you.
    These Application Express accounts have no relation to database accounts. This situation is slightly different when using the XE database.
    Your application's authorization logic determines which users can access the application, pages, or other components, that is, it is not the user account properties, per se, that control application access but rather the application's determination about the properties of the authenticated account in use that allow it to control access. For example, you don't create an account and give it attributes that say this user can access application ABC and pages 1,2, and 7. Instead, you might give that account properties like SALES MANAGER ROLE and the the application would allow only users with SALES MANAGER ROLE (whatever that means) to access certain pages.
    Scott

  • Problem with history when ther is page redirection after 'go back' button is clicked.

    Recently I was developing some application which requires request redirection from server when the browser's 'go back' button is clicked. At that time while I was testing implemented behaviour i noticed that when i go one page back forward button is disabled and when I want to go back again I am returned one the same page over and over again. It seems that there is a problem with history and how firefox handles a page redirection.
    In other browsers everything goes as it should and there isn't any such problem with history.
    I hope that this problem will be solved in the next version.

    Hi,
    I found this Terminal command here on the discussion board posted bu Sinzu.
    defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2BackspaceKeyNavigationEnable d -bool YES
    Dimaxum
    Sorry, everyting is BOLD tekst.

  • Can't open pages documents after time machine restore.

    Hi, I had to do a restore of my document folder from time machine and now I can't open any pages documents. It just says not a valid format. It is only the pages documents that are affected. Not word documents. If I try to convert to plain text (or any format) in word i just get a blank page.
    Help in this matter would be greatly appreciated!

    Hi M,
    Your post shows, from your profile, MacBook, Mac OS X (10.7.2)
    My System is 10.8.2
    My Pages is Pages'09 version 4.3 (1048)
    Please check to see if your profile is up to date (your products and the Version number for your System).
    In Finder, Menu > Apple > About this Mac
    In Pages, Menu > Pages > About Pages
    Please reply with these details (in your reply).
    Regards,
    Ian.
    Message was edited by: Yellowbox. (in your reply)

  • How can I stop Pages capitalising after i.e. or e.g.?

    I do not want to turn automatic capitalisation off altogether, but I was wondering how I can make an exception for things like e.g., etc., i.e.?

    All or nothing, I'm afraid.
    Regards,
    Barry

  • Issue: Login to OS X server using Lion or Mt Lion client. Unable to connect for ~2 minutes after user logout & login

    Situation:
    Using Lion or Mt. Lion client, login to our OS X server (we have a Leopard server and a Lion server) using AFP and FTP.  No problem.
    Log off server and then log off as user.
    Log back in as user.  Attempt to login via AFP or FTP.  It continues to bring up the login screen and won't let me login.  Wait ~3 minutes and try to login via AFP or FTP and it magically works. 
    Is there a plist or other file that may need to be changed somewhere that has a 'time out' causing this issue? 

    Thanks Dave. Yes, I completely removed all the elements listed there before reinstalling. The only thing I didn't do was reboot the machine in-between. I checked logs and found no crash log for ARD. Presuming I looked in the right place: /private/var/log/crashreporter.log and /Library/Logs/CrashReporter
    There was one entry from December 8th in the crashreporter.log but no subsequent file in the second location where it was supposedly written.
    I can hook up a monitor and access directly, it is just that I have to make an appointment with our IT guy to let me in the data center where it resides. I was hoping to avoid that. I'm reluctant to reinstall via ssh after removal. If something did happen that crashed the machine, I would rather be at the data center so I can fix it directly. I suppose that will be my next step: to go there and do a removal/reinstall directly.
    Thanks for you help. Let me know if you think of anything else.
    I suppose that is the next thing to try:

  • Can't Access Administrative Services after "Disable Workspace Login"

    Hi,
    I have been testing a production configuration on my local APEX instance, and run into the following difficultly. I disabled the Workspace Login from

    Hi Scott, jeeze.... that was quick! Must be the time difference :)
    Must have submitted that post by accident, I was just swearing at my pc and typing it out again.
    What I was trying to say was that I disabled the Workspace Login from Admin Services > Manage Service > Security.
    When I attempted to login as the internal workspace, I get a 404.
    Then, I though this must be the whole point of the apex_admin interface and attempted to log in via:
    http://localhost:7777/pls/htmldb/apex_admin
    Still the 404.
    I have checked the access logs, and a 302 is generated before each 404.
    I have also executed the following (as per instructions for reverting from a 'Disable Administrator Login") - just to be sure:
    alter session set current_schema=flows_030100
    BEGIN
    WWV_FLOW_API.SET_SECURITY_GROUP_ID(p_security_group_id=>10);
    WWV_FLOW_PLATFORM.SET_PREFERENCE(
    p_preference_name => 'DISABLE_ADMIN_LOGIN',
    p_preference_value => 'N' );
    end;
    commit
    Following a restart of both the db and http server, Im still getting the 404.

  • Redirect after CWA

    Does anyone know if there is a way to redirect a user to a specific page after a successful CWA without user interaction?
    I would like to have the user redirected to the corporate home page after they have entered their guest credentials rather than the generic successful login page.

    This can be done but you will need to build a custom HTML portal. In the success page the HTML code can be set to redirect the user to another page after successful login. 
    Thanks for rating! 

  • How to navigate to different page with different user name

    Hi,
    I have created a DB application....
    My application consist of 4 pages.......
    But if the first user logs into an application means, he needs to see only 3rd page
    If the second user logs into an application means, he needs to see only 4th page.......
    (i.e) 3rd page couldnot been accessible by the second user........
    and 4th page couldnot been accessible by the first user.......
    How to achieve this, i think i need to set some validation in the login page.....if so how to do that.....
    it is an urgency....help me friends....
    Regards,
    Harry...

    Hi,
    Thanks for your reply, so i need to create a post authentication for redirecting to different page as you said....
    Since these are my two pages(in the application)
    *) issues page.
    *) analyst page.
    Suppose if the User A login to the issues page(via. login page) he needs to see only the issues page
    if the User B login to the analyst page(via. login page) he needs to see only the analyst page...
    Since User A and B have access to the application.....
    But A should login only to issues page in my application and he should not login to the analyst page...
    and B should login only to analyst page in my application and he should not login to the issues page...
    For that where i need to define the post authentication...whether in login page i need to define.....
    if so, whether i need to define sql query for restricting the users to the particular page in the post authentication...
    Regards,
    Harry...

  • How can we disable user to login Hyperion Workspace

    We understand we can set to admin mode for Hyperion Planning so that only administrator can login the system. Any other ways to disable users to login Hyperion Workspace? We are using Hyperion version 11.1.1.1
    Thanks a lot!

    JohnGoodwin wrote:
    Hi,
    Just to confirm you want to stop users creating Financial reports using the Reporting Studio? If so then you would remove the role of "Report Designer" in there provisioning.
    Cheers
    John
    http://john-goodwin.blogspot.com/
    Thanks John. We just want to disable user using FR report prepared in Reporting Studio and put under "Explore" of Workspace. We found that we can't do that once the user is login into Workspace. The only way we can do is to setup the security setting of each FR report based on the group setting.

  • How do I add a custom trusted certificate to a user's login keychain without needing the user's interaction?

    In using ARD I can send the certificate to the user's desktop and install the Lync application but so far the only way I can get the certificate into the user's login keychain is by having them enter their password.  This of course becomes inefficient when having to adminster 75 systems.
    Which command can I send to the individual systems to store the certificate into their login keychains without having them to verify their password?
    Any and all help is greatly appreciated

    unfortunately no, MS Lync references the user's login keychain - at this point I can run a command through ARD that allows me to move the cert into the keychain and have the cert accept a password from the root account but now the problem is finding a command line to change the default trust settings to 'Always Trust'

  • Redirect to the jsp page after user authenticated successfully  …

    Here is the requirement …
    I’m using “JAAS – Custom Login Module” for user authentication.
    I have few questions in Portal Logon process …
    1. Exactly at what point I can conclude that the user has been authenticated successfully, because I have to redirect the user to some other page for the first time logon to enter some information, subsequent logins shouldn’t be redirected. (I can update flag upon entering information).
    2. Where should I add my redirection code? Is it in my JASS Custom Login Module?
    If yes, how can I do that ? I’m more consider on “where should I add it”?
    3. Do I need to change my “UmLogonPage.jsp” to complete my requirement?
    4. Once after entering the Logon information, who will call my JASS – Custom Login Module for authentication? If authentication has failed who will return the control back to the “umLogonPage.jsp”?
    5. In my JASS Custom Login Module, I have no redirections except having logic for authentication process, and some Login Exceptions are thrown for failure logins.
    6. Who will catch these exceptions for failure logins to redirect back to the “umLogonPage.jsp”.
    7. Finally I like to know where can I add my redirection logic once the user has been authenticated successfully?
    8. last but not least can any of the experts explain the whole login process (using JASS module)? How the control goes from one component to another?
    Any kind of help is appreciated.
    Points can be awarded for useful answers.
    Thanks
    MMK

    Thanks a lot for your valuable reply.
    yes what you said was correct, storing information in R/3 System and getting the details from FM using Connector framework.
    You said i have to modify "header.jsp", can you please tell which .par file should i get to modify?
    one more question to you ... i have provide custom logon error messages to the user ... i did all the modification in logon.par and deployed in EP 6 .. working fine .. i can able to see "User ID Missing" , "Password Missing" etc ..
    when i place same peace of code in EP 7 it always displaying "User Authentication failed". can u guess what whould be the problem?
    Thanks
    MMK

  • Redirecting survey users to thank you page after finish

    Hi All,
         I'm trying to redirect users to a custom page from ma survey using the code below:
    var inputcCtrls = document.getElementsByTagName("input");for(var m=0; m<inputcCtrls.length; m++) {       if(inputcCtrls[m].type=='button'&&inputcCtrls[m].value=='Finish') {    console.log(inputcCtrls[m].value, inputcCtrls[m].type)       inputcCtrls[m].onclick = function () { window.location = "/sites/surveys/Pages/ThankYou.aspx" };   }}
    But my survey never gets completed.
    What would be the best way to do it?
    Cheers

    Hi,
    According to your post, my understanding is that you wanted to redirect the users to a thank you page after finishing.
    You can use the SharePoint Designer to achieve it.
    Create a new page named as “Thankyou.aspx” page under the Site Pages.
    Open the site in SharePoint Designer 2013, click Lists and Libraries, go to "Forms" section. Create a New Form by clicking on "New Item Form"
    Give it a Name,  choose form type as "New Item Form" and enable "Set as default form for the selected type" and click on "Ok" to create the new form.
    Edit the New form we've just created. Open the "New.aspx" page with
    Advanced Mode in SharePoint Designer.
    Search for the savebutton1,savebutton2, delete all two “Finish” buttons.
    Insert SharePoint Form Action button from "Insert Menu >> SharePoint >> Form Action Button"
    Select the Form Actions "Commit" and "Navigate to Page" .
    Select the “Navigate to page” action, click “settings” to set the target page ,and click "OK".
    Rename the Form Action as Finish.
    Save and close the page.
    You can also refer to the following article, although it is for SharePoint 2010, it also fits for SharePoint 2013.
    http://www.verious.com/tutorial/share-point-survey-redirect-to-thank-you-page-on-finish/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How do you redirect the user to a custom page after the "Save" button is clicked?

    In SharePoint 2010, I could add the following code to a save button to redirect the user to a custom page.
    <input type="button" value="Submit" class="btnStyle" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/SitePages/Thankyou.aspx}')}" />
    However, how do you do this for a save button in SharePoint Online? The code of a save button in SharePoint Online looks like
    <input type="button" value="Save" name="ctl00$ctl33$g_175de2e0_43c1_4005_bac5_0ab02439686f$ctl00$toolBarTbl$RightRptControls$ctl00$ctl00$diidIOSaveItem" onclick="if (!PreSaveItem()) return false;if (SPClientForms.ClientFormManager.SubmitClientForm('WPQ1')) return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ctl33$g_175de2e0_43c1_4005_bac5_0ab02439686f$ctl00$toolBarTbl$RightRptControls$ctl00$ctl00$diidIOSaveItem&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, true;javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/SitePages/Thankyou.aspx}')}))" id="ctl00_ctl33_g_175de2e0_43c1_4005_bac5_0ab02439686f_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_diidIOSaveItem" accesskey="O" class="ms-ButtonHeightWidth" target="_self">

    Not exactly what you are asking for, but if you are creating the link then you could add "?Source=" to the URL.
    http://yourServer/sites/yourSite/Lists/TestList/NewForm.aspx?Source=/SitePages/Thankyou.aspx
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • 404 can't find page Error when logging into Exchange 2013 OWA, after a refresh, login works

    Hi,
    I've upgrade two of my customers to Exchange 2013.
    On of them was coming from 2007, and the other was already running 2010.
    Migration from both of the servers went good.
    However with the customer which upgraded from 2010 to 2013 i'm experiencing strange OWA behavior:
    When I login to OWA on https://owa.contoso.com/owa, and input my credentials and click sign in: I receive this error:
    404
    can't find page :-(
    The page you're looking for couldn't be found on the server.
    X-FEServer: JVBMAIL01
    Date: 11-6-2014 11:54:48
    Fewer details..
    -> Refresh the page
    In the addressbar, the following URL is displayed: https://owa.contoso.com/owa/auth/errorFE.aspx?httpCode=404
    But... when I click: "Refresh the page" of just hit F5, the login proceeds, and my OWA is displayed and working fine.
    This behavior only happens with my customer which was upgraded from 2010 to 2013.
    The customer which i've upgraded from 2007 to 2013 doesn't experience this problem.
    I've matched the IIS settings and redirect/ssl options on both servers. They are the same.
    I've tried other users and i've experienced that on one user, the error message didn't appear.
    When I try to delete the Exchange atributes from the user, (after exporting the mail to a PST file) and re-add the Exchange attributes, the message is gone. This isn't a solotuion however, since i've got 166 users, and about 150 of them, get the error message.
    New users don't get the error.
    Anybody got any clues?

    Hi,
    From your description, I would like to verify the following thing for troubleshooting:
    Please make sure that the authentication is set to Basic Authentication and Forms Authentication is disabled on OWA and ECP virtual directly in IIS. After the above settings, please restart IIS by running IISReset /noforce command.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

Maybe you are looking for

  • How to load XML file to DB

    Hi All, My requirement is I have a XML file, its data should be stored in Database. Below is the sample XML file. <?xml version="1.0"?> <PaymentInfoMessageResponse> <PaymentInfoResponse> <TransactionType>940</TransactionType> <SequenceNum>04</Sequenc

  • Cannot import Excel dates

    I am using Oracle SQL Developer v1.2.1 and I'm trying to import an Excel file that contains date values formatted as 21-Sep-2007 11:29:45. During the import process, Data Preview shows that the date columns have values such as 39282.8. I have tried s

  • My license has gone stale

    out of the blue I cannot use visual studio professional 2013 .... the message says "your license has gone stale". I cannot use visual studio.  When I click "check for updated license" I get an error: "Sorry we ran into a problem"  Method not found ..

  • Panels not showing in CS5 from configurator 2.0

    OK, I didn't have a problem doing this in CS4.... Installed configurator 2.0 on my new Win 7 64 bit machine.  Built a simple panel, exported it, double checked in extension manager - it's there.. Went to Photoshop CS5 (64bit) and did the "windows, ex

  • Schedule service in oc4j?

    Hi, is there a scheduling service in oc4j? Where can I find documentation about that? Thanks Guenther