Set password for database connection at runtime

Hi there,
is it possible to set the password and/or the user for the database connection at runtime.
The use case is to read the values from a file and decrypt them, and the to establish the conenction. So that i don't habe to redeploy everything if there is a change.
Thanks in advance.

How exactly do i set these values for the datasource?
Edited by: Alex on 15.02.2012 09:50
€: JDeveloper 11.1.1.5.0
The use case is, that there is a file with an encrypted password. This should be decrypted and then be used for the connection. So when this encrypted passowrd changes, i don't want to edit and deploay the app once again. Instead the new encrypted password should be decrypted via code an then be used.
Edited by: Alex on 15.02.2012 10:00

Similar Messages

  • Any way to disable encryption of password for database connection pool?

    Dear all,
    Does anybody know how to disable the password encryption for jdbc connection pool under weblogic 8.1? I need to put clear text password in the config.xml but it seems there's no way to disable the password encryption. Any help is appreciated. Thx in advance.
    Paul

    paul wee wrote:
    Dear all,
    Does anybody know how to disable the password encryption for jdbc connection pool under weblogic 8.1? I need to put clear text password in the config.xml but it seems there's no way to disable the password encryption. Any help is appreciated. Thx in advance.
    PaulWhen you create the pool, don't give it any password at all, but when you add the
    driver properties, add
    password=mypassword
    as one of the properties.
    Joe

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • How to set password for Local are connection?

    How to set password for Local are connection?

    do you mean the 802.1x authentication?
    check out links below:
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_9_ea1/configuration/guide/scg/Sw8021x.html
    http://technet.microsoft.com/en-us/network/bb545365.aspx
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

  • Dynamic Parameter Prompting for Database Connection Password When schedulin

    I'm having problems with Dynamic Parameters when I try to schedule a report in InfoView.
    I create the report in Crystal Reports XI and publish it to the Crystal Server. I go into CMC and under Process:Database set the correct data source and enter the server, database, user and password.
    When the report is run I can choose a dynamic parameter and the reports runs fine - it's when I try to schedule the report and choose the parameter that I am asked to enter the user and password for the database.
    If the parameter is static it's fine and I don't get prompted. Because I want the end-users to schedule their own reports I need to have the user and password embedded in the report.
    From what I've read in the forums, there seems to be a lot of issues with dynamic parameters and database logons, and no real solutions. But this is just weird that it's only failing when I try to schedule the report!

    I am having the same issue. 
    Issue started on 9/25/2008
    Existing BO 11r2 installation including service pack 2
    Windows Server 2003 Service pack 2
    Existing scheduled reports do not exhibit this behaviour and run correctly.
    Add new or update existing report. Log into the CMC as administrator and set process for database and parameters.
    Exit CMC
    log into Infoview.  Click on report and run (as administrator OR as existing user with permissions) NO PROBLEM.
    Log into Infoview as Administrator or existing users with permissions) as attempt to schedule report.  All reports Any dynamic parameter and request for user name and password opens.  Once the correct info is entered the report can be scheduled.
    This is a new issue on our installation, we have been running without problems for over a year.
    Any help appreciated.

  • Could not load library for database connection LCA

    Hi,
    I am facing RFC connection prblem while connectiong to database. I have installed SCM5.1 and live cache in single server
    Please find the logs.
    Work process log:
    B Mon Jul 20 11:19:13 2009
    B  create_con (con_name=LCA)
    B  Loading DB library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll) Error 126 [dlnt.c       241]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll'
    [dbcon.c      4731]
    B  ***LOG BYG=> could not load library for database connection LCA        [dbds#1 @ 1035] [dbds    1035 ]
    A
    A Mon Jul 20 11:21:58 2009
    A  GENER starting remote generation: /SAPAPO/OM_SYNC_LC_DB (requested by W1).
    B
    SM21:
    No shared library found for the database with ID LCA|
    No shared library found for the database with ID LCA
    /SAPAPO/OM17|/SAPAPO/OM_SYNC_LC_DB|K |SAP Web AS Problem|SBAC   |
    Documentation for system log message BY G :
    As well as the standard connection, an attempt was made to set up
    another database connection, under the specified ID. The Shared Library
    for this second database could not be found.
    The Shared Library is usually found in the the Executable
    directory (profile parameter DIR_LIBRARY) under the name dbs
    <dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
    stands for the operating system-specific extension of the Shared
    Libraries.
    The database type is determined from the entry that corresponds to the
    specified DB ID in the table DBDCON. Check whether the data in this
    entry is correct.
    ST22
    Runtime Errors         DBIF_DSQL2_CONNECTERR
    Exception              CX_SY_NATIVE_SQL_ERROR
    Date and Time          20.07.2009 11:22:21
    Short text
    Error setting up a secondary database connection
    What happened?
    Connection to database system not possible with identifier "LCA".
    |----
    System environment
    SAP-Release 700
    Application server... "
    Network address...... "
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "8x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 8
    Shortdump setting.... "full"
    Database server... "
    Database type..... "ORACLE"
    Database name..... "SC7"
    Database user ID.. "SAPSC7"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 701
    created (date)... "Jul 6 2009 23:47:55"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "OCI_10201_SHARE (10.2.0.2.0) "
    Patch level. 50
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 701
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
    NT 6.0"
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSLCAPPS" - in
    "LCA_EXISTS_LCA_ROUTINE".
    The main program was "/SAPAPO/TS_BATCH_RUN ".
    In the source code you have the termination point in line 23
    of the (Include) program "LSLCAPPSU05".
    The program "SAPLSLCAPPS" was started as a background job.
    Job Name....... "MACROS"
    Job Initiator.. "SC7GEN"
    Job Number..... 10222002
    The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
    in
    procedure "LCA_EXISTS_LCA_ROUTINE" "(FUNCTION)", but it was neither handled
    locally nor declared
    in the RAISING clause of its signature.
    The procedure is in program "SAPLSLCAPPS "; its source code begins in line
    1 of the (Include program "LSLCAPPSU05 ".
    Please help me to resolve the issue.
    Suraj

    Hi Natalia Khlopina,
    I have raised OSS message to SAP.
    Below is the information
    E:\usr\sap\SC7\SYS\exe\uc\Copy_ of_NTAMD64_15062009>sdbregview -l
    Server Utilities    e:/sapdb/programs      7.7.02.08     64 bit    valid
    DB Analyzer         e:/sapdb/programs      7.7.02.08     64 bit    valid
    PCR 7301            e:/sapdb/programs      7.3.01.21               valid
    PCR 7500            e:/sapdb/programs      7.5.00.42     64 bit    valid
    SAP Utilities       e:/sapdb/programs      7.7.02.08     64 bit    valid
    APO LC APPS         f:/sapdb/lcs/db/sap    6.00.004      64 bit    valid
    Redist Python       e:/sapdb/programs      7.7.02.08     64 bit    valid
    Base                e:/sapdb/programs      7.7.02.08     64 bit    valid
    JDBC                e:/sapdb/programs      7.6.03.02               valid
    Messages            e:/sapdb/programs      MSG 0.5010              valid
    ODBC                e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 77           e:/sapdb/programs      7.7.02.08     64 bit    valid
    Database Kernel     f:/sapdb/lcs/db        7.7.02.08     64 bit    valid
    Loader              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 76           e:/sapdb/programs      7.6.01.15     64 bit    valid
    Fastload API        e:/sapdb/programs      7.7.02.08     64 bit    valid
    C:\Documents and Settings\sc7adm>disp+work
    disp+work information
    kernel release                701
    kernel make variant           701_REL
    compiled on                   NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  Jul  6 2009 23:47:55
    update level                  0
    patch number                  50
    source id                     0.050
    supported environment
    database (SAP, table SVERS)   700
                                  701
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    Windows NT 6.0
    Thanks for quick responce.
    Suraj

  • Last time, I've set password for if my iPod is lost, and now I forgot it

    Hi. Last time, I've set password for "Find my iPhone" if my iPod is lost and now I forgot the password for it. Is there any ways that you can help me to unlock it by today?

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store    

  • Set password for listener

    hi all.
    i am using oracle database 11g R2 and Oracle Enterprise Linux 5.5 64bit.
    i have been already set password for listener but when i start and stop then its not asking for Authentication?
    plz guide me thanks in advance.

    hi
    i have been already done that what you suggested for me,current listener is listener.
    even i used netmgr to check authentication tab.
    i am already member of DBA Group.
    here is my listener settings.
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    PASSWORDS_LISTENER = 587DE10070B3EF82
    #----ADDED BY TNSLSNR 06-MAR-2012 11:23:42---
    ADMIN_RESTRICTIONS_LISTENER = ON
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost2)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SAVE_CONFIG_ON_STOP_LISTENER = TRUEEdited by: Kelly on Mar 6, 2012 3:55 AM

  • I am using iPad1. Running v4.3 and when connecting to wifi iPad keyboard does not work. Keyboard works for everything else including typing this question out. Why would it not work when typingin password for wifi connection?

    I am using iPad1. Running v4.3 and when connecting to wifi iPad keyboard does not work. Keyboard works for everything else including typing this question out. Why would it not work when typingin password for wifi connection?

    Kowhai wrote:
    Lots of WIFI needs a username and password to get access. I guess you're lucky and yours is set up unsecured.
    Normal secured WiFi requires only a password to get access. The password is used to encrypt traffic between your device and the WiFi access point. If whatever you are using requires a username as well then it is not simply normal secured WiFi. It might be a subscription WiFi service like GOGO, ATT, etc., or a service with authentication, i.e., college campus, etc. To help you out we need to know what you are using and what connection dialog you are being presented with. You don't have exactly the same problem as the original poster. He is having a problem entering a password into the password dialog that iOS presents when one tries to connect to a normal secured WiFi network. Could you clarify exactly which WiFi service you are using.

  • Just bought an ipad mini.  It recognizes my internet connection but doesn't connect.  It shows a lock.  How do I get to where I enter the password for my connection?

    Just bought an ipad mini.  Trying to set up internet connection.  It recognizes my connection but will not load.  There is a padlock shown.  How do I get to where I need to enter the password for my connection?

    On your router/modem, there will be a Wi-Fi password. If you enter that into your iPad for your connection, then your iPad will have permission to connect to that access point and then you will be able to use your internet.

  • Set password for pdf,plzzzzzz help

    hello everybody,
    i'm developing a software in which i let the user to import their pdf and open those pdf .pdf will be open in a acrobot reader.
    now i want let the user to set password for his pdf file to protect his file from unauthorized access.
    until now i have found some APIs but they all having different problems and still i'm stuck there
    any one got the idea to help me to go furthure
    thx

    http://www.coderanch.com/t/63193/Other-Open-Source-Projects/iText-Action-password-protection
    - Saish

  • What is the factory set password for the administrator for a macbook pro 13" retina display?

    what is the factory set password for the administrator for a macbook pro 13" retina display?

    Welcome to Apple Support Communities
    Macs don't come with a password. You have to set up the password during the initial setup. If you have forgotten your password, follow these steps to reset your password > http://discussions.apple.com/docs/DOC-4101

  • How to set password for photos from home screen? Please help.

    Hi,
    Can anyone pls help to set password for my Iphone 4s.
    My friends/family often use my phone for gaming purpose. I don't want them to see my photos/gallery/videos.
    How can I protect my personal things from others?
    Thnx.
    Rgds.

    There is no way to set a password for photos. You could upload all of your photos to something like DropBox, then sign out of the app. Or, you could only let people you trust to respect your privacy touch your phone.

  • HT201304 How do I set password for all in app purchases?

    How do I set password for all in app purchases? xx

    In-App purchases cannot be made without entering your iTunes store account password.

  • Nokia C2-03 Set Password for Memory Card

    Hi All,
    I m using C2-03, I found an option to set password on memory card.
    Apps and Games > Memory Card > Mem. card opt. > Set password
    for my privacy I set a password but the Memory card still opens without asking. Can anyone plz inform me how do I secure my private data using password?
    Thanks,
    Khaild.
    Solved!
    Go to Solution.

    It will continue to open up without the password. The password will only be asked if you insert the memory card in a different phone and it is only required once. It will keep opening up normally from the next time.
    That password isn't there to keep your memory card protected inside your phone but instead to keep others from using your memory card. As long as the password is there, the phone can't be used on any other phone or even on a PC through card reader.

Maybe you are looking for

  • Regarding BI Authorization Issue

    Dear Friends, can anyone help me to solve this issue.. I have a Authorization Issue, u201CNO Authorization u201C Error : EYE 007 ( Insufficient Authorizations ) I have follow this stepsu2026 Steps 1 :- Define Authorization-Relevant Characteristics (

  • Save as word

    Hello, We just bought a new macbook pro, and one of the first purchases we made was Pages'11.  I am finding that while it "can" create word documents, when I open them on the PC the formatting is just off.  These are not fancy documents we are creati

  • Splitting of delivery based on Multiple TO's in ware house

    Hi, We have implemented SD and WM modules. We created a sales order for say 100 nos and created a delivery of the same quantity. System creates 2 TO's for the above quantity since we are using TO split functionality based on material lying in 2 bins

  • RFC Data not sending to Destination ( com.sap.aii.af.rfc.afcommunication.Rf

    Hi Experts,          i have created a TCP/IP connection in sm59 as ID4 with R/3 details. now i am calling a function module like this.   call function 'Z_CBT_RFC_SALESPERSON'        exporting             p_sdate       = p_sdate             p_edate   

  • Installing/uninstalling application

    i hope i am not asking some stupid question, but there are a few burning question in my chest and i can't find answer in Mac Help.I am completely new to Mac and its architecture. I just owned one for a few days and I am loving it :P. I am used to be