Dynamic userid and password configuration for spring DAO

Hi,
I have a requirement, For security reasons database username and password are changed every 15 days. and the username and password will be exposed via a webservice.
Now my query is how to configure the username and password dynamically in our project.
We are using JDBCTemplate to access datasource and execute queries.
Please help how to approach this problem.
Thanks,
Ashwin.

user10079988 wrote:
For security reasons database username and password are changed every 15 days. and the username and password will be exposed via a webservice. So "for security reasons" there is a webservice that publishes the login credentials to your database? That doesn't sound too smart to me.
How is that webservice secured?

Similar Messages

  • Hide userid and password

    How to make URL which should not show userid and password details for Forms and Reports.
    I am using Forms 10g.

    Hi!
    For running forms on the web without submit the username/password,
    just create a config entry in your formsweb.cfg for your application
    and write there a parameter userid=user/password@db.
    In the browser then just call http://yourpc:8889/forms/frmservlet?config=your_configFor Reports may you use the run_report_object build-in.
    Regards

  • SSO Configuration not working - Still asking for Userid and password

    Hi Guys,
    I have configured Portal to use with backend server. Configured WAS & ITS and created System Alias.
    For Testing SSO I did following steps on portal:
    System Administration > Support > SAP Appliction > SAP Transaction
    Selected system Alias and tcode se12. Selected SAPGUI for HTML. Pressed Go.
    Instead of SE12 screen, I get Logon Screen asking for USERID and password.
    I should be getting SE12 screen directly without entering USERID and PASSWORD.
    I tested with Transaction iView (SE12)  and getting the same logon screen. After entering userid/password  it displays SAP Easy Access menu instead of displaying SE12
    Please help.
    Thanks a lot.
    mini

    Hi Sandeep.
    Thanks for your reply. Here are the answers to your questions:
    1. Is the username same in the portal and the backend that you are trying to connect, ensure that there is the same username that exists in the system you want to connect to. YES
    2. The ticket is imported properly- check the ACL and Certificate list in Tcode STRUSTSSO2.
    Ticket is valid from 01 Jan 2009 to 14 Mar 2012.
    3. Check for the parameters in place login_accept_ticket = 1 and login_create_ticket = 2 and icm_hostname_full is set to FQDN. 
    In RZ10 it has 3 parameters:
    login/accept_sso2_ticket = 1
    login/create_sso2_ticket = 2
    icm/host_name_full = sapecc6.tri.com 
    4. What is the result when you test the system connection?
    WAS & ITS Connections are successful.
    Connection test for Connectors is giving following results:
    Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    My Connectors Details:
    Application Host : sapecc6
    Gateway Host : sapecc6.tri.com
    Gateway Host : 3301
    SAP Client : 800
    SAP Client : EC7
    SAP System Number : 01
    Server Port: 3201
    System Type: SAP_R3
    I am using same userid for Portal and backend.
    5. Are the 2 systems that you want to configure SSO in the same domain?
    I am trying to connect R3 to Portal.
    Please give me directions to fix the problem.

  • BSP - UserId and Password for Internal Users - Anonymous for other users

    Hello,
    We developed an application via BSP's. This application can be accessed by two kind of users.
    1. External Users, with should access the page without using a userId and password.
    2. Internal Users, they will have more authorisation and need to specify their userId and Password.
    How can we accomplish this? I tried internal aliases, but can't get it to work properly.
    In the first service 'zbsp' I didn't specify a userId and password in sicf.
    Then I created an internal alias 'zbsp' referring to this 'zbsp'. In this alias I specified a userId and Password, but the system still asks for a userId and Password. (and after logging in the system gives the following error: The application name in URL .../bc/bsp/sap/zbsp2/uat_report.htm is invalid.)
    What did I do wrong? Or are there other ways to accomplish this?
    Greetings,
    Bart

    Take a look at the following mesaages that discussed the whole SSO and SSO2 ticket logins.
    As for a way to handle the two different login types. Well first and formost - active the SSO Tickets on your system.  Set your BSP up for that.
    Then create a new starting page with an alias to the pöublic section for BSP's in your system. On this page make two links.
    For your external users - one that redirects to your BSP passing the user and password in the url for the "read only external user" - that's the sap-user=name here&sap-password=passwordhere.
    For your internal people give them simply the link to the BSP which when they click it will see no user name and password and redirect them to the BSP login.
    Make sure you setup the BSP login according to SAP note 517860 and follow the instructions from http://help.sap.com/saphelp_nw04/helpdata/en/1d/13c73cee4fb55be10000000a114084/frameset.htm using the supplied SYSTEM_PUBLIC)
    It's a bit basic but it works, we do it
    Oh and setting up the system for the SSO (transaction sso2) is very very simple!!

  • UserID and password  for DBA

    I installed SQL Developer but I do not know what is the userID and password for DBA

    Pl post your OS details, along with a link to what you downloaded and installed. SQL Developer is a client developer tool - it does not include a database. Did you install any database software and create a database ? Or already have a database that you can connect to ?
    HTH
    Srini

  • Losing ftp userid and password for all sites

    DW CS5 Version 11 Build 4913 on Snow Leopard 10.6.3. My Dreamweaver was updated yesterday I believe. Today, all my sites lost their ftp userids and passwords. I put information back in and now, once again, the information is missing. I don't know what to make of this. Is the problem related to the update or is it just post hoc ergo sum. I have a slight suspicion that Skype (one release behind) might have something to do with this.
    What would you do?
    Thanks in advance,
    Tom

    I think the  problem may be solved. I cleaned out the Mac keychain of related entries, and updated Skype. Interestingly, the Skype keychain entry  had information for one of the web sites. Hmmm.

  • Netflix prompting for userid and password - constantly!

    Hello,
    First some background.  I do not have apple tv powered or my wifi powered all the time.  When I want to use apple tv I power it up as well as my wifi.  My Netflix userid and password was stored in the app and I never got prompted for it.  As of last week, I noticed the Netflix app propmpts me for my userid and password.  When I left my apple tv and wifi powered up all day and then went back to netflix, no userid and password prompt.  Why did they change this?  Over the last few days, I am still be prompted for my userid and password.  (I use DSL). 
    Thanks,
    Charlie

    Why did they change this?  Over the last few days, I am still be prompted for my userid and password.
    THEY did not change anything.  You have been getting lucky.  Contantly restarting ATV and your router can, and usaully will change your IP.    When that happens you will have to re-authenticate.
    The other response is correct.  This is a problme by design.  Networks are not supposed to be powered down every time you stop using them.

  • How do pass the UserID and Password in the SOAP header for web services

    I am encountering issues trying to pass the userid and password in the SOAP header when consuming a 3rd party web service.  Rostewitz posted something similiar but I don't know how to type iv_xml.  Any help would be greatly appreciated.
    Thank you,
    jpina

    It helps to post a link to a thread when you refer to it.  If you are trying to implement that solution though, you can look at the parameter of the corresponding method being called.  The parameter has type 'SIMPLE' which means that it is compatible with all of the predefined elementary ABAP types.  In this case, you should use 'STRING'.

  • Where to set UserID and Password for NFS file share in Central File Adapter

    Hi All,
    Does anyone know if/where it is possible to set the userID and password if you want to connect to an NFS fileshare with the central XI30 file adapter?
    Cheers,
    Frank

    Hi Frank,
    The file adapter uses user ID SAPSERVICE... with the addition of the system ID of your SAP XI system. So if your system ID is EXD the user id which needs read/write access should be SAPSERVICEEXD.
    Have fun

  • Please help me for checking the userid and password process

    hi master
    sir how i find any record such as user give userid and password in normat textfield thad not bound with data provider only i drop in page and also i drop dataprovider in page and i check that userid and password from table
    if found userid and password in table then move user to next page oterwise give message not righet user
    i am use this code but this code give me error
    see
    try {
    RowKey userRowKey = customerDataProvider.findFirst
    (new String[] { "CUSTOMER.USERID", "CUSTOMER.PASSWORD" },
    new Object[] { loginUserId.getText(), loginPassword.getText() });
    if (userRowKey == null) {
    error("Invalid user id or password");
    return null;
    i try this but this command also give me error
    textfieldy.setValue(partytableDataProvider.getValue("PARTYTABLE.PARTYID"));
    ==========
    textfiedlsetValue(getSessionBean1().getPartytableRowSet().setObject(1,partytableDataProvider.getValue("PARTYTABLE.PARTYID"));
    ===========
    texfield.setValue(partytableDataProvider.getValue("PARTYTABLE.PARTYID").toString());
    see error
    Possible Source of Error:
    Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
    File Name: CachedRowSetDataProvider.java
    Method Name: getFieldKeyInternal
    Line Number: 481
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeyInternal(CachedR owSetDataProvider.java:481)
    com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKey(CachedRowSetDat aProvider.java:439)
    com.sun.data.provider.impl.AbstractTableDataProvider.findFirst(AbstractTableDat aProvider.java:143)
    logintestform.Page1.button2_action(Page1.java:442)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun
    please give me idea how i find record in table
    thank's
    aamir

    Hi ,
    Wondering if you were able to get past this issue. If not , I would suggest checking the prefix's on the metadata of the column name.
    Radhika

  • When starting webcenter domain, how not to enter userid and password?

    Dear All,
    I followed this link http://yonaweb.be/start_webcenter_domain in installing my webcenter domain and I was successful in setting my own webcenter and busy exploring the webcenter spaces.
    My only concern is that when I am starting my webcenter domain it always ask for user id and password for the weblogic.
    I created a small batchfile for this.
    call C:\Oracle\Middleware\user_projects\domains\webcenter_domain\bin\startManagedWebLogic.cmd WC_Spaces http://localhost:7001but how can I get away from typing the user id and password?
    Thanks

    >
    otherwise,you can specify the userid and password in boot properties file of your domain.
    \user_projects\domains\dryrun_domain\servers\AdminServer\security\boot.properties.
    # Generated by Configuration Wizard on Wed
    username={AES}dbjKVafUpVLPvTG04tGl12RJRCaYmU5dmv2Yw=
    password={AES}5WHBgndS2Fq2uoiIKKWI+rM2uwTPAYQ0I=
    replace the username and password with your credentials.There's a nice tutorial with screenshots describing how to do this here:
    http://st-curriculum.oracle.com/obe/fmw/wls/10g/r3/installconfig/enable_auto_login/boot_identity_file.htm#t4

  • Creating userid and password login from web page

    I want to create a page where i will have userid and password.When i log in it should check the username and password in the table.
    When i make a new entry also it should be added in the table
    Please help me how to proceed with this .
    Please help me in creating the html page also

    mod_plsql manual at:
    http://download-east.oracle.com/docs/cd/B25221_03/web.1013/b25599/toc.htm
    Configuration for mod_plsql:
    $ORACLE_HOME/Apache/mod_plsql/conf/dads.conf
    First thing to do is to ensure that mod_plsql works and can run your stored procs. Edit the dads.conf file (use dads.readme for instructions) and configure a DaD (Database access Descriptor) for you database.
    Restart Apache to effect the config change. I simply (and incorrectly) use $ORACLE_HOME/Apache/Apache/bin/apachectl - and it will tell you why it is not recommended and the correct command to run.
    The URL for will be something like:
    http://yourserver/dad/[schema.][package.]procedure[&parameters]
    The stuff in square brackets are optional.
    Create the following sample PL/SQL proc to call from the web browser:
    create or replace procedure Hello( cName varchar2 DEFAULT NULL ) is
    begin
    htp.prn( 'Hello World from '|| NVL(cName,'Nobody') );
    end;Make sure the Oracle user you configured the DaD with has exexcute rights on this procedure. E.g. if the DaD uses Oracle user WEB_USER to connect to the database and the procedure is created as SCOTT, then SCOTT must grant execute rights on the proc to WEB_USER.
    The web browser URL for calling this stored proc will look as follows:
    Without passing any parameters:
    http://yourserver/dad/scott.hello
    With passing the cName parameter as defined in the stored proc:
    http://yourserver/dad/scott.hello?cname=John
    As for the rest - you likely will need to use cookie authentication to "login" from a web page. Then you also need to determine just how you are going to use these session cookies on the database server side for security. How you're going to manage these cookies. Persist them in the database. Which also means managing session states for stateless clients via such a session cookie. Etc.
    This is not trivial to design, code and implement.
    Why not use Oracle Application Express instead?

  • Web report without userid and password

    Hi Experts,
    I exported a BW web report to excel spreadsheet and sent it through mail to others, When recepients tried to open that exported spreadsheet, It is prompting for userid and password. I dont want this to be happened and it should open without asking userid / passsword? Can any one suggest some clues onthis.

    Check to see if they are looking at the data or running the report.  If they are running the report, then they will be prompted for the user id and password.
    You can run the report for them and download the data only, then they will not get the prompts, however they will not be able to update the data or drill down.
    Alternatively, you can use the Broadcaster to send out the updated reports directly to them.
    Brian

  • How to encrypt UserID and Password in HTTP url

    Hello experts,
         We want to encrypt UserID and Password which has used in http URL in SAP PI 7.1.
    As we have used SOAP adapter with Transport Protocol HTTP for sender server.
    Kindly help us on it.
    Regards,
    Poonam.

    Hi,
    please go through below blog,
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04408cc-f10e-2c10-b5b7-af11026b2393?QuickLink=index&overridelayout=true
    please go through below threads,
    SOAP Envelope with user id password
    Soap ---to ----file scenario
    regards,
    ganesh.

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table.
    Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for data security...?
    In other words can the userid/pwd info from Oracle Profile Table imported and re-used in BO Enterprise Edition.

    If the users/pw are in an Oracle LDAP v3 compliant server then you can import them via LDAP plugin, else you would need to bring them in an enterprise users via script. The Import wizard can do this and the SDK (see the SDK forums for more info on how)
    Maintaining the passwords would be difficult unless you are using and industry standard directory like LDAP.
    Regards,
    Tim

Maybe you are looking for

  • How do I get Adobe reader to read a PDF book aloud?

    I am trying everythin, it just keeps reading the title of the document.

  • New From Template Changes Relative Links to Local Root?

    Thank you for taking the time to read and understand my plight with Dreamweaver CS3 for Mac. I apologize for the lengthy question, but in the effort to provide detail I shall go. First the background: I'm updating, editing, and appending an existing

  • Crystal report integration with CRM

    Hi, Guru: I would like to check with you. I need show a demo to integrate crystal reports with our CRM product. I know for CRM mobile (mobile system maintenance), we could have this option. however, my requirement is to seek any other options to inte

  • Problem transforming some tiff into jpg

    Hi, my problem is I'm trying to convert a tiff image into jpg image, my code it's working for some files but not with all, i'm receiving a String represent the tiff file in hex base and transform into baytearray of jpg my code is the next if someone

  • I can't believe I have to ask this...   I've minimized the "Data Provider" screen....

    Post Author: black CA Forum: General Feedback What an embarassing first post... I'm new to BusinessObjects (6.5.1) and half way through building a query I've minimized the "Data Provider" screen....  and can't restore it (can't even find it)...  it's