JAAS requiring re-authentication when returning from external site.

Our Struts web application uses another application for some of its functionality. When the authenticated user clicks on the link, a cookie is set with some user info and the user is redirected to the external site. The user interacts with the external site and then the site redirects the user back to our site (to a previously unvisited, secure action). Unfortunately, the user is being prompted to authenticate again, even though they have already done so. The strange part is that this behaviour only exists the first time a new browser is opened (both IE and Mozilla). Subsequent visits to the site (after properly logging out, and logging back in) do not cause this problem. The other strange part is that when the user returns to the site and is prompted to authenticate, the login module that we are using logs a message that it is checking the user info against the allowed roles, and the user does, in fact, already exist.

Nevermind. This was a stupid mistake on my part. I was accessing the site from localhost but the external site was returning to the actual URL. My bad.

Similar Messages

  • Creating Complaints/Returns from external reference for Billing Documents.

    Hi Experts,
    I have question regarding Creating Complaints/Returns from external reference.
    My requirement is to fetch data for Billing Type, Billing Documents and other related from ECC system and to create Complaints/Returns using the same in Web UI.
    Is there any SPRO configuration as such so that we can pinpoint to the ECC system where it should fetch the data or is there be a custom development involved for the Drop down lists in Web UI?
    I know about the BADI CRM_COPY_BADI_EXTERN which is triggered when creating using reference, but I am not able to see where the method SEARCH_HELP_FOR_EXTERN_DOC or GET_SEARCH_HELP are triggered.
    I have gone through many forums within SDN but not able to find any solution. Please help!
    Regards,
    Mahesh

    Hi Ly,
    I wouldn't be able to share the code with you, but I would ask you to check with the functional counterpart regarding the important fields that are to be copied.
    What I did in my case is, based on the Billing document number passed from CRM in the RFC I hit the tables VBRK and VBRP for header and item data respectively.
    For pricing I passed the relevant fields from KONV table (KSCHL, KWERT, KAWRT etc..)
    For document flow VBFA.
    For partner VBPA.
    I faced issues only with pricing as there were many settings and pricing routine logic differences between CRM and ERP.
    Regards,
    Mahesh

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • Trigger fire when return from called form

    Witch triggers fire when returning from a called form in my master form?

    There is no trigger that fires in such events for calling form.
    It depends on your requirement.You can use WHEN-BUTTON-PRESSED trigger.
    DECLARE
    search_list paramlist;
    where_string varchar2(100);
    BEGIN
         search_list:=get_parameter_list('search_paramlist');
         IF NOT id_null(search_list) then
                   destroy_parameter_list(search_list);
         END IF;
         search_list:=create_parameter_list('search_paramlist');
         add_parameter(search_list,'P_SEARCH_SQL',text_parameter,'');
         call_form('E:\subhas\Oracle Tools\Oracle Form\Subhas_form\SEARCH.fmx',no_hide,no_replace,query_only,search_list);
    END;
    Subhas

  • IMac screen flashes black and white when returning to top sites or screen saver

    iMac screen flash black and white when returning to top sites or before sleep...any ideas why?

    Howdy OatsaMae,
    It sounds like your screen is flashing unexpectedly on you for some reason. I would recommend this section from the following article to help you get that resolved, named:
    Apple computers: Troubleshooting issues with video on internal or external displays
    Reset the system
    You can reset the Mac's parameter RAM and SMC. 
    Reset the resolution
    Start by resetting the Mac's parameter RAM. If the display does not come up, was previously set to an unsupported resolution, and still results in no video:
    Start up in Safe Mode.
    From the Apple () menu, choose System Preferences.
    Choose Displays from the View menu to open the preferences pane.
    Select any resolution and refresh rate that your display supports.
    Restart your computer.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • BAPI exception when executing from external system.

    Hi Experts,
    I using the Function Module BAPI_MATERIAL_GET_ALL to get the Material and Plant attributes by giving Material and Plant data.I am able to get all the required
    attributes when I execute this Funtion Module in SAP but when I try to execute this
    Function Module from external system I am getting all the details except plant details.
    When I give plant data the Function module is throwing the below exception.
    java.lang.Exception: BapiWarning: I:MM:376 0001
       (0001 is the plant value)
    Please help me out over this issue.
    Thanks,
    Kiran.

    Hi ,
    i think u are getting this error
    W MM376 No planning data exists in plant 1000, u will get this message only if u pass the plant values to this FM , bcos its trying to get planning data from this plant.
    Regards
    Prabhu

  • MacBook Pro freezes when returning from sleep

    I recently started using a Kensington Bluetooth mouse with my MacBook Pro and the computer freezes whenever I return the computer from sleep. Nothing happens when I press Command-Option-Esc. The mouse pointer moves on the screen and the dock magnification works, but I'm not able to open any programs.
    I've confirmed that it has something to do with Bluetooth because I now turn off Bluetooth before returning it to sleep and it works fine. I just have to turn on Bluetooth using the trackpad and then I can use the mouse again. I'm thinking that this shouldn't be a requirement though.
    Has anyone else had this problem? Is there anything I can do to resolve?
    I appreciate any assistance!
    Thank you,
    Chris
    Mouse: Kensington PilotMouse Mini Bluetooth
    Bluetooth Version: 3.1965 (3.1965)

    For those of you who are interested, I think I've isolated the issue. If I turn off the option to allow Bluetooth devices to wake the computer from sleep, my computer doesn't freeze when I return from sleep. This is a better option for me than turning off Bluetooth before I put the computer to sleep.
    Let me know if you have any questions.

  • Panic when booting from external firewire drive

    Hi all
    I have just returned from holidays to the following problem:
    While I was away a colleague upgraded a PowerMac G5 from OS X 10.3 to OS X 10.5.1 . He also upgraded an OS X 10.4 installation on an external firewire drive to 10.4.11 while connected to the G5. Now suddenly the 10.4.11 installation on the external firewire drive will not boot when connected to the PowerMac G5 - it kernel panics almost immediately. However it will still boot when connected to a PowerMac G4.
    Has anybody seen or experienced this? Any ideas?
    Thanks in advance.

    My colleague has just decided to format and recreate the OS installation on the external drive.

  • LCD flash when return from sleep

    Hi,
    I start to notice that my display sometimes "flashs" when I "ask" to the computer return from a Sleep.
    It's happens sometimes, not all time. I will start to see exact when it's happen, like If just before it's sleep, or when sleep for more time.
    But anyone has notice the same thing happens??
    It's a little bit annoying because I use my Mac in a "dark" room, with dimmed light, and when return this flash blind me for a few seconds.
    It's really like the flash from de the photo booth, but less strong.

    I had the same problem:
    http://discussions.apple.com/thread.jspa?threadID=555485&tstart=0
    SOLUTION: Disable the screen saver (ie - set it to "never") and it won't do it. You've probably got the screen shutting down prior to the screen saver kicking in anyhow.
    Hope this works - it did on mine.

  • Require password ONLY when waking from sleep

    Hello,
    There is a setting that enables a password both when waking from sleep AND when "waking" from screen saver.
    Is there a way to require a password ONLY when waking from sleep, but NOT when "waking" from screen saver?
    Thanks!

    It would appear that the two are inextricably linked. On the other hand, do you really need the screen saver? With an LCD screen it isn't really doing anything useful - you can't burn in static images nearly as easily as you can with a CRT display - and if you are using a laptop you would do much better to use the Energy Saver prefs pane to sleep the display after a period - this will extend the life of the backlight - and AFAIK no password is involved.

  • Wifi notification keeps popping up when returning from sleep

       Whenever my mac mini (2012) or MBP (2007) returns from sleep I get popups of restoring wfif access. Sometimes these keep returning every minute or so, with 5 notifcations at the same time.
    Does someone else experience this as well? And what is the remedy.
    I do not want to restart every time I wake m macs from sleep. BTW, this was never an issue before an update on 10.7 (previous instance of 10.7) was fine. Also, do not want to migrate to 10.8 yet. as my MBP cannot.
    Current OS X: 10.7.5
    Cheers!

    Ok, I just tried that. I deleted com.apple.KeyboardViewerServer.plist. I then started my screensaver. When I came back in...the Keyboard Viewer was back and there was a new plist file that was created...so, something else must be controlling it.

  • Firefox fails downloads when returning from private browsing

    Hi,
    If I start to download a file when I'm in normal browsing mode, then for some reason switch to Private Browsing whilst the download is still in progress, the download does not show up in Private Browsing mode. I don't have any problem with that.
    However, if I then return from Private Browsing mode, the download will fail. Are there any add-ons, work arounds or works in progress that will either:
    a) Pause and stabilise the download upon switching to Private Browsing, and then resume the download when switching back to normal browsing mode?
    or
    b) Allow the download to continue whilst in Private Browsing mode and then allow you to switch back to normal browsing without the download failing?
    Thanks in advance.
    Matt

    That should work: https://wiki.mozilla.org/Firefox3.1/PrivateBrowsing/FunctionalSpec
    Maybe a problem with an extension (FlashGot) that doesn't support Private Browsing.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Problem with redirect script when calling from external - UCCX

    Hi,
    I have a problem with external calls not being redirected when the call comes from an external that begins with a certain prefix on teh ANI.
    The call path goes PSTN - VGW - UCM SUB - UCCX.
    To give you info this should be redirected to a auto attendant on unity but it just hits the fourth option unsuccessful.
    If i change it to match an internal ANI and test it works.
    What trace and log do i look at to see the call coming in from the UCM and what is happening with it why this is failing when it trys to redirect a call coming from external?
    I have also attached my script.
    Thanks for the help.
    Kev

    Hi Martin Braun,
    Go to GUI status which you set in the PBO of your screen,
    and open "Function Keys" part.
    You should have set function key F4 for a button on your GUI status,
    delete this button and create with another function key again.
    I hope it helps.

  • Noise when booting from external firewire drive

    When booting from a Maxtor drive with OS10.3.9 to the iMac G5 with Tiger the fan makes a lot of noise. Why?
    When I reboot into Tiger the fan is normal.
    Reasons?
    Thanks

    The fans are controlled by code in the OS you boot from. It sounds like the OS you have on your external Maxtor is older then your iMac G5. As a results it may not have the needed fan control code. When that occurs, the Firmware in the iMac, sets the fans to a high speed to ensure your computer will not overheat.
    Tom N.

  • When returning from sleep my preferred network doesn't connect

    After returning from sleep mode my prefered network won't automatically connect. I checked the settings and its set to automatically connect to my network. I have to turn of the wireless and then turn it back on or select my network before it will connect.

    In Networking,  make sure that Wireless is at the top of the list,  if it is not then move it there above Ethernet.  I also uncheck "Ask to join new Networks"
    In Preferred Networks make the one you want the only one,  if more than one set the priority of which one first. Check "Remember Networks this computer has joined"  Most of this is in Advanced.

Maybe you are looking for

  • Solaris on older intel platforms

    Hi, Can you tell me is there any version of solaris that can be installed on 486 or Pentium I platform. Thanks

  • IMac flat panel installation problem

    I have been trying to upgrade from 10.2 to 10.4 but the machine fails to install off of the DVD. Additionally, we have had problems installing anything on this computer. I repaired all permissions and verified the disk. The installation process proce

  • Onetime vendor - address is not copied into the purchase order ME21N

    Dear all, I have a issue about using onetime vendors, if I have entered a dummy address on the onetime vendor, this address is not copied into the prucase order when I create a PO for this vendor type. My problem is that we want to use the ME59 to cr

  • SOAP adapter erro 404 after second call using Web Dispatcher

    Hi XI experts. In a  XI  SOAP sender  interface that works if I use the central port of XI. In the productive use SAP Web Dispatcher. If I use the Web dispatched port, after the first run the application generates the error: HTTP 404 - Not found Your

  • Empty Mail messages

    When I open some emails, the subject, cc, sender are all visible, but the body of the message is missing. If I then press "forward message", in the new window, it used to show the missing message as quoted text. However, now days it is just blank. In