KEY MAP FILE - To hide user id and password

I have read all the documentation on hiding your connection details from the URL using the key map file, but I have a problem:
I have several reports which all use the same user id and connection string. So all I want in my key file is the connection string, but because I don't specify a report in the key file I get an error.
In my cgicmd.dat file I have the following:
MyKeyName: USERID=my_user/my_password@my_database
However when I call the reports from a URL like so:
http://my_server/reports/rwservlet?MyKeyName&report=my_report
I get the error saying that no report is specified on the command line. Surely I don't have to create a key map file entry for every single report with REPORT=report_name????
I have also tried this URL which also gives me the same error:
http://my_server/reports/rwservlet?report=my_report&cmdkey=MyKeyName

Nr. 299696,
You are almost there. What you are looking for is a characters to put behind your key to enable that users specifies there parameters. In your case Reports name.
Please check cgicmd.dat for the correct characters. In the file there's lots of examples, so just search.
It might be ?* like
MyKeyName: USERID=my_user/my_password@my_database ?*
However, I'm not 100% sure on that and I don't have an environment right now to check. Please check the cgicmd.dat for the correct one, and then please update this thread.
Regards,
Martin Malmstrom

Similar Messages

  • How to hide user id and password for auto login in Analyzer 6.5?

    Could anyone tell me is it possible to hide the user id and password for auto login in Analyzer version 6.5 and how?Thanks in advance...

    Sainath,
    Referring admin guide as mentioned by Craig is good option.
    Let me give you few steps that I did in one of my projects.
    Open command prompt and navigate to the path "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client".. here you can see many see other utilities as well.
    drm-batch-client-credentials.exe is the one used to encrypt the userid and password.
    open this in command prompt and then choose the application to which you want to encrypt the password.
    then remove userid and password from batch script then run it... it does what you want

  • How to hide user id and password in batch scripts

    Hi,
    Can some one help me to hide the user id and password in batch scripts that used to automate Export and Action script execution process.
    Context : In my project client doesn't want display user id and password hence they are looking for secured way to hide them.
    Thanks for your answer in advance.
    Regards,
    Sainath.

    Sainath,
    Referring admin guide as mentioned by Craig is good option.
    Let me give you few steps that I did in one of my projects.
    Open command prompt and navigate to the path "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client".. here you can see many see other utilities as well.
    drm-batch-client-credentials.exe is the one used to encrypt the userid and password.
    open this in command prompt and then choose the application to which you want to encrypt the password.
    then remove userid and password from batch script then run it... it does what you want

  • How to hide user id and password in java

    Hi, I have a j2ee application and somehow they need to know the weblogic system id and password in order for their application to work. We are the administrators and we normally do not tell this id and password.
    Now, how can i suggest my application people to use an envrypted id and pass ....i do not know if boot.properties file could be used ?
    this is the id and pass to logim to the weblogic console.
    any suggestions please ?

    With a good enough hash function, hashes are effectively unique.
    Say I have a good hash function, H.
    Say I have a user, Bob. His password is "bobrocks".
    H("bobrocks") = 1B // in hex; really small hash, but this is an example.
    So I store in my database (bob : 1B)
    Bob wants to login. He types in his password, which I then hash. I compare this hash to the stored hash. They match, and Bob logs in. If you typed in "balogna", the hashes wouldn't match, and you would not log in.
    Note that the password database stores 1B - from this hash, you can't tell what the password is. You can, however, tell if someone types in a password that matches it.
    That's the simple version. I suggest you read some books, do some research, and ask some questions on the Cryptography forum to understand the whole thing.
    ~Cheers

  • REP-52005: The specified key userlogin does not exist in the key map file.

    Hi,
    I am using oracle 11g report server. I am getting the error of REP-52005: The specified key userlogin does not exist in the key map file.
    I updated the user_string in cgicmd.dat file. My cgicmd.dat file content is below
    ; OracleAS Reports Services                       ;
    ; CGICMD.DAT                                      ;
    ; Example CGICMD.DAT Mapping file                 ;
    ; Syntax: 
    ;      KEY : VALUE
    ; Where:
    ; KEY - the first argument of the rwservlet URL request (case sensitive).
    ; VALUE - command line parameters and/or special parameters.
    ; Keys can be referenced in the following ways:
    ;    1. Parameter on command line to the reports servlet
    ;          e.g. http://machine/servlet/rwservlet?KEY
    ;    2. Parameter on command line to a reports jsp
    ;          e.g. http://machine/mydir/myreport.jsp?KEY
    ;    3. Within a reports jsp - in the rw:report custom tag
    ;          e.g. <rw:report parameters="KEY">
    ; In addition to the Reports Server command line parameters, VALUE can include special parameters
    ; represented as "%X", where X identifies the parameter. Currently recognized special
    ; parameters:
    ;  %0 - %9 - 0..9 arguments from original rwservlet URL request. Note that %0 refers to the key itself.
    ;  %* - entire contents (all arguments) of original rwservlet URL request.
    ;  %D - request users to input database userid everytime they run the report.
    ;  %P - request for report parameter form in HTML format. It generates the PARAMFORM=HTML
    ;       construction on the first submission of the URL and PARAMFORM=NO upon parameter form submission.
    ; CGICMD.DAT Usage Notes
    ;   1. Multiple keys in this file MUST be separated by an EXTRA empty line.
    ;   2. Extra spaces are ignored. Multi-line entries allowed.
    ;   3. Lines starting with ";" character are treated as a comments.
    ;   4. Comments within a key or key value are NOT allowed.
    ;   5. NLS language support is provided and can be used (encoding should match the one
    ;      used in HTML request - no language conversion of any kind is attempted.
    ;   6. For %P special parameter, HTML format is by default mapped to the HTMLTABLE format in this release.
    ;      The HTML format in the future may be mapped to the HTMLCSS format.
    ;;;;;;;;;;;; Example Key Entries
    ;  Example 1:  Run a simple breakb report and output to HTML
    orqa: report=breakb.rdf destype=cache desformat=html server=repserver
    ; Example 2: prompt for userid the first time, then use database userid stored in the cookie subsequently.
    report_defaultid: report=breakb.rdf destype=cache desformat=html server=repserver
    ; Example 3: use %D to require user authentication every time
    report_secure: report=breakb.rdf destype=cache desformat=html server=repserver1 %D
    ; Example 4:  Take all arguments from URL and send it to the reports server
    run: %*
    ; Example 5:  Run breakb report with HTML parameter form.
    breakbparam : report=breakb.rdf destype=cache desformat=html server=repserver userid=scott/tiger@mydb %P
    ; Example 6: take all URL arguments, and also generate a HTML parameter form  
    runp: %* %P
    ; Example 7: Run an Express Report. Replace <MYHOST> with the name of the machine running the Express server. The
    ; builder on-line help explains the rest of the parameters (the /sl, st etc. etc.)
    express: report=my_expr_rep express_server="server=ncacn_ip_tcp:<MYHOST>/sl=1/st=1/ct=0/sv=1/" desformat=htmlcss userid=scott/tiger@mydb destype=cache server=repserver
    ;;;;;;;;;;;; Keys for Reports Demos
    ; Using default/in-process server.
    ; JSPs
    ;charthyperlink_ias: userid="scott/tiger@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=%DBHOSTNAME%)(PORT=%DBPORT%))(CONNECT_DATA=(SID=%DBSID%)))" %*
    ;charthyperlink_ids: userid=scott/tiger@ %*
    ;barcodeweb:         userid=oe
    ;parmformjsp:        userid=oe
    ;tutorial:           userid=oe
    ; Paper Reports
    ;xmldata:            userid=oe report=inventory_report.rdf destype=cache p_filelocation="http://%HOSTNAME%:%OC4JPORT%/reports/examples/xml_pds/scripts/" desformat=pdf
    ;barcodepaper:       userid=oe report=shippingmanifest.rdf destype=cache desformat=pdf
    ;distributionpaper:  userid=oe report=inventory_report_dist.rdf distribute=yes destination=exampledistribution.xml
    ;pdfenhancements:    userid=oe report=utf8test.rdf destype=cache desformat=pdf
    userlogin : userid=SYMFINBTOTEST@fin10r21 %*
    As in the above file i have added a key as userlogin at the end of the file. But the reports server does not take the key that i have given. I followed the same steps provided in oracle docs. I used "showmap" to check the cgicmd file that is used by the reports
    http://aspirevm8-17.aspiresys.com:9002/reports/rwservlet/showmap?server=bluQubeReportsAtLocalEnv&destype&userid=SYMFINBT…
    It shows me the content of the cgicmd.dat file and it also shows my updations. But in the "Parsed Map File Entries" it does not show my key value pair
    Parsed Map File Entries
    Return to Top
    Key Name
    Value
    runp
    %* %P
    breakbparam
    report=breakb.rdf destype=cache desformat=html server=repserver userid=scott@mydb %P
    report_defaultid
    report=breakb.rdf destype=cache desformat=html server=repserver
    run
    report_secure
    report=breakb.rdf destype=cache desformat=html server=repserver %D
    express
    report=my_expr_rep express_server="server=ncacn_ip_tcp:<MYHOST>/sl=1/st=1/ct=0/sv=1/" desformat=htmlcss userid=scott@mydb destype=cache server=repserver
    orqa
    report=breakb.rdf destype=cache desformat=html server=repserver
    Please help me to to make the key being populated here and being used by the reports server.
    Thanks,
    Priya

    uncomment #KEYPMAPFILE=CGICMD.DAT. remove the #
    then for development set
    reloadkeymap=yes (same file - rwservlet.properties).
    Now it should reload everytime. (otherwise for every change u need to restart oc4j_bi_forms)
    (For * production* may be you want to set reloadkeymap=no once all testing is done)
    see cgicmd.dat for many examples of using keymap file
    [ All Docs for all versions ]
    http://otn.oracle.com/documentation/reports.html
    [ Publishing reports to web - 10G ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [ Building reports - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [ Forms Reports Integration whitepaper 9i/10g ]
    9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    ---------------------------------------------------------------------------------

  • Strange problem with key map file 10.1.2

    Here is the entry in cgicmd.dat when running showmap:
    ssipdf: userid=user@conn destype=cache desformat=pdf report=%1 %*
    Here is the URL:
    http://localhost:8889/reports/rwservlet?ssipdf&refcritd.rdf&projectid=76
    I'm getting this message when using a key map file to run reports:
    REP-110: File 'refcritd.rdf=' not found.
    REP-0110: Unable to open file 'refcritd.rdf='.
    Where are these equal signs getting appended to the filename coming from??
    I know the report exists and works, because if I manually enter all the params in the URL the report runs fine.
    This was working in 9.0.4 and I copied the same cgicmd.dat file from that version.
    Any ideas?

    ssipdf: userid=user@conn destype=cache desformat=pdf %*
    Try this .....!
    There is a slight change in kepMap in Release 2

  • User Name and Password to file share OSX and Vista

    I have just bought a Laptop running VISTA for work. I want to share files between my i-mac and the lap top. I have managed to share from MAC > Vista but can not log onto the MAC from Vista.
    I map the drive using \\192.168.2.2\kemery and am then prompted for a user name and password so enter my MAC short name and password (administrator). The log on fails and returns "unsucessful" with the user name filled in as
    KeithEmery-PC\kemery. I have tried changing it to WORKGROUP\kemery but nothing seems to work.
    Please help - this is the last task on an otherwise simple setup!

    I left off the \\ that is before the 192.168.2.2 and it worked just fine for me. But I am using Vista Ultimate and this may or may not make a difference. Ultimate is suppose to have easier Networking set - up
    I map the drive using \\192.168.2.2\kemery and am
    then prompted for a user name and password so enter
    my MAC short name and password (administrator). The
    log on fails and returns "unsucessful" with the user
    name filled in as
    KeithEmery-PC\kemery.

  • REP-52005: The specified key rep_drill does not exist in the key map file.

    Hi
    I am using Forms and reports version 11.1.1.4.0
    Weblogic 10.3
    I wanted to create a drilldown report
    I have modified the cgicmd.dat file in the below location
    C:\ORACLE\Middleware\user_projects\domains\CL2DOMAIN\config\fmwconfig\servers\WLS_REPORTS\applications\reports_11.1.1.2.0\configuration\cgicmd.dat
    by adding the below line to the end
    rep_drill: userid=JOE/JOE123@JOEDB server=rep_wls_reports_dsv-002_2inst desformat=pdf destype=cache paramform=no %*
    restarted the reports server
    In CUSTOMERS.RDF I have placed a link on the customer field using the below code
    SRW.SET_HYPERLINK_ATTRS('TARGET="_new"');
    SRW.SET_HYPERLINK('http://192.168.1.1:9002/reports/rwservlet?rep_drill+report='||'CUSTOMERS.rep+P_CUCODE='||CHR(39)||:CS_CUSTOMER||CHR(39));
    There are so many parameters passing to the report JOBS.RDF
    When I run the report and click on the link it gives me an error
    "REP-52005: The specified key rep_drill does not exist in the key map file."
    When I replace the rep_drill in the link with
    userid=JOE/JOE123@JOEDB+server=rep_wls_reports_dsv-002_2inst+desformat=pdf+destype=cache+paramform=no
    the report work perfect
    Can somebody help me please

    I said
    REPORTS_URL value:
    http://appserver4.rockefeller.edu:7777/reports/rwservlet?report=
    It looks like you did the following:
    REPORTS_URL value:
    http://appserver4.rockefeller.edu:7777/reports/rwservlet?report=test.rdf
    Try removing the test.rdf.
    Anton
    p.s. If you want some detailed help with integrating Apex and Reports, you can contact me offline here: http://concept2completion.net/c2/f?p=9876:20

  • I am receiving the 'Could not sign you in [Access denied: 530]. Check your user name and password' problem on Adobe Muse CC 2014 and I cannot access the xml file that is supposed to fix this issue?

    I am a PC user and I have Adobe Creative Cloud Muse 2014. I have received the 'Could not sign you in [Access denied: 530]. Check your user name and password' error when trying to upload my muse site to my ftp host, GoDaddy. I have successfully done this in the past and only recently it has stopped working. I looked online at the FAQ Adobe Muse Help | Uploading an Adobe Muse Site to a third-party hosting service and it said to download the ftpprefs.xml file but this file simply leads to a blank page that says /*Not found*//*Not found*/.
    Can someone direct me to a working page with this file or provide a different solution? Thank you!

    Hello,
    As you are getting error [Access denied: 530] it means issue is with access. Either the username and password you are entering is incorrect or you do not have proper permissions.
    I would suggest you to contact Godaddy to either reset password or reset the permissions.
    Regards
    Vivek

  • How to read the data from a file in another computer with user name and password login

    How to read read the data from a file in anohter computer which need to login with user name and password?

    duplicate post:  http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2061478
    duplicate post:  http://forums.ni.com/t5/LabVIEW/do-need-to-enter-the-user-name-and-password-when-TCP-ip/m-p/2061612
    duplicate post   http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2060682

  • How can I hide the user name and password from the url address?

    Good afternoon every body,
    I have a form running with Oracle9i Developer Suite Release 2 and when I run the form on the web it shows the user name and password of my data base. Can anyone of you please help me to hide the user name and password, if there's any way of course?.
    Thanks a lot!!.

    Luis,
    Then, as inolau's notice, create logon screen (or use the default one) and force the users to logon at runtime. Do not pass username/password as parameters.
    inolau,
    True that if the connection is specified in the config it will be the same for everyone. However, every case is different. For example one of our apps gets S3 credentials (from non-Oracle S3) as session parameters. It uses this common db connection to validate some stuff with the database, read security definitions and then it re-connects the forms using the credentials.

  • When I try installing Firefox 6.0 from the binary file, a box with "Run As" in the type field appears, which asks me for user name and password. Please advise about the course of action that I should take.

    Trying to run it as the current user, or as one from a different account(administrator in this case) also doesn't work.

    I think the client is not able to do a HTTP POST
    to the WLS server but it can do a HTTP GET.
    I dont know why.
    http://manojc.com
    "Ganesh" <[email protected]> wrote in message
    news:3eba91bc$[email protected]..
    >
    Hi,
    I deployed a rpc web service using WLS 7.0 SP2 in HP-UX 11 environment.When I
    invoke the web service through my browser (IE 6.0) using the web servicesurl,
    it brings my service method correctly. From there, if I click the invokebutton
    it asks me for a network user name and password under "weblogic" realm???If I
    provide the admin user credentials (which I supplied while creating mydomain)
    it is not accepting that it keeps popping up this network user passwordwindow
    over and over. Not sure which username/password I have to provide here tosee
    the result of my service.
    If I try to invoke the web service through my client (static) I am gettinga connection
    refused exception. I guess either way, I am not able to access my webservice.
    In the attached file, I have cut and pasted the client stack trace as wellas
    the server log trace from weblogic.
    Any ideas would be highly appreciated.
    Thanks,
    Ganesh

  • Locked PDF files will not open with user name and password. Help?

    I go to school online and our eBooks are in pdf format. I download them to my MacBook so that I can read them offline. When I download them, they open as they always did but, when I put my username and password in to unlock them, it tells me something about the file is edited and a copy will be saved but, it never opens the file. I have adobe reader on it, I am getting frustrated! I don't want to be logged into class every time I am studying material. Any ideas? Thanks in advance - this is my first Mac so, bare with me

    Not using netwok magic. I shut it down when it comes up.  I have tried using 192.168.1.1 but still will not accept user name and password.  I never changed the factory default and it just continues to ask for the user name and password.  Web utility site will not come up.  I have a wired desktop as my main computer and that is the computer I have been trying to access the utility from. 

  • 11gR2- REP-52005: The specified key userlogin does not exist in the key map file.

    hi,
    i am getting this error "REP-52005: The specified key userlogin does not exist in the key map file." when running report using url
    http://myserver.com/reports/rwservlet?userlogin&report_server&report=myreport.jsp....
    i have added the key mapping entry in cgicmd.dat file with the name userlogin
    as
    userlogin: userid=scott/tiger@devdb %*
    report_server: server=cluster_reports %*
    but still this error,

    uncomment #KEYPMAPFILE=CGICMD.DAT. remove the #
    then for development set
    reloadkeymap=yes (same file - rwservlet.properties).
    Now it should reload everytime. (otherwise for every change u need to restart oc4j_bi_forms)
    (For * production* may be you want to set reloadkeymap=no once all testing is done)
    see cgicmd.dat for many examples of using keymap file
    [ All Docs for all versions ]
    http://otn.oracle.com/documentation/reports.html
    [ Publishing reports to web - 10G ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [ Building reports - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [ Forms Reports Integration whitepaper 9i/10g ]
    9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    ---------------------------------------------------------------------------------

  • REP-52005: The specified key replabel does not exist in the key map file.

    Hi,
    I am using oracle 11g report server. I am getting the error of REP-52005: The specified key replabel does not exist in the key map file.
    I updated the user_string in cgicmd.dat file but of no use. Plese kindly help me on the same.

    uncomment #KEYPMAPFILE=CGICMD.DAT. remove the #
    then for development set
    reloadkeymap=yes (same file - rwservlet.properties).
    Now it should reload everytime. (otherwise for every change u need to restart oc4j_bi_forms)
    (For * production* may be you want to set reloadkeymap=no once all testing is done)
    see cgicmd.dat for many examples of using keymap file
    [ All Docs for all versions ]
    http://otn.oracle.com/documentation/reports.html
    [ Publishing reports to web - 10G ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [ Building reports - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [ Forms Reports Integration whitepaper 9i/10g ]
    9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    ---------------------------------------------------------------------------------

Maybe you are looking for

  • CreateComponentsFromDescriptors doesn't work

    Hi all,      I set the application itself to have  creationPolicy="none" and then try to call  createComponentesFromDescriptors at the end of my event handler that  parses the configuration file. But for whatever reason, it still doesn't  instantiate

  • SoundtrackPro 3.0.1 and OS 10.6.5

    Just updated to 10.6.5 and SoundtrackPro will not launch. I get the message "Soundtrack Pro can not be opened because of a problem. Check with the developer to make sure Soundtrack Pro works with this version of Mac OS X. You may need to reinstall th

  • Payment block field is missing for special GL

    hi there, I'm implementing ECC6, and facing a problem that, when I do f-43 to invoice for special GL Vendor, the payment block is missing from the input screen, like it apply another subscreen for special GL. I haven't have this kind of problem befor

  • Oracle Application 11i

    Hi, Can anybody guide me to the doc which explains on integrating oracle Application 11i and Oracle Identity Manager. Like how prov, de-prov, recon accounts in oracle application 11i. Thanks

  • Empty Folders on Time Capsule

    Is there a way for me to find empty folders on my time capsule without looking in each one? I have all my music on there and know some of the folders/albums contain no files/songs. Thanks!