Is this a bug in Jaas ?

Hi
I am not sure if this is a bug or expected behaviour in Jaas.
I have two implemeted two LoginModules.
I called logincontext.login() ( Both the login modules have the control flag as "SUFFICIENT".
The login() method of FirstLoginModule is successful.
However, the commit() method of FirstLoginModule throws LoginException.
Now, only the initialize() and the commit() methods of SecondLoginModule get called and the overall authentiation fails.
Why is this happening ? Why doesn't the login() method of SecondLoginModule get executed ?
Any clue is highly appreciated.
Thanks,
Lavanya

Thanks for your response, looks the following is causing the problem.
If loginModule is Sufficient and login method of this module succeeds,
the control simply returns, without looping through the other loginmodules in the stack for executing login method.
if(!s.equals("abort") && !s.equals("logout") && moduleStack.getControlFlag() == AppConfigurationEntry.LoginModuleControlFlag.SUFFICIENT && loginexception1 == null)
if(debug != null)
debug.println(s + " SUFFICIENT success");
return;

Similar Messages

  • Is this a bug of JAAS/JAZN  in JDev 10.1.3 ?

    Hi All,
    I implement file based security eith JAAS and JDev10.1.3, that works but there are two strange things that I wonder where it is bug :
    1.) When I go to JAZN Data Properties from JDev , I see many 'uncreated' users like : DataBase_User_zbLu50HDPQULTOUZkmbSn3fjEowJ-YHy, DataBase_User_lE4mfb1ETJPcD3sOeYaSfiHw3n0hM8BQ etc, what are these ?
    (they get deployed also when I deploy the app to OC4J)
    2) When I deploy to OC4J stand alone, my real users I created from JDev for testing do not seem to get deployed, only the 'garbage' users that I mentioned above get deployed.
    On the OC4J Server, to make it workm I have to manually copy : jazn-data.xml
    FROM : C:\OC4J\j2ee\home\applications\MyApp\MyAppViewArchive\WEB-INF\classes\META-INF
    TO : C:\OC4J\j2ee\home\application-deployments\MyApp
    Is this also a bug ?
    Thank you for your help,
    xtanto

    Xtanto,
    1) what you call "garbage" users are the database connects you have defined in JDeveloper. You can delete them from jazn-data.xml before deployment. The "garbage" you see is used for password indirection, to make sure the clear password is not added to the jazn-data.xml file
    2) Create jazn-data.xml file in your project. Add the users you like to use. Then create orion-application.xml in the same project, which by default points to the jazn-data.xml file in the project. This then should make OC4J using the jazn-data.xml file of your project instead of generating a new one
    Frank

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • Is this a bug in OWB 11.2 - importing table metadata for character columns

    The Oracle® Warehouse Builder Data Modeling, ETL, and Data Quality Guide provides an overview of the data types supported.
    http://docs.oracle.com/cd/E11882_01/owb.112/e10935/orcl_data_objx.htm
    It says that for VARCHAR2 data type it saws (http://docs.oracle.com/cd/E11882_01/owb.112/e10935/orcl_data_objx.htm#CHDFIADI )
    "Stores variable-length character data. How the data is represented internally depends on the database character set. The VARCHAR2 data type takes a required parameter that specifies a maximum size up to 4,000 characters"
    That means , I guess, it says that when I import a table, any columns of type VARCHAR2(10) in the database should have its length show as characters in OWB, so a column of type Varchar2(10) in the Oracle database, should be shown as Varchar2(10) when imported into OWB table metadata via the OWB import function.
    However, if I have a database that set-up as a single-byte and import a table using the OWB import function a column that has a size of e.g. 10 in the database, is imported as OWB table metadata and the size is 10. Correct, I am happy.
    However, if the database is modified to support multi-byte characters, ALTUF16 encoding with the semantics set to "CHAR", then when I import the same table into OWB, OWB reports the size as 40, I guess its 40 bytes as in 10 characters @ 4 bytes per character.
    Is this a bug in OWB, as the datatype in the Oracle DB is varchar2(10), should OWB after importing a table not also report the column as VARCHAR2(10) ? Currently, is shows the column as varchar2(40).

    I noticed that myself in our project.
    Our varchars2 are defined as VARCHAR2(xxx CHAR) - OWB puts the size*4
    In fact if you have special characters like umlauts (ü,ä,ö,...) it will use 4 bytes per character.
    You can try it yourself. Define a Varchar2(1 CHAR) and manually change the size of the Column in your mapping inside OWB (in filters, joins or your target table).
    Then shoot an umlaut through the mapping and will end up with a "too small" error.
    Dont mind the size*4 issue - we totally ignored it and run without error since 4 years now.

  • Iphone 6 tells me that "Item not available" in my country UK, when i click on the itunes store icon for the app to open the music, movies or tv shows section of the app. is this a bug?

    I am based in the UK and have just got a new iphone 6, everything works well except when i try to turn on the itunes store app -  i can do a search and buy music etc that way, within the app, however, if i go to Music, Movies or the TV shows section within the Store app, i get a message come up saying "Item Not Available" - This item you've requested is not currently available in the UK Store, but it is available in the US store. Tap Change Store to view this item".   I therefore cannot browse the music, movies or tv shows sections at all, nothing shows up except that message.  All my previous itunes purchases have downloaded ok, and i can access them. My apple ID works fine and restrictions on the iphone are turned OFF. The App Store app works normally. Connection etc is all fine and I can access itunes  in the normal way on my ipad and laptop, so this is just an iphone problem. Any ideas? is this a bug? I cant find anyone else with exactly the same problem. By the way, the same message comes up when i click on the red Music icon, on the iphone (situated next to the Safari icon) and then go to the "Store" via that app.  my playlists are in tact, but as soon as i click that Store button, I am told that the Item is unavailable - not that i have chosen any Item lol, I just want to access the store in the normal way. Thank you in advance for any suggestions you can give

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

  • Open Cursor Issue because of file browse Item - Is this a Bug in APEX 3.2

    Hi All,
    I am using file browse Item to upload file into the database at two places in my application, but it seems whenever I am submitting those two pages, with file path or without file path, its opening an cursor which remains open after that, because of this open cursor count in the application is getting exceeding every time.
    For testing this I have made an dummy page containing just file browse item and submit button, and still it is increasing the open cursor count.
    Is this a bug in Apex file browse item or there is some other way to handle this.
    Please kindly help me in the above issue as this is affecting the production application.
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on Dec 5, 2010 9:57 PM
    Edited by: user11204334 on Dec 5, 2010 9:58 PM

    Hi,
    One observation, Apex is switching the Session ID after one got killed ? I was working on Apex page with browse Item to test open cursor count,
    after killing the SID (227) on which the open cursor count was getting increase, it APEX automatically switches to new SID(149) for that session.
    Now the problem is even if I have two SID's and one hits the maximum open cursor count, It is not switching to other SID instead the whole application becomes unavailable.
    STATNAME SID VALUE USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 74 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 227 325 APEX_PUBLIC_USER Killed
    opened cursors current 244 15 APEX_PUBLIC_USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 76 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 244 15 APEX_PUBLIC_USER
    Please kindly help in this.
    Thanks in Advance
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on Dec 8, 2010 1:02 AM

  • Is this a bug with BoEdge3.1?

    Can anyone help me on the issue which my customer is facing for BoEdge3.1
    Concerning  Error Message: You do not have enough Named User Licenses to make this user a named user. You have 55 Named User Licenses. (FWB 00013)
    This is the error message she was receiving when trying to change an
    existing user from Concurrent to Named under the Connection Type on the
    Properties panel.
    The current workaround was to delete the existing Concurrent user, then re-add the same user as Named.
    She have been going through this process of deleting existing users, and then
    re-adding them as Named and it was working okay. Then, it stopped
    working and she started getting the same FWB 00013 error message again.
    She was not able to create any Named users now. Basically, the workaround
    worked for a while - then stopped working.
    She currently has a total of 88 users. 21 of them are named. 67 of them
    are Concurrent. She is licensed for 55 Named.
    Once again, the system thinks she has 55 users marked as Named. But
    there are only 21 marked as Named.
    She did notice that as she was going through all of her existing list of
    users, in alphabetical order, she was opening the Properties tab and
    checking the Named/Concurrent status - as she got to the 55th user in the
    list that is when she started getting the error message again.
    Is this a bug with BoEdge3.1?
    And I got an ADAPT01194692.
    I am not sure that Is the ADAPT related to this issue.
    Please help me its very critical.

    Hi Salena,
    If you are an SAP Employee, request you to post this question at
    https://cw.sdn.sap.com/community/bobjtc
    Cheers,
    Subhodeep

  • JDev 9.0.3, Business comp wizard, is this a bug?

    Howdy,
    Found something that perhaps is a bug, hoping you guys have fixed for the real release.
    1) Create a database connection, but don't fill in username/password. Don't check deploy password.
    2) Create new workspace and project.
    3) create new business component package in the project. On step 2, point Connection name to username/password-less connection. Alert says prompt will ask for credentials. No matter what I put in, with valid username/password entries, a Connect Error pops saying invalid arguments in call. Exception: oracle.jdeveloper.cm.CMException.
    Is this a bug? We're using dynamic credentials in our app with data sources, so username/password is left off.
    Thanks,
    Joe Tseng
    Technical Management Consultant
    TUSC
    [email protected]

    Joe,
    I've filed Bug#2561459 to track this problem.

  • Cannot see my picture stream on iPad with IOS 8.1.3. Pics from iPad are uploaded and visible on picture stream on iPhone 4, IOS 7. Is this a bug?

    I cannot see my picture stream on iPad with IOS 8.1.3. The pictures  from iPad are uploaded and visible on picture stream on iPhone 4, IOS 7. Is this a bug with IOS 8.1.3?

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    iOS: Troubleshooting Messages
      iOS: Troubleshooting FaceTime
    - Sign out and then sign back into Messages and FT. Note you will lose all messages presently on the iPod
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       

  • Emulator on OSX don't support capturing audio, is this a BUG?? SDK 3.0

    Hello all,
    well i'm trying to capture audio with the emulator on OSX. When i test the System Properties for capturing audio i always get FALSE.
    I tried the same application on Windows XP with the SDK 3.0 and it works, i'm getting True and can capture the audio with my microphone.
    Now i want to know if this is only a Bug and could be fixed or is the support for capturing audio on Mac OSX not implemented yet?
    Thanks
    Greetings

    What kind of problem about the display image in signature?
    How do you add the image into the message body when you send the message?
    Does it show correct through Web-based access?
    Outlook 2007 doesn't support some of Style Element, you may reference the link as below:
    http://www.campaignmonitor.com/css/
    Thanks.
    Tony Chen
    TechNet Community Support
    Thanks for your reply,  I know that some Style Elements won't be supported in Outlook, but this is not the reason.
    Please refer to my post previously, I post it but get no response.
    http://social.technet.microsoft.com/Forums/office/en-US/481170b1-f23f-4d46-9914-823326491846/is-this-a-bug-of-outlook-2007-about-images-displaying-in-signature?forum=outlook

  • When I press right click - Open in a new Tab on a bookmark on Firefox 4.0 nothing happens. Is this a bug? Is there a solution?

    When I press right click -> Open in a new Tab on a bookmark on the "Display your bookmarks" icon that is located on the upper right corner of Firefox 4.0 nothing happens. It only works if I press right click -> Open in a new Tab on bookmarks under the menu that is located on the upper left corner. Is this a bug? Is there a solution?

    No its working fine.
    Start Firefox in Safe Mode : How to start in safe mode
    If it doesn't work
    Create new Profile: Profiles

  • Is this a bug of Outlook 2007 about images displaying in signature?

    I've done many tests and researched on website or MS KB. But still got no solution.
    My issue is:
    I make a signature with images linking from website which can be easily accessed.
    I setup this signature in Outlook 2007, when I compose a new mail, and choose the signature I set. It won't show the images with a high percentage rate, meanwhile, I try to get into "Signature"-"Signature...", 
    Outlook2007 gets stuck, then you can not close Outlook or open Internet Explorer unless you kill the process of OUTLOOK.exe.
    1. Test are done under a clean XP system and Office 2007 standard fresh installed. Also there are some other staffs who help me test the signature that report the same issue on Office 2007.
    2. Images are rendered in 96dpi. They are all in very small size stored on website, can be easily accessed without network connctivity problem.
    3. The signature is made by simple HTML language not by Outlook signature setup wizard. but in this case,  you can ignore which method I use to create the signature. The images in signature can be displayed well in Outlook 2003 &
    2010. Also I have tried insert images using "link to file" in Outlook signature setup wizard, got same issue.
    4. Don't suggest me to store the images locally. These images should be updated after a period. You can not ask the company staffs to update these images manually by themselves. and even if the images are stored locally, the images won't be shown
    in Outlook 2007 with a high percentage rate.
    5. I've tried setup signature with or without an account profile, got same issue.
    6. I 've tried without an accout profile, just copy the signature file to Outlook signature folder, unplug the network cable, and "new mail" then load the signature, of course, the images won't be shown because network connection doesn't exist,
    and then when I try to get into "Signature"-"Signature...",  the Outlook interface also gets stuck. So I think Outlook 2007 may have some problem on detecting the network connectivity.
    7. It is not possible to upgrate the version of Office. Since Office 2007 isn't out of date and is powerful enough for us, no one want to pay more money just to avoid this issue.
    I don't know why I cannot upload a screenshot for troubleshooting. If needed. I can send a mail with screenshot attached.
    So far to now, I still get no solution, I think this is a bug of Outlook 2007, because the same signature, there is no problem on Outlook 2003 & 2010. Hope someone of MS staff can see this article and report to technical support center.
    I would appriciate anyone's kindly help but please consider that you understand what I am talking about. I don't want to waste time for each of us.
    thanks in advanced.

    What kind of problem about the display image in signature?
    How do you add the image into the message body when you send the message?
    Does it show correct through Web-based access?
    Outlook 2007 doesn't support some of Style Element, you may reference the link as below:
    http://www.campaignmonitor.com/css/
    Thanks.
    Tony Chen
    TechNet Community Support
    Thanks for your reply,  I know that some Style Elements won't be supported in Outlook, but this is not the reason.
    Please refer to my post previously, I post it but get no response.
    http://social.technet.microsoft.com/Forums/office/en-US/481170b1-f23f-4d46-9914-823326491846/is-this-a-bug-of-outlook-2007-about-images-displaying-in-signature?forum=outlook

  • Is this a bug in JVM?

    Hello all.
    Whenever I try to make JNI calls to Ms Word in multiclient environment on server, the JVM closes with the following message.
    Another exception has been detected while we were handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x19BFC46D
    SIGNAL = -1073741819
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    I am using JRE1.4.0 .
    The heap size of JVM I have set is 256 MB.
    Is this a bug in JVM?
    Please guide me in this problem if possible because it is urgent for me.
    Thanks in advance.

    Hallo,
    if I understand your problem correctly, you are trying to call MS Word on your server from Java code in your server. This is not to be recommended!
    I have seen references to this problem elsewhere in the Sun forums but cannot at the moment find them. There is also something in MSDN. As far as I remember, the story goes like this:
    1. Word is a program for client PCs.
    2. Word expects to have a GUI available for it to display messages and so on.
    3. Although you can control Word over OLE, 1 and 2 above still apply.
    4. If you still want to use Word in your server, then on your own head be it.

  • Is this a bug? come in to see the code please

    I am using Flex Builder 3 code name "Moxie".
    The basic idea is having a linkedbutton on a panel, then if
    you click on the linkedbutton, both the linkedbutton and the panel
    underneath catch the mouse click event. Is this a bug? I am
    expecting only the linkedbutton is able to capture the mouse click
    event. Or is there anything wrong with the codes? Thanks in advance
    for help.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" >
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    public function dpMouseDown(e:MouseEvent):void
    Alert.show("Mouse caught by PANEL");
    public function lkMouseDown(e:MouseEvent):void
    Alert.show("Mouse caught by LINKBUTTON");
    ]]>
    </mx:Script>
    <mx:Panel id="dPanel"
    height="100%" width="100%"
    borderStyle="none"
    backgroundColor="cyan"
    horizontalScrollPolicy = "off"
    verticalScrollPolicy = "off"
    click="dpMouseDown(event)"
    >
    <mx:LinkButton id="linkButton"
    label="HHHHHHHHHHHHHHHHHHHHHHHH"
    width="200" height="200" x="100" y="100"
    click="lkMouseDown(event)"/>
    </mx:Panel>
    </mx:Application>

    no its not a bug its the "bubbling" feature ( use the search
    to get more infos about the event handling)...
    If you replace the code in the function, you can stop the
    bubbling:
    public function lkMouseDown(e:MouseEvent):void
    Alert.show("Mouse caught by LINKBUTTON");
    e.stopImmediatePropagation();
    best regards,
    kcell

  • Is this a bug in mx:ComboBox ?

    Hi All,
    I'm using a mx:ComboBox control in my extension project for InDesign CS5/CS55.5/CS6 using Extension Builder 2.1, Flash Builder 4.6 and Extension Builder 3.4 SDK.
    Problem:
    When I click my ComboBox control(the text part excluding the down arrow part) after switching application to another and then back to InDesign, the list is shown and then closed quickly. Again if I click on ComboBox then the list is displayed properly.
    Is this a BUG in mx:ComboBox ?
    Please suggest any solutions/workaround to fix the issue.
    ComboBoxTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false"
      initialize="initializeHandler(event)">
      <mx:Script>
      <![CDATA[
      import mx.collections.ArrayCollection;
      import mx.events.DropdownEvent;
      import mx.events.FlexEvent;
      import mx.events.ListEvent;
      [Bindable]
      private var cmbBoxItems:ArrayCollection;
      private function onComboBoxClick(event:MouseEvent):void{
      trace('onComboBoxClick() - '+event);
      private function onComboBoxOpen(event:DropdownEvent):void{
      trace('onComboBoxOpen() - '+event);
      private function onComboBoxChange(event:ListEvent):void{
      trace('onComboBoxChange() - '+event);
      private function onComboBoxClose(event:DropdownEvent):void{
      trace('onComboBoxClose() - '+event);
      trace('\n');
      protected function initializeHandler(event:FlexEvent):void
      cmbBoxItems = new ArrayCollection(["One","Two","Three","Four","Five"]);
      ]]>
      </mx:Script>
      <mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center" verticalGap="10">
      <mx:ComboBox  id="testCmbBox" dataProvider="{cmbBoxItems}" click="onComboBoxClick(event)" open="onComboBoxOpen(event)" change="onComboBoxChange(event)" close="onComboBoxClose(event)"/>
      </mx:VBox>
    </mx:Application>

    Now I'm sure that its a BUG in mx:ComboBox(Mac OS X Lion, InDesign CS5.5) as I'm able to reproduce in Adobe's Kuler panel also as follows,
    Open Kuler panel and switch to Browse tab.
    Then switch application(Cmd+Tab) and come back to InDesign.
    Then click on any combo-box(Highest Rated or All Time).
    We see that the combo-box is not opened for the first time.
    Any help/suggestion/workaround is highly appreciated.
    Thanks.

Maybe you are looking for