Oracle 9i JAAS Provider

I want my application users to authenticate using JAAS. Users and groups are defined in OID using DAS. Now, can some one provide or describe what to write in jazn.xml and jaas.config files and what jar files should be included in class path ?
Thank you
Aamir

Hi,
You need to post your question on J2EE forum. Oracle 9iAS JAAS is under J2EE product group.
Thanks,
Yvonne

Similar Messages

  • Connection Pooling in a JAAS Provider

    What is the recommended way of doing resource pooling inside of a JAAS provider?
    I'm trying to use a DataSource inside of my providers (my realm uses an Oracle
    database), but, of course, WebLogic want's to check access for the DataSource
    => infinite loop.
    Has anyone run into this and found a good way around?
    Thanks.
    --Kevin

    If you read the JavaServer Pages specification, you will realize that there is provision for such things.
    The following is an extract from the JavaServer Pages specification 1.1...
    The contract also describes how a JSP author can indicate that some actions must be taken
    when the init() and destroy() methods of the page implementation occur. In JSP 1.1 this is
    done by defining methods with name jspInit() and jspDestroy() in a declaration scripting
    element in the JSP page. Before the first time a request is delivered to a JSP page a jspInit()
    method, if present, will be called to prepare the page. Similarly, a JSP container can reclaim
    the resources used by a JSP page at any time that a request is not being serviced by the JSP
    page by invoking first its jspDestroy() method, if present.
    So, you should dfine a method with the signature public void jspInit() in your JSP and do the one time initialization therein. Also, you do the associated cleanup in a method with the signature public void jspDestroy()

  • Any API for XML-based JAAS Provider management

    Hi, All:
    I am working on creating a realm based on jazn-data.xml, it is a XML-based JAAS provider. the jazn.jar shell seems to provide utilities to manage a realm. I am just wondering if there is any API available for XML-based JAAS Provider management.
    The package com.evermind.security oracle.security.jazn oracle.security.jazn.realm seems to be the proper API. However, accoring to the API doc, it seems that the API can not directly work for jazn-data.xml, any body have sugguestions?
    I'd really appreciate your help.

    Hi,
    you should look towards jGuard (www.jguard.net) which enables easy JAAS integration into j2ee webapps across many applications servers(including OC4J, tomcat, jetty, jonas, jboss ...).
    it adds many features including a taglib, some convenient loginmodules(CRL, OCSP, JNDI), and so on....
    cheers,
    Charles(jGuard team).

  • Oracle OLD DB Provider in

    Hi,
    I have installed IDM 7.1 on windows 2003 server with oracle 10.2 on same server as per installation guide.
    As per initial configuration guide page 5 when I have launched Database connection wizard in Identity Center and don't see "Oracle OLD DB Provider"  I just see Microsoft OLE DB provider for Oracle.  I can't connect with this provider to IDM database.
    I get error: "Test connection failed because of error in initializing provider. Oracle error occurred, but error message could not be retrieved from oracle"
    When installing oracle software, I did select "Oracle Provider for OLE DB" for installation.
    I will appreciate your help.
    Regards,
    Digesh Joshi
    Edited by: digeshjoshi on Jun 8, 2011 11:12 AM
    Edited by: digeshjoshi on Jun 8, 2011 4:37 PM
    I have downloaded Oracle development tools to install Oracle provider for OLD DB 32 bit and then It appeared.  I was looking for full version of oracle client tool to install but didn't find on oracle website.  now it just gives instant client with few dll files.
    Closing this thread.
    Digesh

    I have downloaded Oracle development tools to install Oracle provider for OLD DB 32 bit and then It appeared. I was looking for full version of oracle client tool to install but didn't find on oracle website. now it just gives instant client with few dll files.

  • I red that Oracle Data Integrator provides more than 100 KMs out-of-the-box

    I red that
    Oracle Data Integrator provides more than 100 KMs out-of-the-box.
    Is anybody have any idea how I can reach or view it or use it ?

    I got it its under <Oraclehome>oracledi>impexp

  • Oracle Client OLEDB Provider Installation

    I need to call Oracle OLEDB Provider "setup.exe" once I complete installing our product (using Installshield). I tried all different ways to do this and I have absolutely no luck.
    1. I tried calling LaunchaAppAndWait(SRCDIR^"disk1\\install\\win32\\setup.exe", "", WAIT) in OnFirstUIAfter event before SdFinishEx function and Installshield doesn't wait for Oracle Installer to finish its installation.
    2. I tried to get window handle for each window created during Oracle Installation and waiting, this somewhat makes Installshield to wait but hangs once Oracle completes its installation and sequence of windows displayed can change during Oracle Installation if user clicks on back button which will make Installshield to hang.
    Enable(STATUS);
    SetStatusWindow(count, "Please wait... launching Oracle Universal Installer");
    WindowName = "Welcome";
    FindOracleWindow();
    WindowName = "File Locations";
    FindOracleWindow();
    WindowName = "Available Product Components";
    FindOracleWindow();
    WindowName = "Summary";
    FindOracleWindow();
    WindowName = "Install";
    FindOracleWindow();
    WindowName = "End of Installation ";
    FindOracleWindow();
    hWnd=NULL;
    Disable(HOURGLASS);
    Disable(STATUS);
    3. I followed knowledge base article w[i]Long postings are being truncated to ~1 kB at this time.

    There is an Instant Client page on OTN http://otn.oracle.com/tech/oci/instantclient/instantclient.html as well as an Instant Client forum (Products | Database | Instant Client) where you may want to post any followup questions. I know you can use ODBC with the Instant Client, so you could use the OLE DB to ODBC provider. My hunch is that you cannot use the Oracle OLE DB provider with the Instant Client, but you're probably better off posting that question to the Instant Client forum for a definitive answer. If you can use OLE DB, the Instant Client documentation needs to be updated to mention that.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • OraOLEDB.Oracle versus msdaora provider for adParamInputOutput

    I'm currently using Microsoft OLE DB for Oracle provided with MDAC2.8 to execute stored procedures in an ASP page. My vbscript procedure contains an adParamInputOutput parameter (see code below - prm pio_session_id). Everything works fine. I pass a value to my SP and get a new value in return. The parameter is declared as in out in my oracle stored procedure
    But as soon as I want to use Oracle Provider for OLE DB (9.2.0.4), I get the following error:
    OraOLEDB error '80040e14'
    ORA-06502: PL/SQL: numeric or value error ORA-06512: at line 1.
    When I set the prm direction to adParamOutput, everything goes well !!.
    Any idea why this behaviour ?
    My environment is: Windows server 2003 with IIS6.0 and Oracle 9.2.0.4.
    Code:
    dim objConnection
    dim objCommand
    dim connectstring
    'Microsoft driver
    connectstring = "Provider=msdaora;Persist Security Info=true;User ID=userid;Password=pwd;Data Source=mydatasource"
    'Oracle driver
    connectstring = "Provider=OraOLEDB.Oracle;Persist Security Info=true;User ID=userid;Password=pwd;Data Source=mydatasource"
    set ObjConnection = Server.CreateObject("ADODB.Connection")
    ObjConnection.ConnectionString = connectstring
    ObjConnection.CursorLocation = adUseClient
    ObjConnection.ConnectionTimeout = 30
    ObjConnection.Errors.Clear
    ObjConnection.Open     
    Set objCommand = Server.CreateObject("ADODB.Command")
    objCommand.ActiveConnection = objConnection
    objCommand.CommandType = adCmdStoredProc
    objCommand.CommandText = "outage$reporting.processReporting"
    objCommand.Parameters.Append objCommand.CreateParameter ("RETURN_VALUE", adInteger, adParamReturnValue)
    objCommand.Parameters.Append objCommand.CreateParameter ("@user", adVarChar, adParamInput, 6, p_user)
    objCommand.Parameters.Append objCommand.CreateParameter ("@report_type", adInteger, adParamInput, , p_report_type)
    objCommand.Parameters.Append objCommand.CreateParameter ("@week_start", adVarChar, adParamInput, 10, p_week_start)
    objCommand.Parameters.Append objCommand.CreateParameter ("@week_end", adVarChar, adParamInput, 10, p_week_end)
    objCommand.Parameters.Append objCommand.CreateParameter ("@lvl", adInteger, adParamInput, , p_lvl)
    objCommand.Parameters.Append objCommand.CreateParameter ("@loc", adInteger, adParamInput, , p_loc)
    objCommand.Parameters.Append objCommand.CreateParameter ("@agree_type", adInteger, adParamInput, , p_agree_type)
    objCommand.Parameters.Append objCommand.CreateParameter ("@edit_seq", adInteger, adParamInput, , p_edit_seq)
    objCommand.Parameters.Append objCommand.CreateParameter ("@session_id", adInteger, adParamInputOutput, , pio_session_id)
    objCommand.Parameters.Append objCommand.CreateParameter ("@reviewed_data", adInteger, adParamOutput, , po_reviewed_data)
    objCommand.Parameters.Append objCommand.CreateParameter ("@err_msg", adVarChar, adParamOutput, 4000)
    objCommand.Execute, , adExecuteNoRecords

    did you get the solution for the above. If yes plz. let me know the problem what it is? As i am facing the same problem.

  • Error initializing the Oracle JMS Resource provider for Topics

    Getting this error when starting OC4J 9.0.3 standlone on Windows2000.
    Resource provider config'd as
    <resource-provider class="oracle.jms.OjmsContext" name="ojms">
    <description> OJMS/AQ </description>
    <property name="datasource" value="jdbc/ProlianceDS"></property>
    </resource-provider>
    Datasource config'd as
         <data-source
              class="com.evermind.sql.OrionCMTDataSource"
              name="ProlianceDS"
              location="jdbc/ProlianceDS"
              xa-location="jdbc/xa/ProlianceDS"
              ejb-location="jdbc/ProlianceDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="proliance"
              password="******"
              url="jdbc:oracle:thin:@aps67.ere.com:1538:ifstst"
              inactivity-timeout="30"
         />
    ejb-jar config'd as
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <description>Proliance Message Driven Bean</description>
    <display-name>ProlianceMDB</display-name>
    <ejb-name>ProlianceMDB</ejb-name>
    <ejb-class>com.lendlease.bll.ProlianceMDB</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-selector>
    <method>
    <ejb-name>ProlianceMDB</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    </message-selector>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    <subscription-durability>Durable</subscription-durability>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>java:comp/resource/ojms/Topics/PROLIANCE.OUT_AQ</res-ref-name>
    <res-type>javax.jms.Topic</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>java:comp/resource/ojms/TopicConnectionFactories/aqTcf</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.TopicConnectionFactory</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ProlianceMDB</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    orion-ejb-jar config'd as:
    <?xml version = '1.0'?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar deployment-time="e7f1ce76f6" deployment-version="1.0.2.2">
    <enterprise-beans>
    <message-driven-deployment
    name="ProlianceMDB"
    connection-factory-location="java:comp/resource/ojms/TopicConnectionFactories/aqTcf"
    destination-location="java:comp/resource/ojms/Topics/PROLIANCE.OUT_AQ"
    subscription-name="PROLIANCE_SUBSCRIBER">
    </message-driven-deployment>
    </enterprise-beans>
    </orion-ejb-jar>
    Full startup trace is:
    C:\ora\oc4j_9.0.3\j2ee\home>java -Djdbc.connection.debug=true -jar oc4j.jar
    Node started with id=-2143203582
    Auto-unpacking C:\ora\oc4j_9.0.3\j2ee\home\applications\ProlianceMDB.ear... done.
    Auto-unpacking C:\ora\oc4j_9.0.3\j2ee\home\applications\ProlianceMDB\ProlianceMDB.war... done.
    Auto-deploying ProlianceMDB (New server version detected)...
    Copying default deployment descriptor from archive at C:\ora\oc4j_9.0.3\j2ee\home\applications\ProlianceMDB/ProlianceMDB
    .jar/META-INF/orion-ejb-jar.xml to deployment directory C:\ora\oc4j_9.0.3\j2ee\home\application-deployments\ProlianceMDB
    \ProlianceMDB.jar...
    Auto-deploying ProlianceMDB.jar (New server version detected)... done.
    Error initializing the Oracle JMS Resource provider for Topics: Not an OracleConnection
    Error deploying file:/C:/ora/oc4j_9.0.3/j2ee/home/applications/ProlianceMDB/ProlianceMDB.jar homes: No javax.jms.Destina
    tion found at the specified destination-location (java:comp/resource/ojms/Topics/PROLIANCE.OUT_AQ) for MessageDrivenBean
    ProlianceMDB
    OrionCMTConnection not closed, check your code!
    Logical connection not closed, check your code!
    Created at:
    java.lang.Throwable: OrionCMTConnection created
    at com.evermind.sql.OrionCMTConnection.<init>(OrionCMTConnection.java:42)
    at com.evermind.sql.OrionCMTDataSource.getConnection(OrionCMTDataSource.java:82)
    at oracle.jms.AQjmsConnection.newDBConnection(AQjmsConnection.java:1681)
    at oracle.jms.AQjmsConnection.<init>(AQjmsConnection.java:537)
    at oracle.jms.AQjmsTopicConnectionFactory.createTopicConnection(AQjmsTopicConnectionFactory.java:232)
    at oracle.jms.OjmsResource.initT(OjmsResource.java:512)
    at oracle.jms.OjmsResource.initAQ(OjmsResource.java:411)
    at oracle.jms.OjmsResource.init(OjmsResource.java:214)
    at oracle.jms.OjmsContextFactory.getObjectInstance(OjmsContextFactory.java:103)
    at oracle.jms.OjmsContext.getResource(OjmsContext.java:328)
    at com.evermind.server.Application.lookupResource(Application.java:2548)
    at com.evermind.server.Application.lookupResource(Application.java:2563)
    at com.evermind.server.ApplicationContext.handleResourceLookup(ApplicationContext.java:639)
    at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:162)
    at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:66)
    at com.evermind.server.ejb.MessageDrivenHome.<init>(MessageDrivenHome.java:236)
    at com.evermind.server.ejb.EJBPackageDeployment.bindHomes(EJBPackageDeployment.java:304)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:595)
    at com.evermind.server.Application.postInit(Application.java:431)
    at com.evermind.server.Application.setConfig(Application.java:136)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1635)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1585)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1240)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:484)
    Auto-deploying ProlianceMDB Poster (New server version detected)...
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Using native aqapi.jar with OC4J -didn't copy from 9.2.0.2 DB. 9.2.0.2 patchset ran fully, completed fine. What's going wrong?
    Brian

    Shouldn't I be getting a com.evermind.sql.OrclCMTConnection created instead of a com.evermind.sql.OrionCMTConnection (per the stack trace)? OJMS is complaining that it doesn't have an OracleCOnnection but how do I tell it to use the "OrclCMTConnection" class instead?
    Brian

  • How to install the Oracle Applications Framework Provider for Portal10g?

    I am trying to intergrate Portal10g 10.4.1 with EBS 11i.5.10 and all the step required list in metalink document was done.
    However,the Oracle Applications Framework Provider is not show if i view the Portlet Repostiory after refreshing it.
    I guess that this problem is caused by missing something to install.
    Can anyone give me any suggestion about how to solve that?
    Very appreciate for any comments.

    Hi Tim
    I Meant to say say that doing of inbound interface for apps with xml related data
    raghu

  • Does Oracle AIA PIP provides extension points 4 ABC, EBF & EBS?

    I wanted to know if all Oracle AIA PIP provided the standard extension points for all the AIA components like ABC, EBF & EBS services?
    I am neither finding the extension points in any PIP code for ABC/EBF nor in AIAConfigurationProperties.xml?
    Therefore how do I know the PIP code provides standard extension points for all the AIA components like ABC, EBF & EBS services?
    Is there any UI or configuration file which mentions about all extension points?
    Does, by default the AIAConfigurationProperties.xml files have the setting for all extension for ABC & EBF?
    Thanks In Advance!
    priyadarshi

    Hi,
    All the extension points for ABCS and EBF are configured in AIAConfigurationProperties.xml file and Iam not sure about EBS.
    From the AIA Foundation pack you will not able to see any extension point in the above said file.
    If you have a PIP installed, then the entry will be seen in the AIAConfigurationProperties.xml as below,
    <Property name="ABCSExtension.PrexformMQABM_To_ProcessItemEBM">false</Property>
    <Property name="ABCSExtension.PostxformMQABM_To_ProcessItemEBM">false</Property>
    <Property name="ABCSExtension.PreInvokeProcessItemEBFV1">false</Property>
    <Property name="ABCSExtension.PostInvokeProcessItemEBFV1">false</Property>
    Based on the extension used, the value will be true or false for the specific AIA Process.
    Thanks,
    Ashok.

  • How to setting oracle.jps.authorization.provider through EM

    Hi,
    I have installed Oracle SOA 11.1.1.5. How can I set the logging level of oracle.jps.authorization.provider in EM Console. I don't see this under EM Console -> Log configuration.
    Thanks

    Hi swati,
    1. for this u will also require help of basis team.
    2. these are the steps.
    a) make an entry in DBCON
    b) make connection string
    (on the physical application server,
    so that it can connect to secondary database)
    (this will be done by basis team,
    in which, they will specify the
    IP address of the secondary database server,
    the DATABASE ID, and the port number)
    c) then using open sql / native sql,
    we can use the secondary database connection,
    just like normal.
    d) if we use open sql,
    then there must be Y/Z table on
    sap as well as secondary database,
    and the field names , their type all should be identical.
    regards,
    amit m.

  • Unable to download ORACLE OLE DB provider 8.1.7.3

    I can not connect to web18-115.us.oracle.com to download the oracle ole db provider for 8.1.7.3.
    Is this down?
    I need this ASAP.

    oh ... I forgot to say ..
    when I run query under Enterprise Manager as
    select * from Openquery (db, 'select * from table')
    then it will show me a pop-up message
    "Query Designer encountered a MS Design Tools error:
    ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB provider 'OraOLEDB.Oracle' reported an error.
    [Microsoft][ODBC SQL server Driver][SQL Server][OLE/DB provider returned message: ORA-12545: Connect failed because target host or object does not exist]
    And I follow support.microsoft.com/support/complus/mtsandoracle.asp?SD=GN&LN=EN-US&gssnb=1,setting as follow
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI]
    "OracleXaLib"="oraclient8.dll"
    "OracleSqlLib"="orasql8.dll"
    "OracleOciLib"="oci.dll"

  • How deploy Oracle OLE DB Provider?

    What information is available to enable one to set up a simple deployment scenario for a Delphi 6.0 program that
    utilizes the Oracle OLE DB Provider? (What DLL files are needed, what [if any] registry settings must be made,
    what configuration files are needed, etc..) It is not viable to expect the end user to download the 45 MB file from
    the Oracle site in order to obtain the functionality of the Oracle OLE DB Provider.
    Thanks for your help!
    Dave Eland
    [email protected]

    Put the Oracle Installation CD on the network and then install the Client version of Oracle to everyone's pc.
    I know there are deployment wizards for VB and VC++ but this is the best i think as there are lots of dll's and it gets messy.
    They will also need the tnsnames.ora entry.
    Make sure you have the right licensing agreement with Oracle.

  • Download Oracle OLE DB Provider

    Hello!
    I cannot download Oracle OLE DB Provider
    http://www.oracle.com/technology/software/tech/windows/ole_db/htdocs/utilsoft.htm
    I get the message: "We're sorry, the page you requested was not found. "
    I have tried with serveral versions (but I want to have one for version 10)
    Do anyone know where else I can find this provider.
    Best regards,
    Tina

    http://edelivery.oracle.com
    Regards
    Asif Kabir

  • Oracle OLE DB Provider installation failed...

    I downloaded ODAC101040.exe (Oracle OLE DB Provider setup) from following link.
    http://www.oracle.com/technetwork/database/windows/utilsoft-088126.html
    My OS is Windows 7 Home Premium.
    But during installation, am getting error "Abnormal Program Termination" "Unknown Unknown".
    Please help, if there is a workaround please let me know.

    My OS is Windows 7 Home Premium.Be aware that normally no Oracle products are certified for any Windows Home editions.
    BTW, did you read installation instructions from your link ?

Maybe you are looking for