ApplicationModule - connection and VPD

My company is looking at changing our Web development over to JDeveloper creating BC4J Struts based applications. I'm using JDeveloper to write a few small apps to see how the development process will go. I have a question on the ApplicationModule connection and using our current VPD:
We connect to the database with a user unique to each Web application. We then pass in a username that is retrieved from the HTTP header and set the context with that using our custom VPD. The username passed in is not a database user - the username is looked up in a table to verify the user type and the appropriate restrictions are set in the VPD. My question is how do I pass this username from the header to the ApplicationModule to set the context upon connection? Please help! Thanks

I have searched the forum but without sucess.
look my code
import javax.sql.*;
import java.sql.*;
public class Test{
     public static void main (String args[]){
          try{
               Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          catch (Exception e){
               System.out.print(e.toString());
}I dont know what to do now.
Do i need to install any drivers?
doesnt Jsdk have drivers to acess a paradox table?

Similar Messages

  • Portals, Disco and VPD

    If I set up a 10g Portals, Disco environment with SSO, how can VPD be used? I've seen it referred to a few times on this forum, and I'm wondering if it creates some identifier for a database user logging in to Portals or Disco, and therefore a folder or view could limit on this identifier?
    Any thoughts on this?
    Thx.
    Russ

    Hi Steve
    I was always told that using a VPD with public connections and Portal / Viewer is a very dangerous thing to do if web cache is in use. Of course if we turn webcache off and make sure that the VPD uses the CLIENT_IDENTIFIER then all queries will run every time they are called and be constrained via VPD.
    One of the great advantages of having web cache is that it will remember the data from the last time the query was run or from when the portlet was refreshed. But if you are using a VPD, neither Discoverer Viewer nor Portal (Plus does not use web cache anyway) has any idea of what the database is up to and thus the data will be retrieved from the cache - which will certainly break the security because the new user will see the data from the previous execution. Thus, pulling data via a public connection with SSO in use must be restricted to only that data which cannot change.
    On page 802 of my Discoverer 10g Handbook, I quote:
    It is vitally important that you not attempt to use Web Cache with sensitive data. This is because Web Cache has no mechanism to protect its content. When a request is made to Web Cache for a page that is cacheable (as defined by the caching rules) but has not yet been cached, then Web Cache makes a request on behalf of the user to the Oracle HTTP Server (Apache). OHS has the mod_osso add-on module, whose job it is to guarantee that a user must be authorized to view a page.
    The first time such a request is received, the Single Sign-On connection screen will appear and the user will need to provide his or her SSO user name and password. But, because the page is cacheable, Web Cache will keep a copy of it in memory. Then, any subsequent request from any user will deliver the user the page without authentication. This is why Oracle explains that you must cache only Discoverer Viewer content delivered through a Discoverer Public connection. The long and the short of this is that you should not cache pages in Web Cache unless it is okay for everyone to see them.
    In other words - do not use a VPD when Web Cache is in use.
    I hope this helps
    Regards
    Michael

  • Phone is connecting and transfering data in the ba...

    Today at work my Nokia 6710 did start to transfer data in the background without my interaction. I was typing a sms while the symbol for data transfer below the 3G lit up. Did a quick check in the menu->settings->connectivity->Conn.mgr.  Yes, one active connection was sending and receiving data, small amounts 3-4kb, then idle.
    I ended the connection in the Conn.mgr. Closed all the apps in the phone and waited a minute. Then it started one new connection in the background again! Same procedure, checked and closed it...! This did not stop, every time the phone started a new connection after a minute? 
    I did try to find what could cause this, but no success. What is going on, any ideas for what to check? 
    I finally deleted my  3G access point in menu->settings->settings->connection->destinations->internet
    This did stopp the phone from connecting and transfering data. 
     Back home I connected to my WiFi at home, used the browser and closed the connection. Guess what, the phone did now connect via the WiFi in the background doing exactly the same type of small data transfer - without asking!? 
    What is this? I downloaded the latest F-Secure mobile version to check for virus, but nothing, it was clean.
    I did shut down the phone, will not use it until I can stop these unwanted connections and transfers. Please help.

    Finally I found the reason for these data transfers. The upgrade of the mentioned files did have something to do with all of this, but the removal of the files did not help. 
    So, I did go through all the settings in again for Connections and the setting for Share Video were set On...? Turning this setting Off did stop the background data transfers. 
    Problem solved perhaps. But I still wonder why the Share Video setting did start sending data while the phone was not in use? A bug? A virus? A hacker trying to activate the webcam?

  • I keep getting an error message when trying to log on to FaceTime and iMessage on my iPad mini with wifi...could not sign in. Please check your network connection and try again. Help!

    I keep getting an error message when trying to log on to FaceTime and iMessage on my iPad mini with wifi...Could not sign in. Please check your network connection and try again. Help!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • What is the diff.b/w UD connect and DB Connect

    Hai,
              can any one expalin diff.b/w UD connect and DB connect...
    Regards

    Hi Lakshmi,
    please check the threads below
    UD and DB Connect
    DB connection,UD Connect Document
    Also this
    http://help.sap.com/saphelp_nw04s/helpdata/en/a6/c0e51914e842e19bda39dbbe4fe78c/frameset.htm
    hope this helps!
    Regards
    Chandru

  • Is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    Install this to get X11 functionality back in 10.8
    http://xquartz.macosforge.org/landing/
    Worked great for me and others.
    Jerry

  • How do I get my internal camera to connect and turn on?

    My internal camera is not connected and I need to know how to get my camera to turn on.  Thanks for the input.

    Welcome to  Discussions, mission hills.
    If you have not already done so, shut down Mac and then restart. Restarting may fix it.
    If not, use shldr2thewheel's good http://support.apple.com/kb/HT2090 suggestions.
    (BTW - Apple has changed the built-in camera's name on newer Macs from "iSight" to "FaceTime" and then to "FaceTime HD."  Regardless of the name of your built-in camera, the same info and troubleshooting applies.)
    If your trouble persists, when you post back here also tell us whether your cam works to record with Apple apps like Photo Booth and QuickTime Player.  If not, verify the symptoms are EXACTLY the same in more than one user account.
    Be sure to test more than one Apple app in more than one user account.  Do NOT use the "Guest" account for this test.  If you do not have more than one user account for the testing, create a new one now.  If you need help, here's how to do it in your Mac OS: http://support.apple.com/kb/PH11468  (A "Standard" account is all you need for testing.)
    We await your status update
    Message was edited by: EZ Jim
    Mac OSX 10.8.2

  • Using Remote app on iPhone 5 without a separate internet connection and wifi router.

    Hi,
    I need to be able to control iTunes within my MacBook Pro remotely. Using my mobile broadband service and wireless router I've been able to get the Remote app to allow my iPhone 5 to do the job nicely through Home Share.  So I went and bought a separate WiFi router and tried to do the same thing. Of course when it didn't work, I discovered that I need an internet connection and WiFi network to make the Home Sharing work.
    So I got to thinking, can I create a WiFi hotspot using the Personal HotSpot functionality of my iPhone, set up Home Sharing on phone and MacBookPro and then use the Remote app. Ideally this would work as it seems all the key components are in place.
    The MacBook Pro accepts the iPhone hotspot as a means of Home Sharing, however the iPhone won't use the personal hotspot to Home Share and I can't connect to the iPhone personal hotspot on the iPhone itself.
    Does anyone know how to make this work for me? It would be such as neat solution if I can get it to work - not to mention the potential to save me about $200 (I need to set this model up for two people).
    Cheers
    Kathy

    Same trouble here, iPad 2 with latest OS and remote app, iPod with latest OS and app.

  • Macbook pro 15" mid 2010 i spilled water on keyboard now it wont power on if the battery is connected and the keys on keyboard doesnt work it works fine with no battery and external keyboard if i order a battery and new keyboard will every else work again

    macbook pro 15" mid 2010 i spilled water on keyboard now it wont power on if the battery is connected and the keys on keyboard doesnt work it works fine with no battery and external keyboard if i order a battery and new keyboard will every else work again lik it did before

    If you have records that show that you've taken your MacBook Pro in for a year to fix the machine, I would escalate the problem to Apple Customer Relations - unfortunately I don't have a number for Spain.
    It would only seem logical to me that if you've been trying to have the machine repaired during the time that the 'recall' was in effect that you should be eligible for a new logic board. But only customer relations will be able to make that call.
    Good luck - take the issue as high up the food chain as you can and see what happens.
    Clinton

  • Access Connections and Tools won't install properly

    I have followed advice uninstalled the wireless driver, access connections, hotkey, power manager. . Reinstalled all ( latest versions) except access connection. Wireless connections work correctly and all hot keys function appropriately ( including Fn +F5 ). Then I let TVSU download Access connections. An icon is placed in the task tray. Clicking on it nothing happens. Also none of the hot keys work including the blue ThinkVantage key. Once I uninstall Access connection I am back in business with the wireless connection and the hot keys working. ( for all these installs I turned off the Microsoft virus scanner and the firewall).
    Have similar problem with ThinkVantage tools in that I get the Icon in the task tray and then the program freezes. No problem in reinstalling  PC doctor5
    T60 series2007 Windows XP professional pack3.

    Hi dulverton,
    I find lenovo drivers and software rather eccentric; since they need to be installed in a particular order to work properly.
    First uninstall your wireless driver and access connections, thereafter reboot your system. Then install wireless driver first, again reboot, subsequently install access connections, reboot again.
    Further this is the order in which the following drivers must be installed for each of them to function desirably:- 
    1) Lenovo PM driver
    2) Lenovo System Interface Driver
    3) Hotkey driver
    4) Wireless driver software [reboot]
    5) Access Connections [reboot]
    Hope it helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Cannot refresh table - test connection works fine but refresh gives "We couldn't refresh the connection. Please go to existing connections and verify they connect to the file or server." error.

    I'm having some difficulty updating a table in my powerpivot data model. The data for the table is stored in a local excel file; if I go to
    Existing Connections select the connection and do a test then everything is successful. When however I try to refresh that particular table I get the following error:
    "We couldn’t refresh the connection. Please go to existing connections and verify they connect to the file or server."
    In the past I had this and it was an authentication issue, the files are stored on SharePoint and I wasn't logged in to Sharepoint - I have however checked this and it can't be the issue because I have other tables linked to other excel files in the same
    location that are refreshing without issue. Can anyone think of what may be causing it?
    I have even tried creating a new local excel with the same data, added it to the data model and then tried a refresh and I I get exactly the same issue. 
    Are there any known issues with refreshing data from an Excel file if, after the initial import, you add columns to the table in the excel file I was wondering if this might contribute?
    Thanks

    Hi Maracles,
    Thanks for your post.
    From your description, I tried to reproduce this issue on my test environment. However, everything is fine for me. Could you please post the specific version of SQL Server PowerPivot for Excel?
    You can try to use a trace file to troubleshoot errors in PowerPivot. If this issue still persists, please try to reinstall SQL Server PowerPivot for Excel to see if this helps.
    For more information, please see:
    PowerPivot Options & Diagnostics Dialog Box:
    http://technet.microsoft.com/en-us/library/gg399091.aspx
    Using a Trace File to Troubleshoot Errors in PowerPivot:
    http://www.sqlchick.com/entries/tag/powerpivot
    Best Regards,  
    Elvis Long
    TechNet Community Support

  • I updated my iphone and when it came time for activation it won't work and keeps telling me to try again. At the top it says "No Service" and I have my SIM card in and a good WiFi connection and have connected it through iTunes but it says I have no SIM

    I updated my iphone and when it came time for activation it won't work and keeps telling me to try again. At the top it says "No Service" and I have my SIM card in and a good WiFi connection and have connected it through iTunes but it says I have no SIM card and need to disconnect and insert my SIM. I don't understand why this keeps happening and it's been going on for a wile now. I have tried over and over again to get this iPhone to work but nothig is happening. I've even gone on the website for support (apple.com/support) but cannot find anything that will help me with this situation. Can someone please help me find a solution to this problem? I have been without a phone and do not have money to buy another one and it is crucial for me to get it fixed. Thanks.

    wesb
    What computer operating system is involved in the Premiere Elements 11 and 13 issues? Same computer or different ones? Are you installing from purchased download installation files or from purchased installation disc? Does Premiere Elements 11 work completely on this computer whereas 13 will not?
    Let us go through the typical drill so as to take nothing for granted.
    1. Does the problem exist with or without the antivirus and firewall(s) disabled? Are you working with an individual home computer or in a
    school or company network?
    2. Are you running the program as Administrator and is there any "domain" account involved?
    3. Is your video card/graphics card up to date according to the web site of the manufacturer of the card?
    4. Do you have the latest version of QuickTime installed on the computer with Premiere Elements?
    Let us start by ruling in or out any of the above, and then we can decide what next.
    Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • When I try to use FaceTime on my Macbook Air, I try to verify the email I want people to call me with, and it says verified, but soon an message comes up that says "Could not verify the email address. Please check your network connection and try again."

    So our school lets us use Macbook Airs for the school year, and it has facetime on it. I know facetime isn't blocked because like everyone else is using it. So I decide to give it a try. I click the icon, it says enter your apple ID. I dont have one, so I click to make one, and do so. I then enter my apple ID and click next. The screen reads "People will call you using your email address. What email address would you like to use?" I enter my email address in the box below the message, and then go to my email and click the link, and sign in, thus verifying the email. I go back to the facetime window, and click next. At the top it says Verified, but when I click next it doesn't go on to the next step, it simply blacks out the next button so that I can not click it, and after a few minutes a message comes up that says "Could not verify the email address. Please check your network connection and try again."
    So that is the issue, please help!!!!!
    *Note-I repeat that I know it is not blocked by the school because everyone else uses it just fine.*

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • Cannot install Firefox. WHen I click on the link to install, it takes me to an "error loading page" notice. My network connection and internet access are normal with Internet Explorer, so this is not the issue. Some kind of conflict with my settings or pe

    Cannot install Firefox. When I click on the link on the Mozilla website, it goes to an "error loading page". My network connection and Internet Explorer are fuctioning normally.
    == computer was recently wiped clean and am now reinstalling all previous software and applications ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    None of the stuff in " http://kb.mozillazine.org/Locked_or_damaged_places.sqlite " helps. I have tried and tried and I have even wipe the computer clean still didn't help. I got the same problem as he/she has got in the first posted. Can add some web pages but not all the web pages I want.. I should have never updated to 3.6.13... That's when it all started for me, from that version..... Now Version 3.6.14 is out, I was hoping the version 3.6.14 might would fix the problem wrong again....
    Funny thing is i can not even Bookmark Firefox.com!!!!!...lol
    So any ideas on how to fix it other than the link giving would help.
    Thanks.

  • When I try to sign in with my Apple ID and password, it says I can not sign in.  To check my network connection and try again.

    When I try to sign in with my Apple ID and password, it says I can not sign in. To check my network connection and try again.
    I am connected to my home wifi network. Why can't I sign in??

    Not sure, but iAd Producer probably has nothing to do with this.
    Did you try posting in a forum that discusses iPhone, or FaceTime, or networking?
    I searched and this looks like the best fit : https://discussions.apple.com/community/iphone/using_iphone
    -M

Maybe you are looking for