Dispatch to custom 401 page does not always happen

hi,
I configured custom error401.jspx page to be dispatched to if user enters invalid credentials at login page or if authenticated user attempts direct url access to a page he is not authorized to access. This works most of the time, but sometimes instead of dispatching to 401 page system dispatches to Login page (the user is already logged in so this should not happen!). When this happens Login page looks like original ADF faces page but "face" color is lost, i.e. page is all black and white and it contains message Invalid username and password.
I configured ADF security to also dispatch to this 401 page in case of unauthorized access.
I am using jdev 10.1.3.2.
What is causing this behavior? It seems to happen more often on standalone than embedded oc4j. I checked web.xml and everything points to custom 401 page if unauthorized attempt. userInfo managed bean is identical to SRDemo.
Is there a workaround?

Hi,
it is not loss of session as if I click Back button on browser I can proceed with application as currently logged in user.
I reproduce this in following way:
- I try to login as userA/roleA with wrong credentials
=> system dispatches to error401 page.....................OK
- on error401 page I click Home button which replicates SRLogout backing bean function...OK
=> system re-renders Login page...............OK
- I login as userA with correct credentials
=> system renders welcome page.............OK
- I use application as userA..................OK
- I try to access page accessible only to userB/roleB, using direct url access
=> system dispatches to error401 page...........................OK
- On error401 page (or clicking Back button on browser to go to previous page) I, (still logged in as userA/roleA) try to direct url access page belonging to userC/roleC
=> this time oc4j immediately dispatches to Login page (instead of error401 page) with message Invalid username and password...................................NOT OK
So it seems first time only it dispatches correctly but subsequent attempts it always go to Login page although session is not expired

Similar Messages

  • FireFox home page does not always display correctly, hence I cannot do anything

    On my Dell laptop the FireFox home page does not always fully display. When this happens I cannot access several web sites and some that I can do not display correctly either. On some occasions everything works correctly.
    I have 2 Dell Inspiron laptops the same except one is running Vista (the one that does not always work) and one running Windows 7 (this one has no problems).

    On my Dell laptop the FireFox home page does not always fully display. When this happens I cannot access several web sites and some that I can do not display correctly either. On some occasions everything works correctly.
    I have 2 Dell Inspiron laptops the same except one is running Vista (the one that does not always work) and one running Windows 7 (this one has no problems).

  • Sometimes a web page appears with only text and no picures. It is not always the same site and does not always happen. If I switch to Explorer for the same web site it always works

    Sometimes a web page appears with only text and no picures. It is not always the same site and does not always happen. If I switch to Explorer for the same web site it always works

    Thank you, it worked with just F5. I don't know whether CTRL + F5 would work because the problem has not come back yet!

  • Auto-hostep app with custom master page does not allow custom workflows

    This has been troubling us all day. We have a sharepoint 2013 auto-hosted app. We wanted to simply change the site logo of the master page but it was easier said than done. Finally we had to create our own custom master page with our own site logo to overcome
    this issue.
    Now we are trying to add a custom workflow in our app. But the instalment of the app always fail with this message:
    3> CorrelationId: cec727fc-bbf9-4499-ae36-6a7d05f3ae8c
    3> ErrorDetail: There was an error during the operation.
    3> ErrorType: Configuration
    3> ErrorTypeName: Configuration
    3> ExceptionMessage: Operation is not valid due to the current state of the object.
    3> Source: Common
    3> SourceName: Common App Deployment
    After many hours of searching I came across this
    post that sums up the problem to this:
    Do not use the WebTemplate element in the app manifest to designate any of the built-in SharePoint site definition configurations as the app web's site type. We do not support using any of the built-in site definition configurations, other than APP#0, for app webs.
    Thus, if you would like to include your workflow to SharePoint-hosted app, you have to use APP#0 template.
    I am fairly new to the sharepoint 2013 app development and having so many problems just because we wanted to have a different site logo is making us focus out of the important stuff of our app. Isn't there a simple way for us to change the app's site logo
    and add a custom workflow? Has anyone come up with a solution?

    Have you configured SharePoint Workflow Manager in the farm? Not sure if you are familiar with but in SharePoint 2013, there's a new component called Workflow Manager that needs to be configured to use SharePoint 2013 workflow.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    I am using SharePoint Online. I have enabled the following site feature:
    Workflows can use app permissions
    Allow workflows to read from and to write to all items in this site.
    just in case but it makes no difference. When I stop using my custom masterpage the app can install just fine and the workflow is working. When the custom masterpage is enabled the app won't install with the workflow. I am required to remove the workflow
    to install the app.

  • Faulty mp3 player and customer support page does not w

    I sumitted my problem online to the customer support but when I hit the submit button I get redirected from http://us.creative.com/support/contact/emailform.asp to a non-working URL http://dmzrespapp.europe.creative.com/kana/FRH
    I do not get an e-mail confirmation either. But maybe you can also help with my problem below
    I have an Creative Micro Zen mp3 player
    When I start or reboot the mp3 player it hangs at the 'CREATIVE' logo and stops responding. This started 3 weeks ago.
    I followed the steps below as suggested by Creative's knowledge base:.) Clean up2.) Format3.) Reload Firmware4.) Reboot
    At each of these steps the player does not hang (I can hear the sound feedback when I touch the control buttons), but I stays there for hours saying i.e. 'Cleaning up', 'Erasing Firmware'

    After I have read the FAQ I came across this last resort, tried it, and succeeded. Now it works again
    http://www.nomadness.net/modules.php...ukebox+Zen#209
    My Zen won't startup, what do I do?
    align=justify>If your Zen won't startup the first thing to try is see if you can access the Maintenance Menu (click here for the procedure) and run a disk cleanup. If this fails, or if you are getting the "hard dri've error" message on startup, listen closely to the Zen when it starts up. If you can hear the hard dri've repeatedly clicking at the end of the start up chances are the heads or related mechanics are jammed in some way. <B>At your own risk</B> you can try and free this by firstly powering the player down, then giving it a hard slap on the side. An alternati've and less drastic approach is to hold it in your outstretched arm with the screen towards you and twist your wrist back and forth as quickly as you can. This might indicate a problem with the player, so you may want to seek getting your player replaced/repaired anyway, especially if this happens more than once. Also if this procedure doesn't help you will also have to look at getting the player repaired, or if out of warranty you can try repairing the hard disk yourself. See the Articles section for guides on upgrading. Note that you <B>should not hit your player</B> in any other circumstance as you could damage the hard disk. Hard disks make clicking noises in normal operation.

  • The Back arrow does not always work, particularly with Amazon and eBay sites.Even the on-page Back arrows do not work either.

    I am using version 15.0.1. Since I updated to this version, the Back arrow does NOT always work particularly with Amazon and eBay. This is particularly evident when I go from a list the result of a search to an item on the lis. I cannot get back to the list even using the On-page Back arrow. I usually have to repeat the search to get back to the list again.

    Hi MorrellMurphy
    probably problem with [http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox Locked or damaged places.sqlite] file
    thank you

  • V 3.6.3 on Mac Snow Leopard. Often, but not always, my iGoogle home page does not load.

    Using latest Snow Leopard on my Mac and Firefox v 3.6.3, since latest update my iGoogle homepage does not always load, sometimes just a blank Google page and I then have to click the homepage icon to load. After the first time used in any session, it will always load correctly. Sometimes it loads correctly, no apparent pattern.
    == This happened ==
    Every time Firefox opened
    == The latest version was installed......I THINK

    Google is my homepage. Recently, when I type a search query from Google's homepage, nothing happens. I mean absolutely nothing. No error, no "loading page" messages. Nothing. When I type the search in the Google toolbar, the search engine works fine. Anyone else having this problem and if so, how do you fix it?
    Thanks in advance...

  • My firefox custom page does not come up when i click the firefox icon w/mac

    For the last 3 days when I click the firefox icon on my mac i get the plain igoogle page. My custom page does not automatically come up as befoe. Then I have to reset the i google password everytime then get to my page

    Ok, lets do a couple of steps here first:
    To make sure your windows isn't corrupted because of the power outage, let's run chkdsk.
    Click on My Computer, then right click your C: Drive (if you have other hard drives, you will want to run this on them as well). Then, click Properties. Inside that window, go to the Tools tab. Inside that tab, open up the "Check Now" button. That will open a smaller window. Select the checkbox to "Automatically fix file system errors", then hit Start. You will probably receive an error asking if you want to schedule the disk check, click Yes, then restart your computer.
    Read [http://support.microsoft.com/kb/315265 http://support.microsoft.com/kb/315265] for more information.
    After running the chkdsk, then please go to [http://www.getfirefox.com www.getfirefox.com], and download a fresh version of Firefox. I'm assuming you are using Internet Explorer to download Firefox. Instead of hitting Run, let's try hitting save. Remember where it saves the installer file on your computer.
    After the download has finished, double-click and run the Firefox install. Once it is finished, try to start Firefox up. Let me know how it goes!

  • When I click on the tab with a + on it, located next to the active tab a new page does not open. If I click on "New Tab" in the File menu a new tab does not ope

    When I click on the tab with a + on it, located next to the active tab a new page does not open. If I click on "New Tab" in the File menu a new tab does not open.

    Hi jcatx2013, we don't really have enough information on your system to make specific suggestions...
    Could you test in Firefox's Safe Mode? That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode" (''not'' Reset)
    Any difference?

  • HT201272 Season pass notice does not always download.  It does not appear in the purchased items. I am responding to an email stating 'this week's TV show is ready for download'.

    Season pass notice does not always download.  It does not appear in the purchased items. I am responding to an email stating 'this week's TV show is ready for download'.  Any suggestions?

    Been having the same problems all week. And am got a generic, not-at-all-helpful response from my initial inquiry with support, then absolutely no response to my follow-up requests. There seem to be a fair number of people posting this problem, so not sure why we're being ignored.
    Was able to eventually download the episodes manually via the 'purchased' link, but it's about 10 more steps than normal.
    Also noticed that itunes isn't recognizing my purchases at all, not just season passes. If I go to a page of a show where I buy episodes individually, it doesn't show which episodes I have previously bought like it used to.

  • Why do I receive Error 200378 "Custom scale specified does not exist"?

    I am trying to perform offset nulling using an NI-9237.  I receive and error in regards to the custom scale even though I programmatically create the scale prior to the task.  I am experiencing the erro whne using LV8.2.1 but with LV8.6 the problem disappears (same code, just open in LV8.6 and run)
    The error is the following:
    Error 200378 "Custom scale specified does not exist" 
    Possible reason(s):
     Measurements: Custom scale specified does not exist.  Custom Scale: test
    Channel Name: LoadCell_StrainGage_Sim/ai0
    Task Name: _unnamedTask<F>
    I have attached the code in LV8.2.1
    Thanks
    Dan
    Attachments:
    test.vi ‏38 KB

    Dan,
    I tried your VI and it worked for me after I changed the channel from "LoadCell_StrainGage_Sim/ai0" to something that was on my system.  Before that, I got the same error.  So...are you sure that there is LoadCell_StrainGage_Sim/ai0 configured in MAX?  Stupid question, I know, but it was the only thing I changed.
    -Matt
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • Can I not add images to my itunes from Google images or other search engines as when I click get artwork it does not always work

    Can I not add images to my itunes from Google images or other search engines as when I click get artwork it does not always work. I used to be able to do this.

    The sort fields should generally be empty unless you've putting in custom values to sort solo artists by their surnames. You can apply common changes to thousands of tracks at once, just don't apply the wrong change because there is no undo.
    It is a good idea to backup before undertaking large scale changes. See this backup tip for a suggested approach.
    tt2
    Message was edited by: turingtest2

  • Firefox 34.05 does not always refresh screen

    When I move from one tab to another the screen does not always refresh. Same happens when I close a tab - the screen will still show the deleted tab. This does not happen all of the time - but enough to be an issue.

    ''James [[#answer-672408|said]]''
    <blockquote>
    Firefox 34.0.5 is not doing the blocking as it is due to the blocklist. https://addons.mozilla.org/firefox/blocked/
    Adobe Reader '''10.0 to 10.1.5.*''' has been blocked for your protection.
    https://addons.mozilla.org/firefox/blocked/p158 (Blocked on October 5, 2012)
    You were looking at another blocklist page which was https://addons.mozilla.org/firefox/blocked/p156 posted on same day.
    The https://www.mozilla.org/plugincheck/ is not always accurate or reliable (needs to be manually updated) as Adobe has not been keeping the Adobe products versions to check for updated on that page as the recent Flash updates on December 9 has shown.
    It is however accurate when it says versions in Plugins panel of Addons Manager is outdated.
    There is Adobe Reader 11.0.10 though it seems like Adobe still provides 10.1.4 at http://get.adobe.com/reader/otherversions/ yet newer versions are at http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    </blockquote>
    James, why does the Firefox addon page link to the 9.5 "blocked for your protection" page instead of the 10.5 blocked page? Is that a mistake/failure to update on Adobe's part? That seems like something that should be controlled on the Mozilla side, since it has the 10.5 blocked page in existence as well. Should someone be notified that it's giving the wrong page to people?
    The adobe update you linked to made it stop saying it's out of date, but what about the Java Development Toolkit? (As pictured in attached image #3). How should I go about getting that up to date?

  • IWeb page does not fully load

    I have tried several times to upload a new iWeb page to my iDisk. I get the two pop-up windows; one telling me that the page is loading and the other that it is "complete". When I first visited the "completed" web page, the photos did not appear and the theme background was missing (all white). The last time I tried to upload the page, the photos appear on the web page, but the slideshow stops in the middle.
    I have noticed that the "pie" completion icon next to my iWeb page does not disappear and never fills to gray (there is always some white in the pie).
    Any ideas why this is happening? Or what I can do to correct this problem?

    Anyone surfed/tested their iweb creations on a PC
    with explorer?
    My iweb test page with movies does not fully load or
    scroll on the wife's PC with explorer. Works great in
    Safari on all my macs.
    Hi sharkguy - Good point!
    Stats to Remember when designing websites:
    1. less than 4% of internet surfers use some version of Mac OS
    2. less than 7% of all internet surfers use Firefox as a browser of choice
    3. less than 3% of all internet surfers use Safari as a browser of choice
    4. at least 85% of all internet surfers use some version of Internet Explorer
    5. Netscape, Opera, and Mozilla make up the rest of browsers used
    Best wishes on your project, Rick
    iMac G5 iSight 20" - 30G iPOD - HP Pav 15" WS and Toshiba Sat 17" WS   Mac OS X (10.4.6)   Canon 20D & A620

  • My New Tab Page does not work at all. I just have the empty squares with nothing in them at all?

    My New Tab Page does not work at all. I just have the empty squares with nothing in them at all?
    I know how to use about:config & have had the usual problems with newtab page tiles but this is more like a bug- using 33.0.1. Doesn't show tiles icon in top right corner just shows a gear that is used to hide the empty tiles that I can't fill with sites. First it would only show 2 rows of 4 columns even though I had it set to 5 & 6 then few days later for no reason they went empty with a serrated line around the tiles & can't drag from the bookmarks---- really bloody annoying!!!!!!! Possibly a setting in the about:config but i can't fig it out?

    Reset Firefox to its default state
    If you're having major problems which you can't resolve, start fresh with only your essential information.
    Troubleshooting Information
    This page contains technical information that might be useful when you're trying to solve a problem. If you are looking for answers to common questions about Firefox, check out our support website.
    Application Basics
    Name Firefox
    Version 33.0.1
    Update History
    User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
    Profile Folder
    Enabled Plugins about:plugins
    Build Configuration about:buildconfig
    Memory Use about:memory
    Multiprocess Windows 0/1
    Crash Reports for the Last 3 Days
    Report ID Submitted
    All Crash Reports
    Extensions
    Name Version Enabled ID
    Adblock Plus 2.6.5 true {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
    Adblock Plus Pop-up Addon 0.9.2 true [email protected]
    Skype Click to Call 7.3.16540.9015 true {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
    Trend Micro BEP Firefox Extension 8.0.0.1173 true [email protected]
    Trend Micro NSC Firefox Extension 6.8.0.1120 true {22C7F6C6-8D67-4534-92B5-529A0EC09405}
    Trend Micro Toolbar 7.0.0.1243 true {22181a4d-af90-4ca3-a569-faed9118d6bc}
    Graphics
    Adapter Description Intel(R) HD Graphics
    Adapter Drivers igdumd64 igd10umd64 igdumdx32 igd10umd32
    Adapter RAM Unknown
    Device ID 0x0046
    Direct2D Enabled true
    DirectWrite Enabled true (6.2.9200.16571)
    Driver Date 1-30-2013
    Driver Version 8.15.10.2993
    GPU #2 Active false
    GPU Accelerated Windows 1/1 Direct3D 11 (OMTC)
    Vendor ID 0x8086
    WebGL Renderer Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote true
    AzureCanvasBackend direct2d
    AzureContentBackend direct2d
    AzureFallbackCanvasBackend cairo
    AzureSkiaAccelerated 0
    Important Modified Preferences
    Name Value accessibility.blockautorefresh true
    accessibility.typeaheadfind.flashBar 0
    browser.cache.disk.capacity 358400
    browser.cache.disk.smart_size_cached_value 358400
    browser.cache.disk.smart_size.first_run false
    browser.cache.disk.smart_size.use_old_max false
    browser.cache.frecency_experiment 1
    browser.places.smartBookmarksVersion 7
    browser.sessionstore.upgradeBackup.latestBuildID 20141023194920
    browser.startup.homepage www.google.com
    browser.startup.homepage_override.buildID 20141023194920
    browser.startup.homepage_override.mstone 33.0.1
    browser.tabs.loadInBackground false
    dom.mozApps.used true
    extensions.lastAppVersion 33.0.1
    font.internaluseonly.changed true
    gfx.direct3d.last_used_feature_level_idx 1
    keyword.URL http://www.bing.com/search?FORM=UP97DF&PC=UP97&q=
    media.gmp-gmpopenh264.lastUpdate 1413750166
    media.gmp-gmpopenh264.version 1.1
    media.gmp-manager.lastCheck 1414375733
    network.cookie.prefsMigrated true
    places.database.lastMaintenance 1414404204
    places.history.expiration.transient_current_max_pages 102059
    plugin.disable_full_page_plugin_for_types application/pdf
    plugin.importedState true
    plugin.state.npmedia 0
    plugin.state.nptimegrid 1
    print.printer_Canon_MG2100_series_Printer.print_bgcolor false
    print.printer_Canon_MG2100_series_Printer.print_bgimages false
    print.printer_Canon_MG2100_series_Printer.print_colorspace
    print.printer_Canon_MG2100_series_Printer.print_command
    print.printer_Canon_MG2100_series_Printer.print_downloadfonts false
    print.printer_Canon_MG2100_series_Printer.print_duplex 3997817
    print.printer_Canon_MG2100_series_Printer.print_edge_bottom 0
    print.printer_Canon_MG2100_series_Printer.print_edge_left 0
    print.printer_Canon_MG2100_series_Printer.print_edge_right 0
    print.printer_Canon_MG2100_series_Printer.print_edge_top 0
    print.printer_Canon_MG2100_series_Printer.print_evenpages true
    print.printer_Canon_MG2100_series_Printer.print_footercenter
    print.printer_Canon_MG2100_series_Printer.print_footerleft &PT
    print.printer_Canon_MG2100_series_Printer.print_footerright &D
    print.printer_Canon_MG2100_series_Printer.print_headercenter
    print.printer_Canon_MG2100_series_Printer.print_headerleft &T
    print.printer_Canon_MG2100_series_Printer.print_headerright &U
    print.printer_Canon_MG2100_series_Printer.print_in_color true
    print.printer_Canon_MG2100_series_Printer.print_margin_bottom 0.5
    print.printer_Canon_MG2100_series_Printer.print_margin_left 0.5
    print.printer_Canon_MG2100_series_Printer.print_margin_right 0.5
    print.printer_Canon_MG2100_series_Printer.print_margin_top 0.5
    print.printer_Canon_MG2100_series_Printer.print_oddpages true
    print.printer_Canon_MG2100_series_Printer.print_orientation 0
    print.printer_Canon_MG2100_series_Printer.print_page_delay 50
    print.printer_Canon_MG2100_series_Printer.print_paper_data 1
    print.printer_Canon_MG2100_series_Printer.print_paper_height 11.00
    print.printer_Canon_MG2100_series_Printer.print_paper_name
    print.printer_Canon_MG2100_series_Printer.print_paper_size_type 0
    print.printer_Canon_MG2100_series_Printer.print_paper_size_unit 0
    print.printer_Canon_MG2100_series_Printer.print_paper_width 8.50
    print.printer_Canon_MG2100_series_Printer.print_plex_name
    print.printer_Canon_MG2100_series_Printer.print_resolution 7602290
    print.printer_Canon_MG2100_series_Printer.print_resolution_name
    print.printer_Canon_MG2100_series_Printer.print_reversed false
    print.printer_Canon_MG2100_series_Printer.print_scaling 1.00
    print.printer_Canon_MG2100_series_Printer.print_shrink_to_fit true
    print.printer_Canon_MG2100_series_Printer.print_to_file false
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_bottom 0
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_left 0
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_right 0
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_top 0
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 2
    storage.vacuum.last.index 1
    storage.vacuum.last.places.sqlite 1412311800
    Important Locked Preferences
    Name Value
    JavaScript
    Incremental GC true
    Accessibility
    Activated false
    Prevent Accessibility 0
    Library Versions
    Expected minimum version Version in use
    NSPR 4.10.7 4.10.7
    NSS 3.17.1 Basic ECC 3.17.1 Basic ECC
    NSSSMIME 3.17.1 Basic ECC 3.17.1 Basic ECC
    NSSSSL 3.17.1 Basic ECC 3.17.1 Basic ECC
    NSSUTIL 3.17.1 3.17.1
    Experimental Features
    Name ID Description Active End Date Homepage

Maybe you are looking for

  • "Object reference not set to an instance of an object" in WAD

    10:45:09.659 ########## --> com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.SwitchEditable ########## -EXCEPTION-START- 10:45:09.659: DEBUG ### Browser Init failed. 2nd try will be proceeded. --- Exception Message: Object reference not set to a

  • Help in update instruction, please

    hi, i can't make progress in my update instruction and need some help. Oracle makes an ora-00907 message and says that a bracket is missing but in this case it doesn't make sense. update DM_MESSDATEN set DM_MESSDATEN.FAUNA_ID=1 where MISSION_ID in (s

  • Lock Object Doubt

    Hi I have created 10 Shadow tables and will run the job which updates the data to main data base tables. So i am creating Lock Objctects for the tables. Out of 10 tables 8 tables have common key which Business Partner (Primary Key). DO i need to crea

  • Apps for only iPhone 4?

    I have an iPhone 3G. I've noticed a few times when trying to download apps that I will get an error stating, "Application Not Compatible: This application requires the iPhone 4.0 Software Update". Is this something I can download and add to my 3G, or

  • Oracle Spatial Training Documentation

    I have to give some Oracle Spatial formation and i need some material to build this course. Where could i find this kind of document? ....thanks for your help