How to verify that embedded OC4J is loading Custom LoginModule?

I've written a custom login module to authenticate against a custom datastore. I've added a system property
java.security.auth.login.config=C:\javadev\...\jaas.configas recommended by Yvonne here: Re: Custom LoginModule used by BC4J
I still get the following when I load a UIX page out of this module:
msg=JBO-33021: Failed authenticate user nullThere are many debug System.out(...) statements in the code (including in the initialize() function) but none are showing up in the OC4J console. Does anyone know how to verify that the LoginModule is indeed getting loaded? Is it normal for these System.out() statements not to show in the OC4J console?
I get the impression that the LoginModule is not being loaded but I'm not sure if those traces are enough...
Thanks,
/sfl

Thanks much for the prompt reply and debugging tips Steve and Avi!
I used both switches (-DApplicationServerDebug and -verbose:class) and still no sign of the class being loaded; none of the traces (I did trace in the construct, though I failed to mention in my original post) nor do any of the app server or jvm debug messages show any sign of the LoginModule being loaded. So now I'm fairly certain I'm going about the wrong way to get this module loaded. Should I also be posting this to the JDeveloper forum?
My application module configuration is as follows:
jbo.security.config=<blank> (is this right?)
jbo.security.context=oracle.security.jazn
jbo.security.enforce=Must
jbo.security.loginmodule=customModuleThe command line to the JVM contains:
-Djava.security.auth.login.config=C:\javadev\jdev9052\j2ee\home\config\jaas.config[yes Avi, I was unfortunately imposed an M$ env. by the powers that be : ( ]
And, well I've been trying a lot of different things w/ the jaas.config file:
customModule{
myPack.controller.MyLoginModule required;
myApp{
myPack.controller.MyLoginModule required;
myPack.LookupModuleLocal{
myPack.controller.MyLoginModule required;
myPack.LookupModule{
myPack.controller.MyLoginModule required;
Ws-MyProg-webapp{
myPack.controller.MyLoginModule required;
default{
myPack.controller.MyLoginModule required;
current-workspace-app{
myPack.controller.MyLoginModule required;
};Any idea where I'm going wrong? Do I need to do anything else to get this module loaded? At first I thought I needed to modify the jazn-data.xml file but I saw a note in another thread Custom LoginModule used by BC4J which says that it's not necessary to modify it when using a custom LoginModule. Is this right, or should I be modifying that file?
Thanks,
java.lang.Object - jobject ;- )

Similar Messages

  • What is Veritas HA, and How to verify that Veritas HA system is "lights on"

    Hi, Friends:
    I have two questions,
    1.What is Veritas HA?
    2.How to verify that Veritas HA system is "lights on"?
    thank you very much,
    Jerry

    Veritas HA = Veritas High Availability.
    http://www.google.com/search?q=veritas+HA&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  • How to verify that oracle service is up

    How to verify that Oracle server is up?
    how to verify that Oracle db is up (or online??)
    thx

    Hi,
    This Sun ksh command will show the Oracle processes for your instance:
    ps -ef|grep $ORACLE_SID|grep -v grep
    Here the Sun script that I use to check if your database is running:
    check_stat=`ps -ef|grep ${ORACLE_SID}|grep pmon|wc -l`;
    oracle_num=`expr $check_stat`
    if [ $oracle_num -lt 1 ]
    then
    exit 0
    fi
    # Test to see if Oracle is accepting connections
    $ORACLE_HOME/bin/sqlplus -s /<<! > /tmp/check_$ORACLE_SID.ora
    select * from v\$database;
    exit
    # If not, exit and e-mail . . .
    check_stat=`cat /tmp/check_$ORACLE_SID.ora|grep -i error|wc -l`;
    oracle_num=`expr $check_stat`
    if [ $oracle_num -ne 0 ]
    then
    mailx -s "$ORACLE_SID is down!" [email protected]
    exit 16
    fi
    If you are not familiar with UNIX scripting, there are many script collections that you can use:
    http://www.google.com/search?&q=oracle+script+collection
    To learn UNIX scripting, Jon Emmons (Life after Coffee blog) has a book of Oracle Linux/UNIX scripts:
    http://www.rampant-books.com/book_2005_1_linux_commands.htm

  • How to verify that your connected to wifi

    How to verify that your connected to wifi

    3 ways:
    1. The symbol at the top of the iPad on the left hand side. Will tell you if you are connected, and how strong the signal is:
    2. Going into Settings->Wifi will tell you what Wifi network you are connected to at the time if any,
    3. If the network has internet access, you should be able to open a website in Safari.

  • How to verify that the variable "does not contain" a value?

    Hi
    I am using CP 7.0.1.237.
    We want to use Text Area widget for a custom quiz and verify an answer. While we figured out how to verify the existence of certain keywords, we are not able to figure out how to verify that the content should NOT contain certain keywords. For example, we want to ensure that the text entered in this widget should not contain "Transformation" and "Non-compliant".
    Is this possible at all?
    Thanks
    Sreekanth

    Here's what the solution might look like in JavaScript.  This would be for SWF output and aimed at Cp 7.  For Cp 8, this would still work for SWF output, but you'd probably want to take advantage of the new unified JS API that gets and sets Cp variables for both SWF and HTML5 output.  You can read more about that here:  Common JS interface
    //Get the text area value from Captivate (SWF output Only)
    var cpTextAreaValue = document.Captivate.cpEIGetValue('m_VarHandle.v_TextArea);
    //convert the value to lower case to properly compare
    cpTextAreaValue = cpTextAreaValue.toLowerCase();
    //Check if text area value contains the words "transformation" or "non-compliant"
    if(cpTextAreaValue.indexof('organizational') > -1 && cpTextAreaValue.indexof('behavioral ') > -1 && cpTextAreaValue.indexof('managerial') > -1 && cpTextAreaValue.indexof('transformation') < 0 && cpTextAreaValue.indexof('non-compliant') < 0){
      //the text area has the correct answer so increment varScore
      //get the current score from Captivate
      var score = document.Captivate.cpEIGetValue('m_VarHandle.varScore');
      //increment score by 1
      score++;
      //set score in Captivate
      document.Captivate.cpEISetValue('m_VarHandle.varScore', score);
    } else {
      //the text area does not have the correct answer so show message to user inside of Captivate
      document.Captivate.cpEISetValue('m_VarHandle.v_message', 'Answer is not correct');
    This JS has not been tested.  Note that the "does not contain" operator is done using the "indexof" operator in JS. 
    Jim Leichliter

  • How do I make embedded OC4J use IBM Db2 schema mapping

    I am using JDeveloper 903 with a datasource which happens to be of type IBM DB2. Whenever, I try to deploy and test an entity bean from withinn JDeveloper, the embedded OC4J seems to be using a different database schema mapping scheme than what is required by IBM DB2. As a result of this OC4J tries to autocreate tables with wrong syntax and obviously fails. Can somebody tell me how do I get things setup correctly.
    TIA
    Vimal

    Magnus,
    The optimizations related to efficiently supporting overflow-style caching are not included in Coherence 3.5. I created COH-2338 and COH-2339 to track the progress of the related issues.
    There are four different implementations of the PartitionAwareBackingMap for Coherence 3.5:
    * PartitionSplittingBackingMap is the simplest implementation that simply partitions data across a number of backing maps; it is not observable.
    * ObservableSplittingBackingMap is the observable implementation; it extends WrapperObservableMap and delegates to (wraps) a PartitionSplittingBackingMap.
    * ObservableSplittingBackingCache is an extension to the ObservableSplittingBackingMap that knows how to manage ConfigurableCacheMap instances as the underlying per-partition backing maps; in other words, it can spread out and coalesce a configured amount of memory (etc.) across all the actual backing maps.
    * ReadWriteSplittingBackingMap is an extension of the ReadWriteBackingMap that is partition-aware.
    The DefaultConfigurableCacheFactory currently only uses the ObservableSplittingBackingCache and the ReadWriteSplittingBackingMap; COH-2338 relates to the request for improvement to add support for the other two implementations as well. Additionally, optimizations to load balancing (where overflow caching tends to get bogged down by many small I/O operations) will be important; those are tracked by COH-2339.
    Peace,
    Cameron Purdy
    Oracle Coherence

  • How to verify that the SCCM data is importing in Service Manager properly

    Hi,
    we are using SCSM 2012 R2 with SCCM 2012 R2 connector.
    How could I verify that the configuration manager data is importing properly in Service Manager.
    Since many of the systems are not showing installed application in service manager that are showing in Configuration Manager, therefore, I have to verify that SCCM data is importing properly in Service Manager.
    Further, we I check the incidents, affected CIs are missing or blank.
    Please suggest.
    Regards, Syed Fahad Ali

    If you look at the history of the CI it will tell you everything that is being written to it. If some of your systems are not showing their installed software, you may want to check that the ConfigMgr connector is even syncing that particular machine.
    If you look at the CI history and don't see any entries from "System Center Configuration Manager", the machine may not be in the appropriate collection. If you take a look at the configuration of the connector, you will see the collections that
    are synced. In order for a machines information to be populated, it must be in one of the selected collections.  
    Matthew Dowst |
    Blog | Twitter

  • How to verify that my info is backedup?

    I need to reset my phone to factory setting.  How do I verify that all the info on the phone is actually backed up in the iCloud?

    Go to Settings>iCloud>Storage & Backup, scroll to the bottom and see the time/date at the very bottom (under Back Up Now).   Then as a precaution, make a second backup on your computer using iTunes by connecting your phone to your computer, opening iTunes and going to File>Devices>Back Up.  Then go to File>Devices>Transfer Purchased.  Then you'll have a second backup should anything go wrong with one of them.

  • How to verify that a host is having/running Exadata?

    Hi,
    How can I verify that a machine(unix/linux) has Exadata?
    Please help.
    Thanks

    It's the storage that's important. You can run a database on an Exadata DB servers that doesn't access Exadata storage, in which case Smart Scans etc... will be disabled. So you may want to check your asm diskgroups. They have an attribute that tells whether they reside on Exadata storage or not. You can use something like this query to show you that information.
    <pre>
    column exadata_storage for a20
    with b as (select group_number, value from v$asm_attribute where name = 'cell.smart_scan_capable')
    select a.name diskgroup, state, b.value Exadata_storage
    from v$asm_diskgroup a, b
    where a.group_number = b.group_number(+)
    and a.name like nvl('&diskgroup',a.name)
    order by 1
    SYS@SANDBOX> @exadata_diskgroups.sql
    Enter value for diskgroup:
    DISKGROUP STATE EXADATA_STORAGE
    DATA CONNECTED TRUE
    RECO CONNECTED TRUE
    SCRATCH MOUNTED TRUE
    SMITHERS DISMOUNTED
    STAGE MOUNTED TRUE
    SWING MOUNTED TRUE
    SYSTEM MOUNTED TRUE
    7 rows selected.
    </pre>

  • Newbie q: How to verify that encryption is working

    Hello,
    In a sharepoint environment, we have installed a certificate and force encryption=on, according to :
    http://social.technet.microsoft.com/Forums/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working?forum=sqlsecurity 
    How can I verify that the encryption is actually working? I saw wireshark but I don't know to use it.
    Thank you
    Christos

    Basically if you encrypt all of DataBases of SharePoint, you can open one DataBase and use Select statement to verify if your can read the Data.
    Connection encryption is something quite different than database encryption.
    The most ideal way to verify connection encryption is to use a packet sniffer such as Wireshark.  Since that's no something you know how to use and are resistant to learning, I'd run the following on my SQL Server and look for connections which have
    an encrypt_option of false:
    select * from sys.dm_exec_connections
    Connections which are encrypted should have an encrypt_option of TRUE.

  • How to enable Chase Referral? After doing the same how to verify that part?

    Hi,
    Please guide me on enabling chase referral on my Active Directory server. Also after enabling the same how to verify it?
    Setup info:
    Forest1:
    root.com(PDC)
    child.root.com(Child)
    Forest2:
    test.com(PDC)
    ind.test.com(child1)
    us.test.com(child2)
    Both these forests has two way transitive trust enabled. 
    We have product where we can add LDAP settings so that AD users can be mapped to that server. I have added Forest1->PDC to that settings where I am able to retrive the objects during LDAP search. Chase Referral option is available, when I enable the option
    and try to search for a user present in Forest 1-> child domain no object is returned. 
    Is there any thing that needs to be done on AD servers. Please help.

    Hi Arun,
    I suggest you check this blog below to see if it helps:
    Referral Chasing
    http://blogs.technet.com/b/ad/archive/2009/07/06/referral-chasing.aspx
    Best Regards,
    Amy

  • How to verify that trust relationship has been set up successfully at client machine ?

    Hello,
    There is trust set up with domain group.Would you please let me know how can I verify that trust relationship has been set up correctly in such a way that i can see the users of trusted group on client machine ?
    Any idea?
    Note :I do not have access on Domain Controller.
    Thanks and Regards,
    Dipti
    Dipti Chhatrapati

    Hi
    As far as I know, trust certificates that have been exchanged between the SharePoint farm and external systems should be visible by going to  the Central Admin->Security->Manage Trusts page.
    Kind Regards
    Bjoern
    http://www.sharepointviking.com
    Twitter: Follow @bjoern_rapp

  • How to verify that the request has been moved to Quality System

    Hi friends,
    I a new abaper and i need ur help in solving this issue.
    I have developed an object and released( as per the suggestions given already in this forum). Its working well and i can see the request in released status in se09.
    No what i really want is , How can i verify that the request has been moved to Quality System by the basis people, assuming that i have only access to dev system.

    Yes, once u release the request, if it is successfullly released will make the request avaialble under released requests
    As an ABAP'er this is enof
    <b>wht abt me Sravanan :-(</b>
    Regards
    - Gopi
    Message was edited by: Gopi Narendra

  • How to verify that ocr and votingdisk is normal??

    Hi. all.
    I am new to Oracle clusterware.
    How to verfiy that oracle clusterware is running without problems??
    I am reading RAC Administration Guide, but there are so many commands
    about Oracle Clusterware.
    I would like to hear your experience and advice.
    Thanks in advance.
    Best Regards.

    Dear Virag.
    I recreated a database by using DBCA on a 2-node RAC database.
    I got no errors from DBCA when I recreated the database.
    Now, I am just testing whether or not everything is OK.
    The operating system is windows2003.
    The version of clusterware and oracle is 10.2.0.2.0.
    I intentionally rebooted one node by turn.
    After rebooting, 2-node RAC database is up automatically some times,
    but some times, the instance of the rebooted node does not startup
    automatically. "srvctl start instance" does work.
    Is this problem related to the master node of cluster??
    I am home now. I will give you the crsd log tomorrow.
    Best Regards.

  • SQLPLUS: How to verify that java class file have been loaded

    Hi All,
    I just loaded my Java class file using CREATE OR REPLACE JAVA.
    Java was created sucessfuly, but how can I check or find out if my file have been loaded correctly.
    I also found a command :
    SQL>exec myjava.showobjects
    but i don't have the loadjava utility install....is there any command from SQL PLUS?
    thanks

    Thanks for the sql command....after that query what do I do next to see if for example tree.class is in the dba_object.
    Sorry, I am a newbie and the question may be a bit generic .....

Maybe you are looking for

  • Problem with creation of Order template

    Hi Experts, We are facing an issue with ISA 4.0. B2B application. The extension data is not getting updated in CRM 4.0 while creating Order template. The same extension data is getting updated for Order template change process. Also same extension da

  • Email issues since latest update

    Hi All, I did the update last week and ever since I am getting tons of old emails downloaded only on Frontier.com (the old Verizon.net.....) Right now I have 81 emails that downloaded in the last 3 minutes........is anyone else having this issue and

  • No tables displayed on the Data Dictionary Import Wizard

    Hello, I'm using Oracle Database 10g Express Edition and Oracle SQL Developer Data Modeler v3.0.0.665. I'm trying to import a Data Dictionary via the Data Dictionary Import Wizard. I can connect to the database ok and I can select the required schema

  • SAPCCM4X Agent Shutdown

    Hello A few SAPCCM4X agents are shutting down by itself. Analyzing the log of this agents the message below is informed: Mon Aug 23 12:15:16 2010 CCMCTRL: ERROR: csm_show_file: no permission to read /usr/sap/PRD/SYS/profile/PR D_G08_sapprdi CCMCTRL:

  • HTTP Optimization on Non-Standard Port

    I was wondering if anyone else has noticed something similar to what I am seeing. We have a WAAS setup running 4.1.5a. It has been working very smoothly but I've noticed something odd regarding HTTP optimization. All users trying to access the Intern