Using Non-Oracle Implementations of JAAS in JDeveloper TP2

Hi,
We have developed an application using JDeveloper TP2. We need to secure the web application using JAAS. However, we are not using ADF as we met into some browser incompatibility problems and as such the project's Technology Scope are as follows:
HTML
JSP
JSP and Servlets
JAVA
XML
We are using a Native Datasource for handling database connections.
We would like to know how we can implement a CustomLoginModule without using oracle (ADF) implementation of JAAS and preferably without using the ADF Security Wizard as it does not work within our application ( i suppose this is because we are not using ADF)
Cheers,
Jankee Yogesh

Duplicate of Re: Using Non-Oracle Implementations of JAAS in JDeveloper TP2

Similar Messages

  • Using NON Oracle as Source

    Hi all,
    I need to implement an ETL with OWB 10.1.0.4.0 where the source DB is Sybase and the target DB is Oracle.
    Please help me to implement this module can I get any document or link, which helps me in achieving this?
    Please help me ASAP Many thanks in advance,
    Anurag S.

    Please help me ASAP Many thanks in advance,
    Edited by: user11695742 on Jul 15, 2009 4:22 AM

  • GLOBAL VARIABLES FOR NON-ORACLE DATABASE

    What is the alternative of global variables in Form 5.0 when using non-oracle databases. I know one way is passing parameters, is there any other way? I have few variables which need to be global in my application.
    Thank you
    null

    There is no other way.. you have to use either Global variables or parameter lists to pass values from one form to another form.. With in the form you can always use null canvas item to store and pass values in different program units or triggers..
    have a nice day
    Suresh

  • Global user in non-oracle database

    What is the alternative of global variables in Form 5.0 when using non-oracle databases. I know one way is passing parameters, is there any other way? I have few variables which need to be global in my application.
    Thank you
    null

    There is no other way.. you have to use either Global variables or parameter lists to pass values from one form to another form.. With in the form you can always use null canvas item to store and pass values in different program units or triggers..
    have a nice day
    Suresh

  • Can Jdeveloper Be Used For Non-Oracle Databases

    I have been trying to evaluate Jdeveloper 9i and Jbuilder 7 Enterprise for Swing database development. I am particularly interested in the productivity enhancements such as BC4J and Jclient. The underlying database might be Oracle, SapDb (excellent, easy to use, and free), SQLServer, etc.
    I evaluated Jbuilder Enterprise tools and it worked flawlessly with SapDb. This emphasized using their DataExpress and DbSwing components which provide many useful capabilities similar to BC4j and Jclient. It also involved using their DBPilot tool which allows browsing similar to that provided via a Jdeveloper connection.
    I tried to use Jdeveloper for the same SapDB and it is essentially non-functional. I followed the instructions for using a non-default driver and tried to define a connection. It behaved inconsistently: often saying no suitable driver can be found and yet when you edit the connection and test without making any changes, it works. If you try to establish a BC4J definition, it is very inconsistent and fails to recognize important details as foreign keys. Even if you define a ViewLink manually, it still does not work properly if you attempt to define a Master-Detail Jclient form. As I have stated, all these types of capabilities worked flawlessly in their Jbuilder equivalent. Furthermore, I really like the fact that Jbuilder gives many of BC4Js benefits without needing a BC4J J2EE container.
    Has anyone had real success using Jdeveloper's advanced features to develop for non-Oracle databases and if so, how did you get around these types of problems?

    Hi,
    generally, SCAN can be used for 10g databases and you discovered the first half: for 10g databases you will have to modify the REMOTE_LISTENER entry for each 10g database instance to point to the SCAN listeners (as opposed to pointing to the remote local listeners, which is the default in 10g). You could even have the databases registers themselves with SCAN and the remote listeners, if you wanted to... It's more or less a matter of configuration. But for simplification reasons, I will stick to the case where you have your 10g databases register with the SCAN listeners only.
    Now the other half is the client and the client configuration. An 11g Rel. 2 client configured for RAC would have a TNSNAMES entry that has only one address line for the RAC databases. The host entry in this one address line should point to the SCAN (the SCAN name is ideally resolved in DNS). A 10g client configured for RAC would have as many address lines in the TNSNAMES as you have nodes in the cluster.
    The 10g client SCAN configuration would then be in the middle so to speak: You would have 3 address lines in your TNSNAMES, in which each host entry would resolve to one SCAN address (I assume you will use the recommended default of 3 SCAN IPs). If you choose, you can have a name resolution for each of your SCAN IPs, but this would not be required. Now, why would you do it this way? Because this configuration will always work and does not make you dependent on certain functionality that your DNS server may or may not offer.
    For the remaining questions: SCAN is a DNS entry resolving one name to more than one (typically 3) IP addresses. OID is short for Oracle Internet Directory, which is a complete LDAP server. And you are right that there is no document how to configure 10g clients for SCAN from Oracle yet. However, there is a quite good document on SCAN on otn.oracle.com/rac, but I am sure you are aware of it already.
    Hope that helps. Thanks,
    Markus

  • Jdeveloper Team RE Jdeveloper 9.0.3 For Non-Oracle Databases

    I see that support for non-Oracle databases and Third-Party JDBC drivers is very improved. However, I have tried to use the SAPDb JDBC driver and the BC4J tester and generated Swing clients all display greyed so that no updates are possible. This appears to be a bug since Jbuilder works fine with this driver. However, I think Jbuilder's Express dataset and commit philosophy is really bad. Any commitments as to when this will be fixed?

    Yes, I examined the attribute settings and manually adjusted them in the entities and views. They are now updateable. Using Jdeveloper with SAPDB would be very tedious. Jdeveloper did not recognize foreign key constrains, primary keys, nor that attributes were updateable.
    Is there a way to include SAPDB in the testing? It is trivial to install and run and would make Jdeveloper a more robust tool. I do not like Jbuilder's approach to master-detail client screens and would recommend using Jdeveloper for this type of work if it could handle more databases like SapDb.

  • Use SSO with non-Oracle COTS?

    Can non-Oracle COTS software such as Maximo and Documentum be setup as partner applications in the SSO server? What about IIS applications?

    Hi Nilesh,
    Yes it is definitely possible to use other IDEs for BIBeans development but use of JDeveloper makes it really easy as it has got lot of BI Beans wizards. In other IDEs though it is possible, it will be very tedious to create reports and graphs etc and do over all development.
    As far as deployment on other appserver goes, I have deployed BIBeans applications (Servlet) on atleast 3 containers (Tomcat, OC4J and weblogic). Since BIBeans builds a standard java servlet application, it should be possible to deploy on any servlet container.
    Hope it helps.
    Shantanu

  • Use BIBeans with non-Oracle development / appserver products?

    Hi,
    Is it possible to BIBeans with non-Oracle development tools (netbeans/forte etc.) and appserver products?
    Where can I find more info?
    TIA..

    Hi Nilesh,
    Yes it is definitely possible to use other IDEs for BIBeans development but use of JDeveloper makes it really easy as it has got lot of BI Beans wizards. In other IDEs though it is possible, it will be very tedious to create reports and graphs etc and do over all development.
    As far as deployment on other appserver goes, I have deployed BIBeans applications (Servlet) on atleast 3 containers (Tomcat, OC4J and weblogic). Since BIBeans builds a standard java servlet application, it should be possible to deploy on any servlet container.
    Hope it helps.
    Shantanu

  • Linux non-oracle user cannot connect to database using TNS

    LS,
    I've installed Oracle 11gR2 on a linux box (name="ilmserver") running CentOS 5.4 (based on RHEL).
    Created user "oracle" and groups "oinstall" and "dba".
    Installation under user "oracle" went fine, and logged in as "oracle" user I can - naturally - access the database easily (via SQL+, or using SQL Developer it works via Basic, TNS, and Advanced (=jdbc)).
    I have a second user on the linux box called "informatica", on which I have installed Informatica ILM 5.3.2, which uses the Oracle database as its repository.
    The "informatica" user has been granted the same groups as the "oracle" user, i.e. "oinstall" and "dba".
    I have severe problems accessing the Oracle database as the "informatica" user.
    Using SQL Developer I can access the database using the "Basic" method, but not TNS.
    But guess what: for ILM to work to its fullest extent I need to implement an environment variable called TNS_ADMIN.
    I have implemented it, it sits in bash_profile and as such works fine:
    +[informatica@ilmserver ~]$ echo $TNS_ADMIN+
    +/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin+
    But as for being able to access it:
    +[informatica@ilmserver ~]$ cat $TNS_ADMIN/tnsnames.ora+
    cat: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora: Permission denied
    Somehow I thought that granting "oinstall" group to "informatica" user would take care of this. Obviously it doesn't. I also granted "dba" group to "informatica", to no avail apparently.
    This is then - I assume - also the reason that when I want to connect using TNS from within SQL Developer, the dropdown list is empty (because it's not able to read TNSNAMES.ORA).
    Does anyone know how to resolve this issue?
    Thanks heaps!
    Cheers, Patrick

    Just ran all+ commands for oracle user:
    *[oracle@ilmserver ~]$ id*
    uid=502(oracle) gid=504(oinstall) groups=503(dba),504(oinstall),505(asmdba),506(asmadmin) context=user_u:system_r:unconfined_t
    *[oracle@ilmserver ~]$ env | sort*
    COLORTERM=gnome-terminal
    CVS_RSH=ssh
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-m8BEsoxTeM,guid=7c9a73a7390af7742e606e004e571934
    DESKTOP_SESSION=default
    DESKTOP_STARTUP_ID=
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDMSESSION=default
    GDM_XSERVER_LOCATION=local
    GNOME_DESKTOP_SESSION_ID=Default
    GNOME_KEYRING_SOCKET=/tmp/keyring-TQlAPU/socket
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=ilmserver
    INPUTRC=/etc/inputrc
    JAVA_HOME=/usr/java/jdk1.7.0
    LANG=en_US.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/home/oracle/app/oracle
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
    ORACLE_HOSTNAME=ilmserver
    ORACLE_SID=orcl
    PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/usr/java/jdk1.7.0/bin:/usr/sbin:/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
    PWD=/home/oracle
    SESSION_MANAGER=local/ilmserver:/tmp/.ICE-unix/14477
    SHELL=/bin/bash
    SHLVL=2
    SSH_AGENT_PID=14513
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-INwup14477/agent.14477
    TERM=xterm
    TNS_ADMIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin
    USERNAME=oracle
    USER=oracle
    _=/usr/bin/env
    WINDOWID=24117329
    XAUTHORITY=/tmp/.gdm9ITN0V
    XMODIFIERS=@im=none
    *[oracle@ilmserver ~]$ ls -l /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora*
    -rw-r----- 1 oracle oinstall 879 Aug 24 21:39 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/*
    drwxr-xr-x 3 oracle oinstall 4096 Aug 24 21:39 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/dbhome_1/*
    drwxr-xr-x 74 oracle oinstall 4096 Aug 23 19:00 /home/oracle/app/oracle/product/11.2.0/dbhome_1/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/*
    drwxr-xr-x 3 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/oracle/product/11.2.0/
    [*oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/*
    drwxr-xr-x 3 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/oracle/product/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/*
    drwxr-xr-x 10 oracle oinstall 4096 Aug 24 17:29 /home/oracle/app/oracle/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/*
    drwxr-xr-x 4 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/*
    drwx------ 22 oracle oinstall 4096 Aug 25 20:55 /home/oracle/
    Naturally the "oracle" user has full access to its own directories.
    A thought just occurred to me. I assume that theoretically it's possible to grant read privilige to informatica user on all these directories... would that do the trick?
    But even if so, makes me wonder whether that is "best practice".
    Also, I cannot imagine I'm the first person to encounter this scenario, and therefore there must be some standard approach to enable this.
    Any suggestions/thoughts?
    As for the TNSNAMES.ORA suggestion, I guess that is possible. Makes administration of TNSNAMES a bit more cumbersome though, as in, 2 files to maintain... risk of getting out of sync when making 'quick and dirty' changes without thinking things through too much (which shouldn't happen... but sometimes does anyway).
    I'd prefer a solution where "informatica" has genuine access to TNSNAMES.ORA.
    Thanks, Patrick
    ps the bold bits with env.var LS_COLORS are unintentional, but don't know how to turn that off

  • Can Apex 4.1.1 see non-Oracle tables across dblinks using gateway?

    OS: Windows7 64-bit
    APEX: APEX 4.1.1
    OracleXE: 11gR2
    Oracle ODBC Gateway: 11gR2
    Remote DB: Sybase Anywhere 10
    =====================
    When trying to develop an application (e.g. interactive report), APEX does not see tables from remote database even after public synoym is created in local OracleXE schema that current workspace points to?
    I can with no issues -- via APEX SQL Workshop -- run SQL that accesses the remote database tables through the dblink.
    Any suggestions?

    user601798 wrote:
    When trying to develop an application (e.g. interactive report), APEX does not see tables from remote database even after public synoym is created in local OracleXE schema that current workspace points to?
    I can with no issues -- via APEX SQL Workshop -- run SQL that accesses the remote database tables through the dblink.
    Any suggestions?Create a view on top of the synonym.
    Apex can work with the views. It does not work well with synonyms. But keep the synonym, since that makes your view indepentent of the name of the DB link.
    So the typical recommened structure would be:
    <pre>
    remote database table
    -> access via db link
    -> synonym on remote table
    -> View on Synonym
    -> Apex uses View (Wizards etc.)
    </pre>
    If using a non oracle DB you might come across problem with certain concepts like ROWIDs. Obviously cyou can't build a form depending on a rowid, when working with a non oracle database. It should work with a normal primary/unique key however.
    Edited by: Sven W. on Aug 15, 2012 12:46 PM

  • How to use a non-Oracle database?

    Oracle Lite is used as the database per default. Technical
    notes describe how to use Oracle 9i. I'm more interested in using more light-weight RDBMSes like HSQLDB for example. It is been said that Oracle BPEL supports Oracle, Oracle Lite, DB2, SQL Server and Pointbase. Now how to configure Oracle BPEL to use each of the non-Oracle datbases listed above?

    I've managed to setup the PM to use Pointbase rather than the default Oracle Lite. Along the way, several questions came up:
    1. Since the directory system\database\scripts already provides DDL scripts for Pointbase, creating the tables of a Pointbase database was easy. However, I wonder why you don't support HSQL. After all, OC4J supports HSQL data sources (see database-schemas\hypersonic.xml). Are there any features required by Oracle BPEL that are not provided by HSQL? If not, can we just use the Pointbase DDL scripts for HSQL?
    2. Editing the data-sources.xml file also wasn't a big deal although templates for Pointbase were missing. BTW, my XML editor reports the data-sources.xml file to be invalid: "Document cannot be stand-alone because default-value attribute 'connection-retry-interval' is not explicitly assigned.
    3. The changes in StartOraBPEL.bat were:
    - Comment out running kill_olite.bat and start_olite.bat
    - Start the Pointbase server (rather than Oracle Lite)
    4. The needed changes in obsetenv.bat were not that obvious: It was required to add the Pointbase libs to the BOOT_LIB classpath. Otherwise the Pointbase driver cannot be loaded. To be on the safe side, I've also added the Pointbase libs to the MY_CLASSPATH classpath but I'm not sure if that is really required. Is it?
    5. Finally, it would be good if shutting down the Pointbase server could be done in a similar fashion as that is configured for Oracle Lite. Apparently, some sort of hooking is used. Now how to setup a shutdown hook for a Pointbase server?

  • Do we need to buy license to use Toplink in non Oracle application server?

    Hi,
    Can Oracle Toplink be used freely without any license required when deploy in non-Oracle internet application server?
    Please advise.
    Thank you.

    From the TopLink FAQ: http://www.oracle.com/technology/products/ias/toplink/technical/tl10g_faq.htm#WhatDoesTopLinkCost
    "Under the OTN license, TopLink is free to download for evaluation and use during development. A production license is included with all editions of OracleAS or can be licensed separately for $5K per CPU."
    Your situation would require a separate license.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 305500 non-Oracle exception when I use forms 6i to open a excel

    Hi
    I get a 305500 non-Oracle exception when I use forms 6i to open a excel file. Does anyone know what the problem is? Any solution/workaround for this?
    Thanks

    Hi, this problem mainly happens if you try to close an excel sheet which you have not open or you are trying to open an excel sheet twice with the same name.

  • Replicaition environment from non-Oracle to Oracle using Streams

    Hi guys,
    I'm finding my way to establish a replication environment from any non-Oracle db to Oracle using Streams.
    I've checked Oracle's documentation about this function. The answer is I have to write a custom application which will capture changes in Heterogeneous db and access pl/sql to format this changes to LCRs and enqueue these LCRs into Oracle Streams.
    theoretically, we all can understand this idea, but I don't know if there's any more detailed comments on this.
    Anyone have such experiences, pls give your introduction hereby, and we can make an example like replicate from Sqlserver to Oracle using Streams, or even any other techniques.
    Assuming we have establish the HS connectivity using Transparent gateway.
    Followups are welcomed.

    Hi Yukun,
    I'm developing right now an environment that will replicate changes from an Adabas (mainframe) database to Oracle. The greatest challenge is to pass your (sqlserver or other database) data to the Oracle db. When done you must have (like it is said in documentation) a manual process that will convert your data in LCRs then enqueue them. From there, it is a normal streams environment. I can (try to) answer more detailed questions if you need it. I don't have any experience with sqlserver database.
    Claudine

  • Can you use SQL Developer against non Oracle data bases?

    If so, then how do you define the connection for non Oracle data bases?

    Look, SQL Developer has got to be a 'gateway' into Oracle DBs from other databases. JDBC allows simple introspection and execution of SQL commands. So the 'explain' button won't be available, or some of the DDL stuff, big deal! Let them get a taste of what they are missing by not having an Oracle database.
    If we can get non-Oracle developers (especially MS SQL Server) to use SQL Developer it will expose them to the superiority of the Oracle DB server.
    If they have heterogenous services installed they are already an Oracle customer -- we have little additional DB server sale opportunity there. SQL Developer is a really sweet tool and it could be a real draw into the DB server sales.
    SQL Developer must be easily usable by non-Oracle customers in order to help us sell the DB server to them!

Maybe you are looking for

  • Why do I get a dark screen in Windows 7 after Boot Camp?

    Hello fellows! What is wrong? About this week I have tried to install Windows – Windows 7 Ultimate 32-bit – on my MacBook Pro(Early 2011-model). Everything works perfectly, except one thing! The screen. Before I am installing the drivers from Windows

  • Apple TV (1st Gen) not fully syncing with iTunes 10.4

    Today i discovered that after syncing my Apple TV with iTunes 10.4 after a few weeks nearly all music and movie files have vanished from ATV. ATV has the actual firmware and was working fine till last iTunes update. Syncing shows up about 60 music fi

  • Acrobat X Pro and Error 1606

    I am not able to install an update for Acrobat X Pro due to the Error 1606 problem.  I have tried the Fix-It Wizard on the Microsoft webpage that's been recommended, to no effect. I was able to install the update on a Win7 computer, but I can't insta

  • SMTP  - mail service

    Hi, i configured the SMTP for mail service. I can able to send mail to our domain   ( for ex: abc.com )  - default domain i gave SMTP Connection as  :  mail.abc.com  the above scenario --- will work for me if i send mail to our default domain. but i

  • Cannot find Mountain Lion on the Mac App Store.

    I've called the Apple Store.  All I can get without paying $19.99 to talk to a real person is the automated system.  Through that, I am told that Mountain Lion is available "exclusively at the Mac App Store."  I can't find it anywhere!  I've tried se