How to Hide username and password in command line using maxl

Hi,
How to encript my user name and password in command line prompt when I am login to Essbase server using batch file:
*1_Here is my batch file:*
Name of the bat file AV_Assig_Var1.bat
rem This batch file defines the following variables:
set $1 = 'admin';
set $2 = 'password';
essmsh AV_Asig1.mxl admin password
===========================
*2_Here is my maxl file:*
Name of the bat file AV_Asig1.mxl
/* Create a process log */
spool on to 'D:\lova\spool_log.txt';
/* login (using variables from a batch file */
login $1 $2 on 10.42.100.229;
/* create application and database */
create application AV_Asig1;
create database AV_Asig1.AV_DB;
/* End process log */
spool off;
exit;
*3_Command line prompt*
D:\Ess>AV_Assig_Var1.bat
D:\Ess>rem This batch file defines the following variables:
D:\Ess>rem 1: username
D:\Ess>rem 2: password
D:\Ess>essmsh AV_Asig1.mxl admin password
Essbase MaxL Shell - Release 9.3.1 (ESB9.3.1.0.0A181)
Copyright (c) 2000, 2007, Oracle and/or its affiliates.
All rights reserved.
MAXL> login admin password on *10.46.100.222*; /* I want to hide this information */
OK/INFO - 1051034 - Logging in user [admin].
OK/INFO - 1051035 - Last login on Monday, June 14, 2010 12:44:03 PM.
OK/INFO - 1241001 - Logged in to Essbase.
MAXL> create application AV_Asig1;
OK/INFO - 1051061 - Application AV_Asig1 loaded - connection established.
OK/INFO - 1054027 - Application [AV_Asig1] started with process id [6792].
OK/INFO - 1056010 - Application AV_Asig1 created.
MAXL> create database AV_Asig1.AV_DB;
OK/INFO - 1054014 - Database AV_DB loaded.
OK/INFO - 1056020 - Database AV_Asig1.AV_DB created.
MaxL Shell completed
D:\Ess>
I am looking forward to inputs from anybody.
Thanks & Regards,
Deepthi.

Beyond that thread, I gave a presentation at Kaleidoscope last year around MaxL that goes into quite a bit of depth re encryption and a whole bunch of other MaxL goodies.
To download it, go to www.odtug.com, click on Tech Resources, Essbase/Hyperion, and use the search box for MaxL.
There are two presentations, one by Tracy McMullen and the other by me. Tracy's is a good introduction to the various command groups; my presentation focused on a few areas in depth, one of which was encryption. The title is "Master Essbase with MaxL Automation".
You will need to join ODTUG to download the presentation, but there is a junior membership that is free.
Regards,
Cameron Lackpour
P.S. ODTUG Kaleidoscope 2010 is coming up in two weeks, starting on 27 June 2010 -- for those of you still on the fence, it is an awesome conference and I urge you all to come. The content this year will be fantastic.

Similar Messages

  • How to pass username and password to ftp server using jdk1.4

    My following codes runs fine when i give full access to the anonymous user on ftp server. But when the ftp server is password protected the code gives me error
    "sun.net.ftp.FtploginException"...How can i solve it???
    import java.net.*;
    import java.io.*;
    import java.security.*;
    class Dnet
    public static void main(String r[])
    try
    File fi=null;
    FileInputStream fis=null;
    BufferedReader buff=null;
    OutputStream os=null;
    InputStream ins=null;
    String s=null;
    String ar[]=null;
    int i=0;
    String li=null;
    String ht="i will be there for u";
    fi=new File("c:/nick");
    ar=fi.list();
    System.out.println(ar[0]);
    for(i=0;i<ar.length;i++)
    URL ul1=new URL("ftp://pg-12/satyen/"+ar);
    URLConnection ucon=ul1.openConnection();
    ucon.setDoOutput(true);
    os=ucon.getOutputStream();
    fis=new FileInputStream("c:/nick/"+ar);
    buff=new BufferedReader(new InputStreamReader(fis));
    while((li=buff.readLine())!=null)
    os.write(li.getBytes());
    os.flush();
    os.close();
    }catch(Exception e)
    System.out.println("error is: "+e);
    }

    Hi,
    you need to extend the URL to :
    ftp://user:password@host/path/file
    e.q :
    URL ul1=new URL("ftp://user:passwd@pg-12/satyen/"+ar);
    SKA

  • Hide username and password

    Dear all ,
    I am using 10g Application server .
    How can i hide username , password and connect strig while running report on web by web show document ?

    one alternative solution for hiding username and password is
    u can use frames.
    all u hav to do is the connection code should be written in the frame.
    cal this frame from where u hav to cal the report.

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How do I stop Firefox from filling in usernames and passwords when other people use my computer?

    When other people use my computer, how do I stop Firefox from filling in usernames and passwords?

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    Remove saved Password(s):
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    Password Manager:
    *http://kb.mozillazine.org/Password_Manager

  • How to set username and password before redirecting to a RESTful webservice

    I am a .Net developer who has developed a webservice used by my ColdFusion colleagues. They are using ColdFusion 9 but I'm not sure if they have incorporated any of the newer features of ColdFusion in their apps. Here is a snippet of how they have been invoking the webmethods:
    <cfscript>
                         ws = CreateObject("webservice", "#qTrim.webServiceName#");
                         ws.setUsername("#qTrim.trimAcct#");
                         ws.setPassword("#qTrim.trimpwd#");
                         wsString=ws.UploadFileCF("#qTrim.webserviceurl#","#objBinaryData#", "#qFiles.Filename#", "Document", "#MetaData#");
                </cfscript>
    As I understand things, the .setUsername and .setPassword correspond to the Windows credentials the CF Admin set when the URL of the .Net webservice was "registered" and given its "name" (for the CreateObject statement above). I have 4 webmethods that are all invoked in this manner and this SOAP protocol works adequately for us. Please note that this ColdFusion web app authenticates anonymous remote internet users by prompting for a username and password and compares them to an application database (i.e. Microsoft calls this "forms authentication"). Because only a few Windows domain accounts are authorized to call this .Net webservice, the above code always uses the same username/password constants and it all works.
    My question involves the newest webmethod added to the .Net webservice. It requires that callers must invoke it as a RESTful service which means it must be invoked by its URL. Here is a snippet of C# code that invokes it from an ASP.NET webclient:
                string r = txtRecordNumber.Text;
                string baseurl = "http://localhost/sdkTrimFileServiceASMX/FileService.asmx/DownloadFileCF?";
                StringBuilder url = new StringBuilder(baseurl);
                url.Append("trimURL="); url.Append(txtFakeURLParm.Text);
                url.Append("&");
                url.Append("TrimRecordNumber="); url.Append(txtRecordNumber.Text);
                Response.Redirect(url.ToString());
    I assume a ColdFusion script could easily build a full URL as above with appended querystring parameters and redirect. Is there some way for the CF code redirecting to a RESTful webservice (by way of its URL) to set the Username and Password to this Windows account mentioned above? When the DownloadFileCF webmethod is hit it must be with the credentials of this special Windows domain account. Can that be set by ColdFusion someway to mimic the result of the SOAP technique (the first snippet above).
    I hope my question is clear and someone can help me make suggestions to my ColdFusion colleagues. Thanks.

    Can you clarify what you mean by "establish a different Windows identity"?  Usually passing identity to a web site or service means adding something to the request's HTTP headers.  This could be a cookie in the case of .NET forms authentication or the "Authorization" header in the case of basic authentication.
    The SOAP web service invocation code you posted does use basic authentication, according to the CF docs "ColdFusion inserts the user name/password string in the authorization request header as a base64 binary encoded string, with a colon separating the user name and password. This method of passing the user name/password is compatible with the HTTP basic authentication mechanism used by web servers."
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec13a13 -7fe0.html
    If you need to mimic the SOAP techinque you should have basic authentication enabled for your REST service endpoints.
    If your authentication method is different then CF developers will need to add the appropriate HTTP headers to their service calls.  Note that calling a REST service from CF would probably be accomplished using the CFHTTP tag if the service is designed to be consumed by the CF server.

  • How-to access username and password protected Java EE Web services from ADF

    The title of this post is exactly the same as this article by Frank Nimphius:
    http://www.oracle.com/technology/products/jdev/howtos/1013/protectedws/access_protected_web_services_from_adf.htm
    The article addresses the problem of securing web services using usernames and passwords, when those web services are accessed through a proxy or a data control. In the examples, the user names and passwords are specified, whether in the code or the definition of data controls. (SKING/SKING).
    In a very common scenario, users login to reach a page, for example, A.jspx, which contains a button that calls a web service, for example displayDate. Suppose that user has logged in by username/pass of (AHUNOLD/AHUNOLD) and AHUNOLD has access to the service and the page. Is there any way to pass the logged in user name and password to the webservice ? Of course we can hard-code the username in the data control definition or proxy code, but this is just one of the thousands of users who have access to the service and the authentication is not dynamic this way.
    Hope my question is clear. Wishing you all a great Christmas.
    Farbod

    Hi Frank, and happy new year.
    Are you implying that it couldn't be done declaratively? What is your suggestion for this problem? You know the problem... As I described:
    - I need to secure my web services, so when exposed, no one from inside network or the internet, can access the web service without proper permission
    - The web services are shown as web controls on jspx pages. The user has logged in before reaching the page. It is irrelevant to ask him to enter user name and password again.
    - I have user names, passwords and roles in Oracle Internet Directory (Identity Management). It provides some APIs and I can retrieve the usernames and attempt logging in programmically. But how can I get username and password from the session in ADF application?
    I guess using SAML or certificate could be the solution, but I have a problem with SAML, described here:
    Re: Webservices Security, SAML, and Identity Management (OID)
    Best Regards,
    Farbod

  • Hide username and password while calling Oracle reports from  forms11g

    Is there any other methods to hide the username and password other than define keymapping in CGICMD.DAT file in oracle forms 11g.

    Hope fully following code of procedure will eliminate the username and password.
    PROCEDURE RUN_REPORT_OBJECT_PROC(
    report_format                VARCHAR2,
    report_destype_name     NUMBER,
    report_file_name           VARCHAR2,
    report_otherparam          VARCHAR2) IS
    report_message           VARCHAR2(1000):='';     
    rep_status           VARCHAR2(1000):='';
    vjob_id                               VARCHAR2(4000):='';
    hidden_action               VARCHAR2(7000):='';
    v_report_other               VARCHAR2(4000):='';
    i                                                  number;
    c                                                  char;
    c_old                                        char;
    c_new char;
    report_id REPORT_OBJECT;
    report_server_name      VARCHAR2(100); --Report Server Name
    report_dest                         VARCHAR2(100); --Report Destination
    reports_servlet               VARCHAR2(100); --Report URL
    report_path                         varchar2(100);
    v_port                                   varchar2(10);
    BEGIN
         reports_servlet := 'http://localhost:7778'/reports/rwservlet';
         report_path := report_dest||report_file_name;
         report_id:= find_report_object('rep_obj');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,report_path);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,report_server_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,report_destype_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,report_format);
         hidden_action := hidden_action ||'&report=' ||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME);
         hidden_action     := hidden_action ||'&destype=' ||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE);
         hidden_action     := hidden_action ||'&desformat='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT);
         hidden_action     := hidden_action ||'&userid='     ||GET_APPLICATION_PROPERTY(username)||'/'||
                                       GET_APPLICATION_PROPERTY(password)||'@'||
                                       GET_APPLICATION_PROPERTY(connect_string);
         c_old :='@';
         FOR i IN 1..LENGTH(report_otherparam) LOOP
              c_new:= substr(report_otherparam,i,1);
              IF (c_new =' ') THEN
                   c:='&';
              ELSE
                   c:= c_new;
              END IF;
              -- eliminate multiple blanks
              IF (c_old =' ' and c_new = ' ') THEN
                   null;
              ELSE
                   v_report_other     := v_report_other||c;
              END IF;
              -- save current value as old value
              c_old := c_new;
         END LOOP;
         hidden_action := hidden_action ||'&'||v_report_other;
         hidden_action := reports_servlet||'?_server='||report_server_name||hidden_action;
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'pfaction='||hidden_action||' '||report_otherparam);
         report_message     := run_report_object(report_id);
    rep_status      := report_object_status(report_message);               
         IF rep_status='FINISHED' THEN
              vjob_id :=substr(report_message,length(report_server_name)+2,length(report_message));           
              WEB.SHOW_DOCUMENT(reports_servlet||'/getjobid'||vjob_id||'?server='||report_server_name,' _blank');
         ELSE
              null;
         END IF;
    END;

  • How to extract username and password from CRMOD

    I have a requirement where i have make a jsp paget hru which user can upload doc in UCM and embed in CRMOD using Web Applet.But at the backend the UCM requires CRMOD username and password.How can i extract username and password frm crmod using java.

    You can get this info from your ISP. This one may help.
    Create a Broadband connection using PPPoE in Windows Vista and Windows Server 2008
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to supply username and password for consuming webservice in BizTalk Adaptor?

    While I hit the web service directly , I am able get response from that service, it asked for username and password, after that it processed the request and gave expected output. I am trying to consume the same web service (https) from BizTalk orchestration
    ,  it created message type , port type, binding for me , all fine, but while sending message to the webservice , it throws error like this 
    <SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wd="urn:com.abc/bsvc">
    <faultcode>SOAP-ENV:Client.authenticationError</faultcode>
    <faultstring>invalid username or password</faultstring>
    </SOAP-ENV:Fault>
    I have given username and passoword in port level. I tried basic binding, I also tried wcf_basic binding , but no luck. These bindings were generated by wizard only, I Imported those bindings , ports got created, I just added username and password in the
    port level.
    How should I supply username and password in BizTalk to get this working ? Any inputs would be greatly appriciated
    Regards
    Vivek

    Hi,
    the way to resolve this is to write a Wcf Custom Behavior.
    Several people have blogged about this and Microsoft have written some articles:
    http://social.technet.microsoft.com/wiki/contents/articles/627.using-custom-behaviors-with-the-biztalk-wcf-adapters-part-2.aspx
    http://msdn.microsoft.com/en-us/library/cc952299(v=bts.10).aspx
    The articles are old so you need to verify they still apply.
    mark

  • How to change username and password

    How can you change username and password for icloud under settings on iPhone?

    Scroll to bottom and tap the big red Delete Account button, then sign back in with the correct username and password.

  • How to know username and password from existing PPPOE broadband connection?

    Hi All,
    I am using windows server 2008 R2, and now I've used PPPOE broadband connection to connect the internet. what I am asking is how to know the username and password from my PPPOE setting, I have the requirement to create same setting in the difference machine.
    thanks.

    You can get this info from your ISP. This one may help.
    Create a Broadband connection using PPPoE in Windows Vista and Windows Server 2008
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to change username and password in application connection?

    Hi all!
    when i create a application connection(10gAS), i must enter ias_admin and password, and EJB connection i must enter one user. but i don't know which user.
    can you tell me user and password of that user?
    and if i want change username and password then how must i do ?
    thanks!

    you may change the userID/ passwd from menu or create conn segment for each of the userID/ passwd combination .

  • How to give Username and password when calling HTTP page?

    I have this code when i run this I get credentials error. How to give credentials .The authentication is set to windows in the https page. Means pop up will appear to get the credentials
    declare
    req UTL_HTTP.REQ;
    resp UTL_HTTP.RESP;
    value varchar2(1024);
    p_url varchar2(4000);
    OPT varchar2(1000);
    BEGIN
    dbms_output.put_line('');
    p_url:='http://www.xyz.com/';
    dbms_output.put_line(p_url);
    req := UTL_HTTP.begin_REQUEST(p_url);
    utl_http.set_header(req, 'User-Agent', 'Mozilla/4.0');
    resp := utl_http.get_response(req);
    loop
    utl_http.read_line(resp, value, true);
    dbms_output.put_line(value);
    end loop;
    exception
    when utl_http.end_of_body then
    utl_http.end_response(resp);
    END;
    When i run this i get
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>401 - Unauthorized: Access is denied due to invalid credentials.</title>
    <style type="text/css">

    Basic authentication is set using the UTL_HTTP.Set_Authentication() call.
    If you are using a proxy and need procy authentication, you can set the username and password for proxy access, as part of the proxy URL. E.g.
    utl_http.set_proxy( 'http://proxyuser:[email protected]', null );NTLM (Windows NT LAN Manager) authentication is proprietary and not part of the HTTP specifications. If that is needed, try and use the username and password as part of the URL - or do some research on how to manually perform NTLM authentication.
    If you are using HTTPS, you need an Oracle Wallet with that server's certificate (making it a trusted certificate), and then set/use the wallet using the UTL_HTTP.Set_Wallet() call. See sample code in {message:id=10820182}.

  • How to send username and password to XISOAPAdapter

    Hi,
    Can someone please provide a sample piece of source code showing how I can invoke the SOAP Adapter, sending an XML payload and also pass the username and password?
    Many thanks
    Brian

    Hi Peter,
    You're correct. We actually have a mobile c# client running on smartphones (some Pocket PC 2003, some Windows Mobile 5 and now Windows Mobile 6). We are attempting to convert from Business Connector to PI.
    Because of scalability issues with SAP Web Dispatcher we are not using it, but instead we are going PDA <-> Microsoft ISA Server (using Active Directory cert authentication) <-> PI <-> ECC
    So we need to provide a client Certificate for ISA but also username/password for XI SOAP Adapter
    The problem is there seems to be limitations in the mobile c# SSL capabilities so we are trying to understand whether there is some way to send the username and password as header variables.
    thanks
    Brian

Maybe you are looking for

  • Accessing MyClass in a JSP?

    I have some classes that I've put in a jar file, samp.jar Where should I put this jar file if I should be able to use the classes in it? I have not packaged the classes... I just have them archived in samp.jar Also, where is a packaged class to be pu

  • Email Bounce Back

    Hi, The email will auto bounce back if I send email and the recipient is point to my contact group. How to solve this issue. The bounce back email is shows below: Delivery has failed to these recipients or groups: [email protected]? The format of the

  • MTS configuration problem on Oracle 9i.

    Hi all, I want to configure MTS for my database(versionn 9i Release 2).I add the following lines to initSID.ora file: dispatchers="(protocol=tcp)(service=oracle92)" max_shared_servers=10 local_listener="(addres=(protocol=tcp)(host=myhostname)(port=15

  • Can Anyone Explain "Mailbox Behaviors" Settings for Mobile Me Account?

    I'm confused on what to expect with syncing to my Mobile Me account and Mail.app. There are three setting you can adjust to either iPhone or Server Drafts Mailbox Sent Mailbox Deleted Mailbox How does setting these to iPhone vs Server affect syncing

  • My Touchsmart Tiles do not work. I can't find the software - Help!

    All of a sudden, I can't open Touchsmart to use my tiles.  All the Icon does is open - but the tiles won't work.  I think the software might be gone.  What can I do.