Share Username/Passwords/Roles between multiple databases

We have a number of Oracle 10g databases that are hosted on Oracle Linux servers that we maintain. We would like to be able to allow our users to use the same username and password to log on to each of these databases. Ideally we could then like to manage the users from a central location and maintain their access roles across all of our databases. Our users access the databases through bespoke client applications (one for each database) running on Windows XP PCs.
What methods would you recommend for achieving this? Our department has some limited experience with Active Directory if that is an option.

If anyone else has this problem here's what I did:
The J2EE Connector Architecture (JCA) is an effort to solve exactly these kinds of problems. It allows a service to use varying credentials to authenticate to back-end services based on configuration needs.
I used the Sun blackbox implementation of the JDBC connector/adapter. I installed that into my application. Then through the console, I set up the CredentialMapper with the appropriate credentials for each user.
Unfortunately, when creating Aqualogic data services with the GUI, it will only show you DataSources that were created using the Console. The way around this is to initially set up the AQ data service using a normal JDBC DataSource. After it's created, go to the source code view, and replace the JNDI name of the DataSource you used with the JNDI name of the blackbox connector/adapter.
FYI, the suggested route of implementing a SourceBindingProvider would have worked, but it would require a fair amount of code to manage (and close) the JDBC DataSources for each system/user pair.

Similar Messages

  • HT1198 If I share an iPhoto library between multiple users, will the Faces, Events, and Places be automatically usable by all users, or will each user have to tag all the photos (e.g. if a user tags a face, will a different user have to do it in their own

    If I share an iPhoto library between multiple users, will the Faces, Events, and Places be automatically usable by all users, or will each user have to tag all the photos (e.g. if a user tags a face, will a different user have to do it in their own iPhoto application??

    Have you read this Apple document regarding sharing a library with multiple users: iPhoto: Sharing libraries among multiple users?
    OT

  • Crystal Reports - Switch between multiple databases at runtime (esp. DB2)

    Hi,
    we are currently developing a reporting application in .NET (C#) with an integrated Crystal Viewer. We want to be able to change the databse dynamically at runtime, especially between different DBMS.
    We encountered no problems when switching between a SQL Server and an Oracle DB, but we ran into big trouble if trying to connect to a DB2 db.
    In the report itself we have a SQL Server connection defined that is used during the design phase.
    In our application we change the connection at runtime using the following code:
    CrystalReportViewer viewer = new CrystalReportViewer();
    ReportDocument document = new ReportDocument();
    document.Load("<<path>>");
    Tables tables = document.Database.Tables;
    foreach (Table t in tables)
        ConnectionInfo info = new ConnectionInfo();
        info.UserID = "<UserId>";
        info.Password = "<Password>";
        info.ServerName = "<DSN of DB2 DB>";
        info.DatabaseName = "<DB2 DB Alias>";
        TableLogOnInfo tableInfo = t.LogOnInfo;
        tableInfo.ConnectionInfo = info;
        t.ApplyLogOnInfo(tableInfo);
    // ... Setting parameter values ...
    viewer.ReportSource = document;
    We also tried to add the following lines of code after the "ApplyLogOnInfo" call without any success:
    t.LogOnInfo.ConnectionInfo.UserID = "<UserId>";
    t.LogOnInfo.ConnectionInfo.Password = "<Password>";
    t.LogOnInfo.ConnectionInfo.ServerName = "<DSN of DB2 DB>";
    t.LogOnInfo.ConnectionInfo.DatabaseName = "<DB2 DB Alias>";
    Especially we are wondering because we don't get any error message. The Crystal Viewer just opens and shows an empty report without any data records. The TestConnectivity method called on each table (we are only using one table at the moment) also returns true.
    Furthermore it seems that whenever we call ApplyLogOnInfo, the UserID, password, server name and database name is resetted to the values defined in the data connection within the report (SQL Server, used in the desing phase as mentioned above).
    Any ideas, what we are doing wrong?
    Kind regards,
    Markus
    Edited by: X-Giesi-X on Feb 10, 2010 4:53 PM

    Hi Markus
    OK. Make sure you have the latest updates. First apply SP 2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Than FP 2.4:
    https://smpdl.sap-ag.de/~sapidp/012002523100001024152010E/cr2008_fp24.zip
    Next, open the report in the CR designer and enable the "Verify on first refresh" option (File | report Options)
    If that does not help, export the report to rpt file format and try to view the exported report in the CR designer. What do you see?
    Ludek

  • Check if username/password is valid in database

    In this old thread:
    HTMLDB Connection Pooling with Oracle usernames
    sspadafo mentions that it is possible (at least for apex when processing a database account authentication) to check if a given username/password is valid in the current database. Look for " the login API will call a new function in the database to check a username/pw combination." in the above thread.
    Question: is this "function in the database" available to developers? if so, how to use it?

    Hello,
    and thanks for your answer. I'm aware of that old trick with 'alter user identified by values' but wish to avoid that, exactly for its drawbacks. I'm not creating a custom authentication solution, DB account is fine for me.
    I wish to provide users the ability to change their (database) password in the apex application (which of course uses database account authentication). Changing the password is trivial; but usually in a 'change ypur password' form the users are prompted for their current password too (it is for security reasons). So:
    1.user enters their current password and desired new password (twice)
    2.app checks if current password is valid <-here I hope to use the beforementioned DB function
    3.app issues the 'alter user identified by' statement

  • How do I share iphoto's pictures between multiple computers

    having converted from PC to the Mac I have almost 20,000 pictures in iphoto on my iMac and all lost the tags/people/locations that I had tagged using a PC application. I now need to retag all these using iphoto's people and locations and key words. This will take some time and I'm thinking of buying an Apple notebook so I can continue doing the tags etc while away from home or even while watching TV. Is it possible to share the photo's between 2 mac's and no matter which mac I'm using have all the tags etc stay intact? Or alternately will I have to some how export each time from the up to date iphoto and import onto the other machine? If I have to export and import then that will be a rather large file to move back and forth. Any suggestions?

    Welcome to the Apple Discussions. No, you would have to have the library on your laptop or on an external HD attached to your laptop. Depending on the size of the library you could put it on a flash drive and operated from it. It would work as I'm doing that now with one of my libraries and my MBP and iMac in creating a book. But it will be slow. If all you're doing is adding keyword and titles it should be a viable method. Faces will work but may be one of the slower features of this method as it requires frequent accessing of the files on the disk (I'm not sure of this last part, however, so take it with a grain of whatever).
    I would purchase a flash drive that had as fast an read/write capability as possible. Also format the drive to OS X Extended (journaled) before using.

  • Share airport disk file between multiple user accounts

    I am attempting to share my original airport disk file between the users on this computer. When I setup file sharing With Accounts the original file can no longer be seen.
    I have an existing file, I just want other users to access that same file.
    How can this be done?

    I am attempting to share my original airport disk file between the users on this computer. When I setup file sharing With Accounts the original file can no longer be seen.
    I have an existing file, I just want other users to access that same file.
    How can this be done?

  • How do I share one music library between multiple users on windows 8

    we just got our first windows 8 latop for the family.  I'd like to have one drive that has the sum of all the music for the house, so I'm looking to cosolidate the itunes purchases, a few laptops, three shuffles, an iphone, and an ipad.
    i'd also like to be able to let the kids manage their own lists in itunes from thier own user accounts, but not have duplicate music libraries.
    Any good consolidation / multi-device strategies?

    You would need to move the itunes folder to a location that both users have permissions to access such as the Shared folder or any folder on the root level of the macintosh HD.
    You can find instructions here http://support.apple.com/kb/HT1203 This method allows you to share the content without sharing the same library.

  • Using SSO username/password in java portlet for Database Connection

    Hi all,
    We implemented java portlet with environment Oracle Application server 10.1.2 and Portal 10.1.4
    At present we are picking the database username and password and connect string in properties and our
    java class is reading the properties file and connecting to database to fetch the records.
    Our idea is to not to pick the username/password and connect string from the properties file or
    not to configure the datasource in data_source.xml.
    Our Requirement is who ever login to the Portal(SSO) our java class should pick the sso username/password and
    connect to database to fetch the record(s).
    Because our database users are one to one mapped to sso user(s) of portal.
    We request anyone to guide us how can we do it or suggest any suitable solution for our requirement.
    Thanks
    Dan Tey

    I think this is a no-go, since you cannot retrieve a cleartext password from the OID if I'm correct.

  • Share Data Source between multiple report projects in Microsoft SQL Server 2012 Reporting Services

    I have a reports solution in 2012 which contains multiple report projects one each for target deployment folder and we use TFS 2012 for report deployment.
    We have a template project which has a bunch of template reports and all the datasources used in different reports.
    When I develop a report, I cannot "Preview" in TFS but, for deploy this used to work fine util the reports solution was in TFS 2010 & Visual Studio 2008 R2. Since we moved to TFS 2012 & SSRS 2012 not being able to deploy till I create all
    the necessary datasources for each project and now all the developers complaining that they cannot develop reports in TFS itself as they cannot preview (this problem was existing previously) and now not being able to deploy as it errors for each report "Could
    not find specified rds file". I tried messing around with the .rptproj file DataSources tag that did not help either by modifying it like below.
    <DataSources>
    <ProjectItem>
    <Name>DB.rds</Name>
    <FullPath>Template\Data Source\DB.rds</FullPath>
    </ProjectItem>
    </DataSources>
    Is there a way I could share a Data Source between multiple projects in Microsoft SQL Server 2012 Reporting Services?
    Thanks in advance.............
    Ione

    Hi ione721,
    According to your description, you want to create a shared data source which works for multiple projects. Right?
    In Reporting Services, A shared data source is a set of data source connection properties that can be referenced by multiple reports, models, and data-driven subscriptions that run on a Reporting Services report server. It must be within one project.
    We can't specify one data source working for multple projects. In this scenario, we suggest you put those reports into one project. Otherwise you can only create one data source for each project.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Any improvements in sharing an iPhoto Library between multiple users?

    It is possible and Apple Approved to share an iPhoto Library between multiple users, but the Library must be stored on a drive or disk image that ignores permissions:
    http://tech.kateva.org/2008/10/apple-supports-multi-user-iphoto.html
    This doesn't work for me. Has Apple changed anything with iLife '09 to make it easier to share a Library? For example, have they changed from the prior Package format?
    Message was edited by: jfaughnan

    Alternatives to a trip to the Terminal:
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc. The problem here is that OS X works very hard to keep your data safe and secure from the other users. You're trying to beat what's built in to the system. So, to beat the system
    Quit iPhoto in both accounts
    Move the iPhoto Library Folder to an external HD set to ignore permissions. You could also use a Disk Image or even partition your Hard Disk.
    In each account in turn: Hold down the option (or alt) key and launch iPhoto. From the resulting dialogue, select 'Choose Library' and navigate to the new library location. From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Lastly: This method seems a little clunky at first, but works very well. Most importantly, it uses the System to do the job for you.
    Create a new Account on your Mac, call it Media. Create an iPhoto Library there. (BTW: This will work for iTunes too.)
    Enable Sharing on the Library:(Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other accounts. In those accounts, enable 'Look For Shared Libraries'. The Library will appear in the other source pane.
    This means that both users will be able to see the pics. If you want to use a pic then simply drag it from the shared Library to your own in the iPhoto Window. This means that each user can have their own edits.
    If you want to add photos to the Library: Log into the Media account for that purpose.
    To make it all seamless: Set your Mac to log into the Media Account automatically. Set iPhoto to launch on log-in. Then switch to your own account using Fast User Switching.
    Net result: a Library that's permanently available to all users but also protected. Each user can have their own versions of the pics if they want.
    No partitioning, no permissions issues. Uses no extra disk space. What's not to like?
    Regards
    TD

  • Configuring usernames/passwords in Oracle DB

    Hi,
    I have the latest Weblogic 8.1. The usernames/passwords are stored in a table
    in Oracle database.
    Can someone explain to me (point me in the right direction in documentation) how
    to configure Weblogic to look up those usernames/passwords/roles in the Oracle
    DB?
    Currently, we have a web application that uses declarative security and I want
    Weblogic to look up the usernames/passwords/roles automatically.
    I know in Tomcat you can specify the datasource JNDI and tell it (in the xml DD)
    which table/column to user for usernames/passwords and which table/column to use
    to look up roles of those users. There has got to be something like this in Weblogic.
    I was a bit scared when I read in one of the documents that RDBMS is being deprecated.
    I must not be understanding the context of this properly.
    Could someone help?
    Thanks,
    Yaakov.

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Browser + Version: internet explorer
    - O/S + Version: windows 98
    - Error Msg: shared memory does not exist/cannot connect to oracle server
    Compared to all of you, I'm a very naive computer user. I've successfully downloaded the oracle 8i personal version. When I try to get into sql+, I can't seem to figure out a username and password. I loooked up some sort of usernames/passwords in a document about this thing and have tried all of the following many different times, in many different ways, for several hours now: scott/tiger, system/manager, sys/change_on_install. The scott/tiger works just fine at the university I attend, of course. If anybody has any suggestions, ideas for a dummy, thank you soooooooooooooooooooooooooooooooooooooooooooo much! Hi,
    I suspect, there is no database that is running for you to get connected to. You can try this.
    From dos prompt
    c:\> set oracle_sid = your_db_name
    c:\> sqlplus scott/tiger
    HTH

  • How to sync Firefox settings between multiple OS's on one computer or multiple computers

    I have three OS's on a single computer (XP SP3, WIN7 & WIN8. Each OS has it's own Firefox install and of course, different settings in each since they are all handled separately, I have no idea how to synch the user-data from all three different Firefox installations. My goal is to be able to boot up in any of the OS's and have the same user settings/details across all three.
    Once I get that figured out, then I can try to find a way to synch Thunderbird across all three OS's so that mail collected or sent in one OS is shared or synched with Thunderbird on the other two OS's.
    It's probably a tall order and not possible to accomplish, but if I don't ask then I'll never know.
    Thanks in advance for taking the time to read this.
    Ed ~ [email protected]
    Computer details: Windows XP SP3, Windows 7 SP1, Windows 8
    Asus P7P55D m/b, Intel i5 LGA 1156 cpu, Corsair water-cooled CPU HX1000, 16 GB RAM, 14 TB drive space, GT460 Video card, 3 Bluray optical drives, 5 printers, 2 scanners

    hello fastlane, for firefox you can use firefox sync to share bookmarks, passwords & history between your three OSs - [[How do I set up Firefox Sync?]]
    & for keeping your mails synced it's possibly the easiest way to use a mail-provider that offers IMAP, which keeps the mails on the server so that your mail program on any OS has the same data when it's connecting...
    (but we're not specialised on thunderbird here, you might head over to https://getsatisfaction.com/mozilla_messaging/ for more detailed questions).

  • Render farm between multiple os

    Hi All,
    I have a question about setting up a render farm for After Effects CC. Basically my main computer runs on OSX Maveriks, and I have two more Windows computers that I would like to help out rendering After Effects compositions. I have set up one of the machines with the After Effects CC render engine, and the Mac and other Windows machine have After Effects CC installed as part of the 2 machine license.
    When I setup a watch folder render from the first windows machine to the second one, everything works fine, but what I want to do is setup the render from my Mac to both the windows machines who are monitoring a network watch folder.
    Permissions are seemingly all in order, but if I set it up from the Mac both PCs give me the message: "Render control file not valid".
    I have searched all over the Internet for a solution, but there seems to be nothing there. Also, I suspected it might have something to do with the way a Mac does line endings in files compared to a Windows machine, so I rewrote the RCF file on the Windows machine itself, making sure it was in the right format, but this did not work either.
    Any help?
    With warm regards,
    Daniel

    hello fastlane, for firefox you can use firefox sync to share bookmarks, passwords & history between your three OSs - [[How do I set up Firefox Sync?]]
    & for keeping your mails synced it's possibly the easiest way to use a mail-provider that offers IMAP, which keeps the mails on the server so that your mail program on any OS has the same data when it's connecting...
    (but we're not specialised on thunderbird here, you might head over to https://getsatisfaction.com/mozilla_messaging/ for more detailed questions).

  • Connection without username, password or database name

    I'm trying to find an automated way (for a given dbms) to check whether a server name and port number correctly identifies that the given dbms is running at that location.
    For example, in MySQL, I can do something like:
    DriverManager.getConnection("jdbc:mysql://" + serverName + ":" + port + "/");
    So, I havent specified a username, password or database name. And this works (at least on my installation) by simply checking for an exception.
    My question is: Can I always rely on this for MySQL or does it depend on how the MySQL dbms is configured?
    What about MS SQL Server and Oracle?
    Any help, much appreciated.

    Your question was "Can I always rely on this for MySQ"No it wasn't. My question was:
    "Can I always rely on this for MySQL or does it depend on how the MySQL dbms is configured?"
    Its the bit between the "My question is: " and the question mark. I understand that if you chop the question in half then "no" is a valid answer but then thats not the same question.
    and the answer is[i] No! If your abilitydepends on the MySQL configuration then the answer to
    your question is still No because it means you
    can't always rely on it.
    Wrong again!
    If I was to ask "does it depend on how the MySQL dbms is configured?" then the answer is yes.
    I think "No, yes" is a better answer to the question. Although I think masijade answer is best.
    But anway, thanks for your constructive reply.

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

Maybe you are looking for

  • Vendor Interest calculation with penalty calculation

    Dear All, We have some requiremnt from my client. We receive Deposit from our Loan Creditor for a specified period and refund/payback the amount along with interest after completion of the tenure of the deposit. Meanwhile,if the depositor wants to wi

  • Steve Jobs Probably Uses A Blackberry

    I have had it with Iphones! My 1st generation Iphone was great for the first year until it conveniently developed dead screen spots at month 14. The "Genious Bar" told me that because I was out of warranty I would have to pay $199 for a refurbished f

  • LO delta data tablename in source system

    Does anyone know the table name where delta were stored after running the LO cockpit job to capture the delta? Thanks, Sharon

  • Problems with SB Live! 1024 and

    I've been given a?Sound Blaster Li've! 024 soundcard, (old,?but still?better than the onboard sound that I've been using), but?I'm having problems getting it to work with Windows XP. No matter what I do, I can't get any?sound from it. I've installed

  • Shapes are "paralyzed", cannot be modified

    I want to modify a shape or create a new one with the help of the menu "shape" ( "Form" in my German Language ) It is possible to alter the size of a marked shape but only in regard to proportion. If I apply the option of editing, those little red do