How to interact with database?

Hi,
I am exploring sampleportal application in Weblogic Portal8.1 SP4. There in login portlet they are using login.jsp file which uses examples.login.DirectorBacking class for login form authentication. DirectorBacking class uses default com.bea.p13n.security.Authentication class’s authenticate method for authentication. I could not understand the basic functionality of Authentication class as how it interacts with the database.
     Can we use simple JDBC for the login authentication in login.jsp ?

U can define several authentication realms - which could be RDBMS, LDAP etc.
Does that answer your question?

Similar Messages

  • Ivr interaction with database

    How IVR interact with database. Any idea?
    I mean to say mechanism it follows to populate data using IVR system for inbound and outbound calls.

    AnkitAshokAggarwal wrote:
    How IVR interact with database. Any idea?
    I mean to say mechanism it follows to populate data using IVR system for inbound and outbound calls.
    SQL  is the only mechanism to populate data using IVR system for inbound and outbound calls.

  • Using cfform to interact with databases

    hi there, I am just trying to get ito using the cfform tag,
    and I thought it would be as easy to do insert into table ect using
    server behaviours, but clearly not! could somebody point me the
    right direction of some good tutorials please, to show me how to do
    all the wonderful interaction with Databases that I have been able
    to do with normal dreamweaver html forms...
    Many thanks

    I have found that <cfform> is a bit of a pain. I prefer
    using the standard <form>
    and writing the SQL myself. Much cleaner!
    <cfquery ...
    INSERT INTO t_someTable
    (column1, column2)
    VALUES
    '#trim(form.field1)#',
    '#trim(form.field2)#',
    </cfquery>

  • I am having much trouble with the new reminders in IOS7 and how it interacts with Outlook Exchange. Many features lost in the new version.

    When I downloaded IOS7, I found that the reminders/task app and how it interacts with Outlook Exchange is much more difficult to use. Some of the issues that I am having are...
    1. Trying to edit my task on my phone is not possible, if the notes are lengthy. When you click on the text to edit data near the top, it will scroll to the bottom and not allow you to edit the text because you cant see it.
    2. Now all of my task are in one long list. I can not move from day to day like we could in previous version IOS6
    3. When I do edit a short task reminder and click done, it crashes and completly goes away. It does save the edit though
    4. You can only add task at the bottom of each days reminders. This is very inconvient and much more difficult than IOS6
    5. There is a major delay or latency when interacting inside of reminders in this version. Much more than IOS6. It is very unstable and quirky.
    I have never seen Apple take a step back with a product until now. I am a huge Apple fan and always will be, so I am hoping they make enhancements to fix these issue. It is a big time prodcutivity killer.
    Thanks for any and all help you can give.
    Troy Meachum

    Some power supplies or designed so that if there is a short or overload they shut them selfs off and some will not turn back on. Some have a relay that will click back on and work, some you have to  cycle the power switch. Those that won't come back on will have to be replaced. I'm not saying that yours is that type as I have no way of telling. But if you have a friend who will loan you a good power supply you might try it. As someone else said just turning off the power will not darn all the power from some motherboards. To test this turn off your power supply than turn on the computer with the start botton. Mine will flash the lights and fans will start to spin than die. So every time you turn off computer to work on it. After turning off PSU hit the start botton to drian any power left in it before working on it. Also do this after unplugging it just to make sure.

  • How OEM works with database

    Hi,
    We use OEM (12c),have db (11.2,10.2/1).
    How OEM works with database?
    When oem initated a job aginst  db,What are the steps preformed by OEM?What are the info updated in OEM DB and Normal DB regading jobs?And Where?
    Br

    At what point do you get this message?
    Have a look at the Windows Service. Ensure the EM Agent is running. Your database and Listener may be running, but if the Agent is not running, you will not be able to see correct status.
    Stop and start the Agent

  • Learning How to Interact With Jdeveloper

    How can i learn How to Interact With Jdeveloper ?

    start with this.
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ria_application/developriaapplication_long.htm

  • How to interact with external database in CQ5

    Hi,
    I need to interact with external database like SQL or Oracle to store some/fetch some data in CQ5. Can someone pls provide some help regarding the same. I guess I need to do it through JDBC. Please guide me step by step how to do this.
    Thanks

    Hi,
    Bellow you find some references to the documentation related to CQ and DB configuration and developments:
    http://dev.day.com/docs/en/cq/current/developing/jdbc.html
    https://helpx.adobe.com/cq/kb/HowToConfigureSlingDatasource.html
    Regards,
    kasq

  • How Client interact with Server in regular interval

    Hi friends,'
    I want to develop a chat server where the user should sent the request to server in background(as server can not sent response unless the request appears).So on regular request from the Client the server check the updation in database and sent the correspong message to user.
    How can i do this where the Client should interact with server in regular interval?
    Is there any other way to accomplish this ,any reference guide /tutorial to develop this ?
    Regards,
    Sachin Warang.

    You could add an <meta http-equiv="refresh" content="5;http://yourhost/context/servlet/"> to the HTML which will refresh the page every 5 seconds (change the 5 to 10 for every 10 seconds, etc.). The other way is to set up a JavaScript timer and use an XmlHttpRequest to make an asynchronous call to the server and update the HTML dynamically (using DOM) when a response is received (AJAX). Lastly, you could implement the client as an Applet, which gives you a much richer feature set and is a lot cleaner (having half of your app in JavaScript/DHTML is kind of messy).
    There are some vendors, such as IceSoft (http://www.icesoft.com/) producing JSF components that do the AJAX stuff transparently, so you just code a normal JSF app using their components and wire up to bean action methods where you need to.
    - Jesse

  • VB 2008, CR component and MS Acc: how to access with database(not user) pwd

    These are the detail of the query:
    1. MS Access 2003 and later database via OLE DB provide for entry of a u201Cdatabase passwordu201D to provide additional protection.
    2. In VB 2005 and in VB2008 environment I have managed to establish a connection with a database password and open recordsets using ADO connection. See code below.
    Note. stPassword is user password and stDBPassword is database password with the following code:
    With cnn
              'set connection string
              .ConnectionString "Provider=Microsoft.Jet.OLEDB.4.0; Password=" & stPassword & ";Data Source=T:\CPI.mdb;User ID=" & stUser & ";Persist Security Info=False;" & "Jet OLEDB:System database=t:\cpi.mdw;Jet OLEDB:Database Password=" & stDBPassword
              .Open()  
    End With
    3. When using Crystal Reports component supplied with VS 2008 I can only provide USER NAME and USER PASSWORD. No information is available how and where to enter DATABASE PASSWORD to the Crystal Reports component. As a result, Crystal Reports Viewer starts to run. Obviously access is denied because no DATABASE PASSWORD has been provided to the component. A common dialog comes up to enter database password.
    4. User does not necessarily need know the DATABASE password and I am not interested in providing the database password to every user who runs reports. In this project database password serves as a form of protection from tampering with the database structure and contents through the use MS Access to access the database.
    5. Here is the code to demonstrate logon via Crystal Component described above:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    And then in a sub:
        Dim cnnInfo As ConnectionInfo = New ConnectionInfo()
        'cnnInfo.DatabaseName = cnn.DefaultDatabase
        cnnInfo.UserID = stUser
        cnnInfo.Password = stPassword
    No place to input DATABASE password!!!
    Does anyone know how can I input database password or provide a connection string or maybe ADO connection object which is opened within the project code.

    It seems like it is not possible to set the DB level password with the CR Visual Studio bundled version (as stated in the following KB c2010267). You would need to use the full version, and use the code below:
    Symptom
    A VB .NET application uses Crystal Reports for Visual Studio .NET as the reporting development tool.
    A report is created that connects to a password protected Microsoft Access Database.
    How do you pass a password (for database level security) or a password and user ID (for user level security) at runtime using the different connection methods(Native/ODBC/OLEDB)?
    Resolution
    To pass the database level password or a user level
    userid/password at runtime, use the following code
    sample:
    'Add the following namespaces to the top of the code
    'page
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Dim crReportDocument As New ReportDocument()
    Dim crConnectionInfo as New ConnectionInfo
    Dim crtableLogoninfo As New TableLogOnInfo()
    Dim CrTables As Tables
    Dim CrTable As Table
    crReportDocument = New CrystalReport1()
    With crConnectionInfo
    <**Insert code from below depending on the type of
    connection and the version of Crystal Reports you are
    using**>
    End With
    CrTables = crReportDocument.Database.Tables
    For Each crTable in crTables
    crTableLogonInfo.ConnectionInfo =
    crConnectionInfo
    CrTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    CrystalReportViewer1.ReportSource =
    crReportDocument
    Database Level Security
    " For Native and ODBC connections, use the following
    code:
    .Password = "Password"
    " For OLEDB connections, use the following code:
    .Password = chr(10) + "Password"
    ====================
    NOTE:
    You cannot set a database level password when
    using Crystal Reports for Visual Studio .NET 2002 or
    2003.
    ====================
    User Level Security
    " For ODBC and OLEDB connections, use the following
    code:
    .Password = "Password"
    .UserID = "UserID"
    For ODBC connections, in the ODBC data source, you
    have to point the system database to the appropriate
    MDW file. In addition, click the 'Advanced' button and
    specify the User ID and password.
    ====================
    NOTE:
    You cannot set a user level password when using
    a native connection with Crystal Reports 9.2 and
    Crystal Reports for Visual Studio .NET 2002 or 2003.
    This KB is valid for:
    CRYS REPORTS VS .NET.9.1
    CR FOR VS .NET 2005
    CR FOR VS .NET 2008

  • OAS 10.1.2.0.2 - How configure PHP with database access

    I Installed OAS 10.1.2.0.2 on SuSe 9.3.
    I put in $ORACLE_HOME/Apache/Apache/htdocs a php pages for test if this OAS versión supported php.
    The test is ok, this versión support PHP, but not are configured to PHP with database access.
    My question is: How I configure this OAS 10.1.2.0.2 to use PHP with database access?
    I need install all PHP although my php pages is running (without database access) ??? or I only need configure database access?

    How I compile my PHP with --with-oci8??                                                                                                                                                                                                                           

  • How to Interact with interactive adobe form in sap

    Hi All,
    I created a Interactive adobe form i can interact with this form when i click on preview PDF tab in ADS, But when i executed that form i am unable to interact. when i am executing i am using output device as LOCL and clicking on print preview.Can Any Help me how to configure output devices so that i can interact with form when i click on print preview.
    Regards,
    Ashok.
    Edited by: ashok459 on Nov 23, 2011 1:10 PM

    Hi,
    In the PDF layout side set the following properties.
       Edit-----> Form Properties    under Defaults tab set the set the PDF Render Format to 'Dynamic XML Form'
    Under Preview tab set the Prview Adobe XML Form as 'Dynamic XML Form' .
    Hope this helps,
    Murthy

  • Interacting with database from web

    Here's the situation. I have some dumb terminal (client) that interacts with a server, which holds a database. I want users to be able to query that database from the web and have it create a page with the results.
    Since I did not know cgi, or servlets, etc., I devised a primitive method. I was planning on having the database create html files and send it to the webserver so the users can interact with the premade html files. This is not a good idea :) since there would be thousands of files made.
    What is the best way to interact with the database? Servlets? Can you use servlets freely or do you need a commercial license? Please exuse my newbiness :)

    You don't need any commercial software to use Servlets and JSPs.
    Have a look at the Tomcat servlet engine from Jakarta:
    http://jakarta.apache.org
    I expect that if you search these forums (particularly the JDBC and JavaServer Pages forums) you'll find various examples of JSPs and Servlets that connect to a database to allow primitive querying capabilities.
    Hope this helps.

  • How FDQM Interacts with DRM...

    Hello,
    How FDQM works with DRM and where can I find the adapter?
    And what are the file formats will support for DRM?
    If you have any document regarding FDQM interacts with DRM, please drop me a mail to [email protected]
    Thanks in Advance,
    Babji

    Hi Babji,
    What exactly are you trying to do with FDM and DRM? FDM will transform data and provide support for data load controls and DRM is a metadata management tool.
    The only way I can see DRM working with FDM is to produce maps to load into FDM and unless you have FDM systems that need the same map it may not even make sense to maintain any of that within DRM.
    As far as integrating it to make maps, you would configure DRM to produce a csv file in the proper format or send data directly to tables with other integration scripts.
    Regards,
    John A. Booth
    http://www.metavero.com

  • HOW to Interact with Oracle HRMS applications from BPEL..

    Hi friends...
    Well...i just wanted to know HOW easy is it to interact with an Oracle HRMS application from within a BPEL process...
    [Say, my BPEL process has some approvals from Finance Dept.., but i need to contact some application like Oracle Payroll, for some data...]
    I think we would have to use some Application Adapter Service for this..but not sure..!
    Would be great if anyone could refer me to some links or guide me in this regard...
    Thanks...

    Hi,
         You can read the data using "Middlware Tools" like XI,Business Connector,Mercator,Webmethods
          and using DB-Link.
          If you want Read the data using ABAB coding, you need to use "Native SQL" Stament.
         For XI and other Middlware , you need configure so many steps,(RFC defination,PORT,Partner)
         Required. 
         Through ABAP Program :
         Befor creating program , You need to find out "Oracle Server Name and Other details.
          Please use below code as your reference.
    Open a native SQL connection.
    EXEC SQL.
    connect to 'ONECD'
    ENDEXEC.
    Retrieve information from the BVER tables.
    EXEC SQL PERFORMING read_dental.
    select emp_ssn_num, emp_fname, emp_lname,
    to_char(start_date, 'YYYYMMDD') as start_date,
    rec_type,
    to_char(eff_date, 'YYYYMMDD') as eff_date,
    vendor_plan_id
    into :dental
    from opr$8oc.BVER_CURR_DENTAL_MASTER
    ENDEXEC.
    EXEC SQL PERFORMING read_medical.
    select emp_ssn_num, emp_fname, emp_lname, rec_type,
    to_char(start_date, 'YYYYMMDD') as start_date,
    to_char(eff_date, 'YYYYMMDD') as eff_date,
    network_code, pcp_number, patient_flag,
    vendor_plan_id,
    to_char(network_eff_date, 'YYYYMMDD') as
    network_eff_date,
    to_char(pha_eff_date, 'YYYYMMDD') as
    pha_eff_date
    into :medical
    from opr$8oc.BVER_CURR_MEDICAL_MASTER
    ENDEXEC.
    Disconnect from the native SQL connection.
    EXEC SQL.
    DISCONNECT 'ONECD'
    ENDEXEC.
    The system log has messages like 'Work process is in reconnect status' and 'Work process has left reconnect status' after the ORA-02396 message. And I specifically do a disconnect at the end and a connect at the beginning, but it looks like it is trying to do a reconnect?
    Thanks,
    Pugazhenthi.P
    Satyam computer Services Ltd.

  • How to connect with database in JBuilder?

    Hi,
    I try to connect with database in JBuilder7, but the connection is failed. please tell me what is wrong? thanks!
    In connection tab:
    Driver: sun.jdbc.odbc.jdbcodbcDriver
    URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdb
    Error:
    com.borland.dx.dataset.DataSetException: [Microsoft][ODBC Driver Manager] Data source name too long
    Jun

    URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdbshould be jdbc:odbc:DBname:book.mdb

Maybe you are looking for