Common application user

Hello, relatively new to Java. Setting up a simple app consisting of jsp/servlets connecting to Oracle database. Building pages with data from database. Using single application user via datasource/connection pooling. Using VPD, setting client_identifier with user name and setting another context variable to know who is connecting by calling a "authorize" procedure.
My question is: What is a common practice to set the context up in the database so you know who is doing what everytime a user requests something from the database? I thought about putting that procedure call in every other procedure but this seems redundant. Also, if I would just call the procedure from the page, then call something else from the page, the context would be gone. I'm sure there is a good solution to this, I just can't seem to find it. If someone could point me to a good example, that would be great. Thanks much in advance!

There are a couple of solutions. One way is to send the user a cookie once he/she's signed in. There are also other ways to do this, like EJBs (I think) that are potentially more powerful but more confusing to start with IMO

Similar Messages

  • One application with Multiple schemas- common application frame work

    Hi All,
    I am trying setup a common application frame work in apex. Please help me.
    How to achieve this.
    Creation of one application attached to different schemas at run time. So that my application maintaince is going to be easy instated of creating copies of same application.
    More details:
    1. I have one application with 100 pages pointing to a schema dev_common in one workspace APP_COMMON. I have 50 schemas with same structure of dev_common schema with different set of data ( because of large amount of data).
    So I want to create one application attached to different schemas.
    2. And another thing is I have 100 users, the user can work on 1 or multiple schemas ( I mean same application with different schemas attached)
    Any help much appreciated.
    Thanks,

    Thank you for the reply.
    >> b) I think you have to give access rights for the dev_common and app_common to all users.
    Dev_common schema is a kind of placeholder. I have 50 schemas same as dev_common because of different business requirements but the front end is same for all 50 schemas. How can we create one application used for 50 schemas instead of creating 50 applications and 50 workspaces.
    Please help me.

  • Not able to connect through Application user name in Discoverer Admin

    Hi,
    I created an EUL with all privileges it needed. I created a business area from that EUL and shared it to Application User name through giving access privileges (from Security and Privileges). When I am trying to login through the Application User name in Discoverer Admin it is giving the error like:
    Failed to connect to database - Unable to connect to Oracle Applcations database: invalid username/password.
    Earlier I did in another instance it worked fine but now itself I am facing the problem.
    Thanks & Regards,
    Arun Babu R.

    Hi,
    Please post the application release along with the database version and OS.
    What is the Discoverer version?
    Please see these docs.
    Connecting to an E-Business Suite EUL Using Any Discoverer Component Fails With "Authentication Failed" or "ORA-01017: invalid username/password;logon denied" [ID 364665.1]
    Discoverer 10g (10.1.2) Connections To Oracle E-Business Suite 12 Fails With 'Invalid Username/Password' [ID 443661.1]
    Discoverer 10g (10.1.2) Plus/Viewer Connection To E-Business Suite Database Fails With " invalid username/password" Error [ID 467919.1]
    Connecting to Oracle EBS 11.5.10 with Discoverer 4i/10g Fails with ORA-01017 Invalid Username/Password Error [ID 295037.1
    Discoverer Desktop/Administrator 10g (10.1.2.2) Fails To Connect With Error 'Unable to connect to Oracle Applications database: invalid username/password. ' Only Between Certain Hours [ID 757384.1]
    Connecting to Oracle EBS with Discoverer Fails with ORA-01017 Invalid Username/Password Error [ID 784358.1]
    Discoverer 4i Viewer/Plus Logon To Oracle Applications EUL Fails with "ORA-1017 Invalid Username/Password" Unless a Colon '' : '' is Entered After Username [ID 360314.1]
    Questions And Guidance For Troubleshooting Common Discoverer Desktop and Administrator Connection Issues [ID 415614.1]
    Thanks,
    Hussein

  • Application user not able to Login

    Hi,
    Application user not able to Login but sysadmin are able to log in in R12 upgraded application.
    please suggest remedies.
    regards
    Anup

    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.IllegalAccessError, msg=tried to access method oracle.apps.fnd.sso.Utils.getLog(Loracle/apps/fnd/common/WebAppsContext;)Loracle/apps/fnd/common/AppsLog; from class oracle.apps.fnd.sso.webui.ChangePasswordCO
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:872)
         at OAErrorPage.jspService(_OAErrorPage.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:702)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:252)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:186)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:191)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:761)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:727)
         at OA.jspService(_OA.java:257)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:702)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:252)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:186)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:191)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
         at RF.jspService(_RF.java:225)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.IllegalAccessError: tried to access method oracle.apps.fnd.sso.Utils.getLog(Loracle/apps/fnd/common/WebAppsContext;)Loracle/apps/fnd/common/AppsLog; from class oracle.apps.fnd.sso.webui.ChangePasswordCO
         at oracle.apps.fnd.sso.webui.ChangePasswordCO.processRequest(ChangePasswordCO.java:72)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2491)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1889)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:421)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:702)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:252)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:186)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:191)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
         at RF.jspService(_RF.java:225)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Discoverer Login using Application User

    Hi,
    we have a portal developed using adf and jsf where the usernames and passwords are stored in the table when the user enters the login and password information a procedure check is the user is valid and logs into the application we have VPD to control the security.
    Now i want to pass the logged in username ( Application user ) as application_user parameter,to discoverer url and use it in the post login trigger. How can i achive this ? I am passing the oracle username and password to connect to the database in the url using post method.
    Thanks in advance.

    Hi,
    You are right you cannot pass the Discoverer password in a URL unless you use a HTTP Post transaction.
    If you are using Oracle Applications you can connect directly to Discoverer from an Applications form function or use SSO.
    If you are using some custom application and the username is not a database user, then you could using a common database username/password and run a logon workbook then runs your custom logon process. The application username and password would then be in the parameters to the workbook in the URL and not Discoverer usernames and passwords.
    Hope that is clear.
    Rod West

  • Application user USERNAME is not authorized this database.

    I am trying to login to R12 through "http://<server_name:port>/forms/frmservlet" ,at the login screen while entering username & password , I'm getting
    Application user <USERNAME> is not authorized this database.
    Note : This is first time I am trying to login after R12 upgrade.

    Error log
    [Mon Mar 28 02:49:09 2011] [notice] Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Mar 28 02:49:09 2011] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Mar 28 02:51:01 2011] [error] [client 172.20.81.35] [ecid: 1301295061:151.110.228.14:31256:0:1,0] File does not exist: /opt/egapc2d/inst/apps/EGEBC2D_etad546/portal/favicon.icoApplication log :
    11/03/28 02:44:53.602 html: Servlet error
    java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.sso.Utils
    at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:116)
    at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:170)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2978)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:738)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) >].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Not able to create new database connection: FND^@SECURITY_APPL_USER_NOTAUTH^@N^@USER^@GUEST^@
    Caused by: oracle.apps.fnd.common.PoolException: Not able to create new database connection: FND^@SECURITY_APPL_USER_NOTAUTH^@N^@USER^@GUEST^@

  • Call an applications 'user exit' from a PL/SQL procedure

    My question is a technical PL/SQL question related to Oracle Applications. I need to call a standard applications 'user exit' from a stored PL/SQL procedure. Can anyone tell me if this is possible and how to do it?
    (i.e. I am attempting to call the AR user exit SALESTAX)
    Thanks,
    Michelle Dodge

    Hi,
    Read this thread, perhaps is there your response :
    Host...
    Nicolas.

  • When i login to MES operator resp..i get a error saying...You must setup an HR employee for this Oracle Application user...how to resolve this?

    when i login to MES operator resp..i get a error saying...You must setup an HR employee for this Oracle Application user...how to resolve this?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • Cannot log in as an application user on Discoverer Desktop

    Hi
    I have Discoverer Desktop 4.1.37.00.0 on a laptop. When I try to log in as an application user, when in connect field I enter database name, I get the following error message:
    ORA-12154:TNS:could not resolve service name
    When instead of databse name I input connect string in tnsnames.ora file, I get another error message:
    Unable to connect to Oracle Application Database:Invalid username/password
    Please note that the checkbox 'oracle application user' is enabled while attempting to log in.
    Secondly, in my Administration Edition in Tools>options>connections
    the following settings have been done:
    Connect to both standard and applications EULs
    Gateway User Id (GWYUID)/Password : APPLSYSPUB/PUB
    FNDNAM : APPS
    Similar seetings have been done for the desktop.
    Also note that I cannot even log in as a database user. The error message I receive is
    'You do not have access to any End User Tables.'
    The database user name I'm using to log in is the one who has created EUL(apps mode) and owns business areas in that EUL.
    Can someone please guide me on this problem?
    Regards,
    Aparna

    Hi
    The solution to my problem was exactly the same: I needed to apply the patch 3201601.
    This patch is available on http://metalink.oracle.com
    While installing the version 4.1.48.06.00 on my laptop, as I have XP, I came across some DLL errors.
    For this refer to the note 297750.1, DLL Copy Errors when Trying to Patch Discoverer Administrator/Desktop 4.1
    The note is also available on the metalink.
    Regards,
    Aparna

  • How to find number of Real Applications users available in SAP R/3 system.?

    Hello Experts,
    How to check the Number of Real application users available in R/3 system (except system , communication users and Admin users)
    Is there any TCODE to check this..
    Please let me know how to do.
    Regards,
    Ravi Maddela

    Hello ,
    Thnx for the Immediate response
    But Al08 or Sm04 will show only active users
    I want all Real application users available in the R/3 system.
    When I check few users may not login.
    I want all the users available even though they were not logged in
    Regards,
    Ravi Maddela

  • Query execution is faster - as SYS user vs. application user in 11.1.07

    In +11.1.0.7+ database, we have noticed execution of an application process as SYS user is faster than the application user. To quantify this execution time was 2 hours as application user and same process when executed as SYS user completed in 1 hour.
    We ran tracing for this process and tkprof output showed follwoing:
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS:
    _call          count      cpu       elapsed disk query current rows_
    Execute 3705586 2440.49 *4294.54* 293602 21835223 23300886 3801288 <<< ==== SYS
    Execute 3703285 6356.69 *8576.50* 303175 21785419 23378086 3801291 <<< ==== Application user
    We have SR open with Oracle, but thought if some one knows about this issue would be great.
    Edited by: dhyani on Aug 17, 2010 3:16 PM

    What about the "Predicate Information" section of the execution plans - were those exactly the same? Did you use AUTOTRACE, EXPLAIN PLAN FOR, or the method that I showed to retrieve the execution plans? Where the SQL_ID and CHILD_NUMBERS displayed exactly the same? Is the STATISTIC_LEVEL set to TYPICAL for both sessions? You can check the setting in SQL*Plus like this:
    SQL> SHOW PARAMETER STATISTICS_LEVEL
    NAME                                 TYPE        VALUE
    statistics_level                     string      typicalAs a demonstration, I will change the value at the session level and then change the setting back:
    SQL> ALTER SESSION SET STATISTICS_LEVEL='ALL';
    SQL> SHOW PARAMETER STATISTICS_LEVEL
    NAME                                 TYPE        VALUE
    statistics_level                     string      ALL
    SQL> ALTER SESSION SET STATISTICS_LEVEL='TYPICAL';If the above does not show a difference, you will need to capture a 10046 trace at either level 8 or level 12 for both sessions and compare the wait events and the STAT lines in the 10046 trace to see where the additional time is being spent. Reference these two blog articles for the 10046 trace:
    http://hoopercharles.wordpress.com/2009/12/01/10046-extended-sql-trace-interpretation/
    http://hoopercharles.wordpress.com/2010/01/26/10046-extended-sql-trace-interpretation-2/
    Keep in mind that the goal is to not change anything until we understand the problem better. Maybe, just maybe, someone created a table (or view) or two in the SYS schema (or used a table/view name that matched a SYS owned object), in a normal user's schema, or there are synonyms pointing to different tables. So, it probably would be a good idea to verify that the results are exactly the same when the SYS user executes the SQL statement and a normal user executes the SQL statement.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Database vs application users

    Hi.
    Please give some opinion on this:
    Wich is the best approach for managing users in a typical three-tier web application, using jdbc:
    A) The database has one or two users with the proper grants and privileges to manage data(eg. read_user for selects and admin_user for inserts deletes and updates) In addition, there is a table with all valid application users. The third tier will connect to the database as one of the users, depending on the system login user, via jdbc. When someone new registers on the site, a new row is added to the users table.
    B) Database users are also application users. So, when someone new registers on the site, a new database user is created with the proper privileges. No need for users table because application user equals database user.
    I know A and B have different security approaches, but appart from that, what are the benefits/drawbacks of each implementation ?
    When is one better than the other ?
    Thanks a lot.

    If you see any Major/big application , username , password maintian on application level (not on database level). use DBMS_OBFUSCATION_TOOLKIT to store encrypt passwd in table.
    Check following link for, How to store a password
    http://asktom.oracle.com/tkyte/Misc/Passwords.html
    http://www.dbazine.com/oracle/or-articles/hordila10
    Cheer,
    Virag Sharma
    Message was edited by:
    virag_sh

  • Difference Vendor user and Normal application user

    Hi
    I need to know what is the difference between the Vendor user and Normal Application user in R12.
    Could you please tell me any difference or the reference link as soon as possible.
    Thanks
    Vivek

    912882 wrote:
    Hi
    I need to know what is the difference between the Vendor user and Normal Application user in R12.
    Could you please tell me any difference or the reference link as soon as possible.
    Thanks
    VivekVendor User i believe you are talking about the supplier..who can given access to isupplier portal.
    Normal user would be the end users
    HTH
    Mahendra

  • How to find how many cursors are opend for application user

    Hi all,
    how to find out how many cursors are opend for application user and how many are opend for database user
    Regards,
    RM

    Oracle does not know the difference between an "application user" and a "database user".
    Oracle deals with a session. This session services a client. The client can be a J2EE application. It can be a Delphi client. It can be a SQL*Plus command line tool. It can be TOAD. Etc.
    Oracle does not care who/what/where the client is when dealing with cursors and SQL. It deals with the session that services that client.
    How many cursors does a session have opened?
    Refer to V$OPEN_CUSOR in [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2008.htm#sthref3807]Oracle® Database Reference.
    A select count on V$OPEN_CURSOR for a specific SID (Session ID) will return the number of open cursor handles in that session.

  • Application user RMCM was found to be deleted from CUCM but agents unable to log into ACD queue was reported 2 weeks later

    Hello All, During an investigation Application user RMCM was found to be deleted from CUCM as per CUCM logs but the first issue of agents unable to log into ACD queue was reported 2 weeks later following a publisher reboot, I am trying to understand what could have caused this ? The reboot obviously could not have made any changes but the logs says RMCM users deleted on 09 May but issue was reported on 20 May and in the meantime services were said to be working without interruption . Can i have some suggestion to understand this to explain customer ?

    The RMCM user being deleted might not have triggered a JTAPI update on the UCCX side.  The publisher reboot which restarted CTIManager would have definitely triggered the update and forced UCCX to re-authenticate with the now non-existent user.

Maybe you are looking for

  • Mini display port to HDMI adapter not working

    I can not get my MacBook OS X to dispaly on my new Samsung LED TV. I have a mini display port to HDMI adapter (two years old) conneted with an HDMI cable (new) into the HDMI input on the TV. I tried both inputs, tried resetting the TV, plugging, unpl

  • Spaces and Exposé don´t work together properly in Leopard

    The very first time I activated Spaces, I defined four windows to be controlled with combined F8 key and right mouse button (the mouse being part of the Microsoft Optical Wireless Desktop 1000). But now I cannot use Exposé to open, say, Safari and Fi

  • Windows 7 validation problem in bootcamp

    I Installed a 32bit version of Windows 7 (purchased from a reputable source) on my bootcamp partition of a new MBP OSX10.6.3 about a month ago. I entered the validation code and registered Windows and everything was fine. After several weeks of not u

  • How do i monitor all my website status hosted on IIS using web console

    How do i monitor all my website status hosted on IIS using web console  I need to monitor all the website status if that is started or stopped on the server remotely something like Website name Port # Server name (website hosted on) Status (Stopped/

  • Disabling User in Solaris

    Is there anyway to change the way the resource adapter for Solaris and Linux disables users so that it uses the native lock provided through passwd rather than setting a random password? Scott