BUG? Login Module: How many times is login supposed to be called?

Hi all -
I have what I think is a wierd occurrence going on. I have a custom login module configured for the embedded JDev 10.1.3. The login method of my LoginModule does some System.out.println stuff. What is happening is that it is being called every time a page is requested. Is that the correct behavior? Would this still happen if I used a login form instead of BASIC authentication?
My web.xml looks like this:
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>ALL Components</web-resource-name>
      <url-pattern>*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>corporateuser</role-name>
      <role-name>fielduser</role-name>
    </auth-constraint>
  </security-constraint>
  <security-role>
    <description>Corporate user</description>
    <role-name>corporateuser</role-name>
  </security-role>
  <security-role>
    <description>Field user</description>
    <role-name>fielduser</role-name>
  </security-role>Regards,
John

John,
the problem doesn't sound like a JDeveloper, ADF or ADF BC issue but OC4J. Configuring a custom LoginModule and use it for J2EE authentication is supposed to work as follows:
1. The container recognizes a protected web page that requires authentication
2. The container checks if the user is authenticated. If not, the configured authentication routine is initiated
3. If custom LoginModules are used, then the container calls the custom LoginModules and the LoginModule, after successful authentication, adds the J2EE role principles to the authenticated Subject
4.Starting from here the Container keeps the Subject and thus the authorization information stored in here.
5. Any subsequent request will be check against the authenticated session.
I would expect a re-authentication to happen if the session gets lost (invalidated). There should be no difference in using BASIC or FORM based authentication, except that BASIC authentication requires you to explicitly mention a protection domain (realm).
Speaking for OC4J 10.1.2 I never saw re-authentication occuring, but I haven't tested OC4j 10.1.3 yet - so I cannot tell if there is a bug in OC4J 10.1.3 or not (which I don't hope to be the case).
My plan is to work on a new JAAS example over the next couple of weeks, so chances are that I can verify or not. I'll point someone from the OC4J dev team to this thread in case its a known issue.
Frank

Similar Messages

  • How many times was a specific function module triggered?

    Hi,
    is there a transaction in SAP where i can get some information about function modules "how many times is a function module triggered".
    regards

    Only this are available in ECC 6.0
    RSSTAT1 
    RSSTAT15
    RSSTAT26
    RSSTAT30
    RSSTAT40
    RSSTAT50
    RSSTAT60
    RSSTAT61
    RSSTAT62
    RSSTAT70
    RSSTAT700
    RSSTAT82
    RSSTAT83
    RSSTAT84
    RSSTAT87
    RSSTAT88
    RSSTAT90
    RSSTAT92
    RSSTAT93
    RSSTAT98
    RSSTAT99
    RSSTATAL
    RSSTATAP
    RSSTATAS

  • How many times does the VideoEvent.READY event get fired?

    Hello,
    I have 2 videos I am loading via VideoPlayer.load(url). I
    have setup eventlisteners(VideoEvent.READY, onVideoLoaded) for each
    video so when the videos are loaded my function is called. How many
    times should my function onVideoLoaded be called? I assume once for
    each video. This is not the case because my function is called
    multiple times for the first video and not called at all for the
    second video. Can someone to me why? Is this a bug with AS3? Any
    help would be appreciated.
    Regards,
    Nilang

    Hi,
    The no of times to be retired on failure of message is default 3 times.
    You can set this in Visual Administrator->Server->Services----> SAP XI Adapter
    Thanks
    Swarup
    Edited by: Swarup Sawant on May 30, 2008 7:19 PM

  • Parallel How many times user can login to the SAP system through ITS

    Hello all
    We are using the ITS ---620 and following 46D R/3 system 
    R/3 system details:
    Kernal :
    kernel release :46D
    O/S :SunOS 5.8 Generic_108528-05 sun4us
    We would like to now, At a time How many times user can login to the SAP system through ITS
    Kindly letus know  if any one have idea about parameter which can restrict the end users to u201CNu201D times/ sessions.
    Transaction SITSPMON/SMICM are not working in R/3 system as it is 46D.
    We found that parameter u201Clogin/disable_multi_gui_loginu201D works with SAPgui logons.
    System logons using the Internet Transaction Server (ITS) or Remote Function Call (RFC) are not affected by this Parameter u201Clogin/disable_multi_gui_loginu201D
    I need similar parameter u201Clogin/disable_multi_gui_loginu201D for the ITS users.
    Thanks

    I have searched all docs and notes.
    Everytime the answer is PArameter for multi_gui_logonis not applicable for SAP Gui for HTML ( Browser )
    The functionality does not exist for SAP Gui for HTML.
    Regards,

  • How many times a perticular Login-id is Logged in and Logged out  ?

    Hi SAP-Experts .
    May u plz tell me Is there any way to fine out How many times a perticular Login-id is Logged in and Logged out in a perticular day .
    can we able to find out a Log about a login-id for a week
    (every day log for a whole week) .
    Best Regards : rajneesh

    Dear satosh .
    It is giving me the last login date and time Only !
    I was asking how many times a person Login and logged out in day or same for week time .
    Regards : rajneesh

  • To find Function Module is used for How many times

    Hi Gurus.
    How to find a Function module is used for how many times since it is created.. we went through the Tcode STAT , ST03, STAD, STATTRACE but in ST03 we can find it for Program but we could not find it for Function module , So can any one please suggest us . we are using ECC 6.0 version.
    Thanks and Regards,
    Chaitanya.

    Hi Chaithu,
    Go to SE37,enter your function module, click on where used list button on the application bar.
    All the program used your function module used is displayed.
    Regards,
    Venkat.

  • No matter how many times I reet my password, it will not work when trying to sign intothe App Store through my iPhone4S.

    No matter how many times I reset my password, it will not work when trying to sign intothe App Store through my iPhone4S.

    What is the error that you are seeing? Try to login using another App like GameCenter or iMessage? Also try logging in to other Apps like Facebook to check if it is your Internet connection problem.

  • My mail won't close no matter how many times I try to quit it. It just makes that noise that signifies NOPE, my mail won't close no matter how many times I try to quit it. It just makes that noise that signifies NOPE

    hey guys I think a trojan was somehow let loose on my computer... And I think it's living in my email because no matter how many times I try to quit Mail, it won't quit. How do I kill this trojan?

    Linc Davis has indicated how to Force Quit out of any application that is frozen.
    For your Mail issue, try the following:
    - Go to Software Update to apply the new update for Mail. Not sure, but there may be bug fixes in the  new version.
    - Go to Disk Utility (In Applications, Utilities) and run a Permissions Repair. Then do a restart of your computer.

  • How Many times the report has run

    Dear All,
    I am trying to find out if there is any standard report which shows me as to how many times the Z or Y repor has been used.
    This is really needed for me decide.
    with regards
    Ranjith Singh

    we created a solution that reads the information from STAT and stores it in a custom table for later retreival. we can then more closely monitor the amount of statistics kept without basis involvement. the function module to read the STAT information is:
      call function 'SAPWL_STATREC_READ_FILE'
           destination servers-rfcdest
           exporting
                read_client                 = sy-mandt
                read_end_date               = pstop
                read_end_time               = pstopt
                read_exclude_username       = 'SAPSYS'
                read_start_date             = pstart
                read_start_time             = pstartt
           tables
                v2_normal_records           = stats
           exceptions
                wrong_parameter_combination = 1
                others                      = 2.
    it takes some time to develop history, but we can now go back over a year to look at run time and execution trends by program, both ours and SAPs.
    HTH

  • How Many Times Can I Use The Same Serial Number For Adobe Creative Suite 4?

    I have design standard and was told I can use the same serial number on multiple computers. How many time can I use it? And say I install it on the maximum number of computers, but get a new computer, can I uninstall it on one of the old computers and use it on the new one? And can I use the programs on both computers simultaneously or do I have to use them one at a time?

    Fred Tech wrote:
    Broadly speaking, it depends on the type of license you have.
    Specifically, if you have a single license then officially, you should only install it once on one computer.
    Practically, (unless it has changed with CS4) you maybe able to install it on more then one computer, BUT can only run one instance of the software at a time. You can not run more then one instance of the software concurrently; i.e. you can't run Dreamweaver on Computer 1 and Photoshop on Computer 2. That would be two instances, and is not permitted.
    This is my understanding. I am happy to be corrected if I am wrong
    Fred
    Sorry Fred you are wrong.
    If you have a single license you can install it on as many computers as you like. you can only activate the suite on two computers at anyone time. Work and Home or as many of us do it Desktop and Laptop. You can not use the computers simultaneously. You only have 20 activation/deactivations so use them wisely. Student versions only have one activation. You can not break up the suite installs the suite is considered one application.

  • How many times can I review my account ?????????

    I have reviewed my account three times with my PayPal info and received confirmation from my PayPal Account but it still won't let me log in. It wants me to review EVERY time. Let me know if anyone can shed some light on this problem.
    This is a REAL PAIN.
    Thanks, Andy

    Lfc89 wrote:
    How many times can I change my country or region on my ipad 2 or iPod touch 5
    Not sure what you are asking... but...
    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311
    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region = Change Country / Region

  • How many times can a team member install Creative Cloud for teams ?

    How many times can a team member install Creative Cloud for teams ?
    Is it possible for one team member to install it for example on a portable mac and a desktop pc at the same time?

    From the Creative Cloud FAQ at https://www.adobe.com/products/creativecloud/faq.html under the Purchasing and getting started section:
    On how many computers can I install the software I download from Creative Cloud?
    You can install the desktop applications available in Creative Cloud on your primary computer and one backup computer, as long as they are not running at the same time. You will have access to both the Mac OS and Windows versions, so if you have a Mac at home and a PC at work, for instance, you can install your applications on both. See the product license agreements page for more information.

  • How many times can I install Logic Pro?

    I need to re-install Logic Pro 8 on my computer but I hear there is a limit to how many times you can do so. Anybody know what the limit is?

    No limit on reinstalling to the same machine, it will work fine.

  • How many times can you transfer itunes to ipod?

    After I accidentally erased my itunes from my ipod i tried to re-transfer them from itunes library. Can I do this more than 1 time or is one time the limit on songs purchased from itunes?

    Songs purchased on the iTunes Music Store can be copied to an unlimited number of computers. However, only five computers at a time can play your purchased music. There is no limit on how many times a song is transferred to your iPod as you do not need to authorise your iPod just the computer that it links to.

  • How many times can you reinstall Mountain Lion?

    Since I bought the Early 2013 15" MacBook Pro retina laptop used only 17 battery cycles on it now (2.7 with 16GB ram running Mt. Lion) computer I have not reset it. I spoke to Apple and it is registered in my name, I made a new Admin. account and password and Apple had me delete the original owners. I took off anything he had left on it. Applecare also I bought in my name. Apple said I didn't have to reset it and would be fine so I left it. They deauthorized the previous iunes account and the previous owner gave me his ID to deauthorize the computer. It was already deauthorized when I checked. He then changed his password for his security. It runs beautifully and has a Samsung screen.
    I deleted the iLife apps and were going to buy them in my name (as his ID came up for updates) but now can't redownload in my name as it says I need Maverick OSon it to do so. I left the Mountain Lion 10.8.5 on it. If I contact Apple will they give me a redemption code for my name or how do I get older versions?
    If I reset to new how many times am I able to reinstall Mountain Lion? If I decide to sell it later will I be able to reset it again with no problem for the new owner?
    Thank you for your help. This forum is a source for many of us new owners to solve things.

    As long as you do the download with your Apple ID, it'll be in your name. Reverting back can be a little involved. If you have that in mind, you should make a full backup of your clean install of ML and save it somewhere. Then you can just copy the image back with Carbon Copy Cloner. External drives are cheap, that's how I'd do it.

Maybe you are looking for

  • Error message on the start up

    I have an old IPOD classic.  It is fully charged and I have reset it.  However, after the apple logo appears, I get the following message www.apple.com/support/ipod.  It then shuts down.  I cannot get it to sync with my computer to update the shoftwa

  • Canon t3i

    EOS Movie Plugin-E1 On Febrary 5th, 2010, Canon Inc. announced the launch of a new, completely free plug-in to be used with Apple's Final Cut Pro (FCP) software. Once this plug-in is installed, it works in tandem with FCP software and can be called-u

  • Business Objects Installation and Required Components

    Dear Friends, What are the latest versions of the following products on SAP Marketplace????? - BusinessObjects Enterprise - Crystal Reports Server - Designer - Desktop intelligence - Query as web service - Query Builder - Universe Builder - Web Intel

  • Officejet 6210 Carriage Drive Belt Replacemen​t

    My Officejet 6210 keeps posting a Carriage Jam alarm.  As the carriage moves freely when the unit is turned off ,  I removed the cover and diagnosed the problem as a worn out drive belt.   Where can I purchase a replacement belt and find instructions

  • Time Capsule DHCP & VoIP Phones

    Hi, We have just received our Time Capsule yesterday. It is responsible for providing an Internet connection with DHCP to all our computers and VoIP phones in the office. Before the time capsule, we have been running a the same setup with an Airport