Meaning of userNameAs in IEssDomain.signOn() 9.3.1 Java API

Hi all,
have onyone of you tried the "new" (meaning v. 9.9.1 compared to version 7) parameter userNameAs
in IEssbase.SignOn?
exerpt from api doc:
public IEssDomain signOn(java.lang.String userName,
java.lang.String password,
boolean passwordIsToken,
java.lang.String userNameAs,
java.lang.String providerUrl)
userNameAs - The user name you want to impersonate. If null, no impersonation occurs.
My understanding is that I could connect with "userName"/"password", but act as "userNameAs". Is that correct assumption? I could not find any documentation regarding this.
During my tests I always get an error "Cannot connect to olap service. Cannot connect to Analytic Server. Error:Analytic Server Error(1051528): Unknown Error: Not a valid entry" when "userNameAs" is not null (but really existing user).
Any information regarding this is wellcome. Thanks.

yeah, null works just OK.
I had an idea that "userNameAs" might be usefull for SSO. We have an intranet portal and we have an "authenticated windows user id" available in the web-appl (feature of portal). If it would be possible to singOn with predefined user id (stored in web appl config), but act as real-authenticated user, this would be perfect SSO... but "userNameAs" != null always thows an exception...

Similar Messages

  • Sorry what do they mean by username

    i forget my enterpasscode can u halp me

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.

  • Passing username and password while calling the simple HTTP API

    Hi,
    I want to execute a graph by calling the http api from a java code. However, this gives me a 401 unauthorized http error as I am not passing the username and password to the clover http url.
    The following is the format of the constructed url. - http://<host>:<port>/clover/simpleHttpApi/graph_run?sandbox=<sandboxname>&graphID=graph/Baseline.grf&verbose=FULL
    Can anyone suggest how to pass user credentials to this url.
    Thanks

    Brett,
    Thanks for the response.
    The idea is to run the baseline graph using the simple http api and get the run id of the job. Then I plan to call
    this url - http://<host>:<port>/clover/simpleHttpApi/graph_status?runID=1310924&returnType=STATUS_TEXT&waitForStatus=FINISHED_OK by passing the obtained run ID of the previous job dynamically to this url. This status has to be read and printed on the screen. Now all this is easy to write using java and executing the java class using the JAVA EXECUTE component of Integrator ETL 3.1. My only problem is how do I pass the user credentials.
    Thanks

  • How to pass username/password to BPEL web service from java proxy?

    Hi all,
    Environment : SOA Suite 11g
    I am using basic http authentication in my SOA services using "oracle/wss_http_token_client_policy" policy. Now i need to invoke these SOA web services from a java proxy.
    Please let me know how this can be done.
    Thanks in advance

    Have you tried the below posts ?
    BPEL to invoke Webservice secured with HTTP Basic authentication
    Invoke a BPEL process using HTTP Basic Authentication
    http://docs.oracle.com/cd/E21764_01/web.1111/e13713/owsm_appendix.htm#CHDBAHBI
    Thanks,
    Vijay

  • Calling interface's methods

    How is it possible that we can call a method on an Interface declared by the Java API???
    Eg. How can I call "Enumeration.hasMoreElements()" when I know that it's an interface and doesnt have a concrete implementation???
    fun_one

    By this, do you mean to say that every interface
    defined in the Java API has some default
    implementation done by them???
    If YES, where are the implementations generally
    done???And why are we not told about the concrete
    implementations done by default, in the docs andother
    technically-related stuff???
    Thx for your response and time.
    fun_onehi, I have lost some question marks, you don't happen
    to have any spare
    ones do youHey silky, I do hava lot of question marks for me, and you tooo ;-). In fact, you can have a couple of 'em for yourself just beside your right SHIFT key on the keyboard. ;-)
    Anyway guys, thx for that really good stuff !!!!!!( now dont ask me for xclamation marks...hahaha...)
    fun_one

  • I want to change my username. the form went through when i was just seeing what was available

    i mean my username in apple forums.

    Sorry, but you can't. If you want a different name here, you'll need to create a new Apple ID and then log in using that ID.
    Regards.

  • Username for email setup

    Hey, 
    I've had my torch for a little over a year now and when I first set up my emails, everything worked perfectly fine with it, but now it won't let me recieve emails to my phone at all from my gmail account. My first problem was that I needed a password as I thought I knew my username, so I went on blackberry's website and changed my password. My problem now is that it still won't allow to use my setup and says the combination is wrong, which means my username is wrong. On the blackberry website it says my username is my email address and when i try to change it to a normal username, it says that it has to be an email address. But on my blackberry torch when i try to put in my email address as my username in my email setup it tells me that 'the username is invalid. A user name must be at least 4 characters' and I found out that it's the @ sign which makes it invalid. 
    How can I find what my username is, or change it so that I can restart my email or at least check that it works, because i cannot send emails either as it says that the account is in invalid mode. 
    Also, my wifi hasn't picked up any wifis at all, even though it used to. Is there anywhere I can turn it on or anywhere where I could possibly have something turned off without knowing it? It's very frustrating when it doesn't find any networks, when I'm standing right next to a perfectly working router. 
    Thanks, 
    Penny 

    You can always try going to your carrier's self-serve BIS site to set up email addresses on your phone (your carrier will help you with it along the way) or you can type www.blackberry.com/integrate from your phone's browser.
    I hope that helps you. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • How can I get the UserName in JAX-RPC?

    The client is just as following:
    import javax.xml.rpc.Call;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.ParameterMode;
    public class ACTRPCClient {
    private static String qnameService = "Hello";
    private static String qnamePort = "Greeting";
    private static String BODY_NAMESPACE_VALUE ="http://hello.org/wsdl";
    private static String ENCODING_STYLE_PROPERTY ="javax.xml.rpc.encodingstyle.namespace.uri";
    private static String NS_XSD ="http://www.w3.org/2001/XMLSchema";
    private static String URI_ENCODING ="http://schemas.xmlsoap.org/soap/encoding/";
    public ACTRPCClient() {
    public static void main(String[] args) {
    try {
    String endpoint= "http://127.0.0.1:8080/SOAPListener/Hello";
    ServiceFactory factory =ServiceFactory.newInstance();
    Service service =factory.createService(new QName(qnameService));
    QName port = new QName(qnamePort);
    Call call = service.createCall();
    call.setPortTypeName(port);
    call.setTargetEndpointAddress(endpoint);
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
    call.setProperty(ENCODING_STYLE_PROPERTY,URI_ENCODING);
    //here I set the username and password
    call.setProperty("javax.xml.rpc.security.auth.username","tomcat");
    call.setProperty("javax.xml.rpc.security.auth.password","tomcat");
    QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
    call.setReturnType(QNAME_TYPE_STRING);
    call.setOperationName(new QName (BODY_NAMESPACE_VALUE, "getHello"));
    call.addParameter("Greeting", QNAME_TYPE_STRING, ParameterMode.PARAM_MODE_IN);
    String[] params = { new String("Hello!") };
    String result = (String)call.invoke(params);
    System.out.println(result);
    } catch (Exception ex) {
    ex.printStackTrace();
    On the server side,I wrote a my own servlet to receive the soap instead of the jax-rpc.But I can't get the username from the request.
    for example,
    String username;
    username=request.getRemoteUser();
    I noticed that in the api doc,it says when the user has not been authenticated the method getRemoteUser will return null.So I use the username "tomcat" ,password "tomcat "in the tomcat-
    users.xml.But I still can't get the username,why?
    Thanks for your help.

    From the Axis I find the problem,the username and password is stored in the headers of the http.
    And now the jax-rpc only surpport basic authentication,we can get them by calling request.header("Authentication").Howerver,the infomation is encoded by Base64.We copy a module from the Axis to decode the infomation.That's it,but still thank your attention.

  • GetURL needs to incorporate username and password!!!!

    Hi,
    I need a Java program to go to a URL and then save the web page in a text file. I have successfully done this by finding the GetURL method (see bottom of page). But I need to do it for a URL where a standard username and password prompt appears. I know I need to use the following piece of code somewhere in the GetURL program to bypass this authorisation:
    HTTPConnection con = new HTTPConnection(this);
    con.addBasicAuthorization("protected-space", "goofy", "woof");
    The problem is that I am a complete Java novice and am desperately trying to finish a project, therefore I just don�t have the time to learn the language.
    Can someone PLEASEEEEEEE tell me how I can incorporate the above code into the following GetURL program (which I know works for URL�s without the authorisation needed):
    [by the way, the URL is in the program below and the username = Bazza99  and the password = upge5w7u]
    import java.io.*;
    import java.net.*;
    * This simple program uses the URL class and its openStream() method to
    * download the contents of a URL and copy them to a file or to the console.
    public class GetURL {
    public static void main(String[] args) {
    InputStream in = null;
    OutputStream out = null;
    try {
    // Check the arguments
    if ((args.length != 1) && (args.length != 2))
    throw new IllegalArgumentException("Wrong number of arguments");
    // Set up the streams
    URL url = new URL("http://www.advfn.com/cmn/fun/advfnFun.php?epic=BAA"); // Create the URL
    in = url.openStream(); // Open a stream to it
    if (args.length == 2) // Get an appropriate output stream
    out = new FileOutputStream("badata.txt");
    else out = System.out;
    // Now copy bytes from the URL to the output stream
    byte[] buffer = new byte[4096];
    int bytes_read;
    while((bytes_read = in.read(buffer)) != -1)
    out.write(buffer, 0, bytes_read);
    // On exceptions, print error message and usage message.
    catch (Exception e) {
    System.err.println(e);
    System.err.println("Usage: java GetURL <URL> [<filename>]");
    finally {  // Always close the streams, no matter what.
    try { in.close();  out.close(); } catch (Exception e) {}

    Hi,
    I wasn't sure how to incorporate your code into the GetURL program (afriad I am a java novice). I tried to run the code at the bottom of the page but it came back with the following error:
    java.io.FileNotFoundException: http://www.advfn.com/cmn/fun/advfnFun.php?epic=BAA
    Usage: java GetURL <URL> [<filename>]
    code run:
    import java.io.*;
    import java.net.*;
    * This simple program uses the URL class and its openStream() method to
    * download the contents of a URL and copy them to a file or to the console.
    public class GetURL {
    public static void main(String[] args) {
    InputStream in = null;
    OutputStream out = null;
    try {
    // Check the arguments
    if ((args.length != 1) && (args.length != 2))
    throw new IllegalArgumentException("Wrong number of arguments");
    // Set up the streams
    URL url = new
    URL("http://www.advfn.com/cmn/fun/advfnFun.php?epic=BAA"); // Create the URL
    URLConnection conn = url.openConnection();
    conn.setRequestProperty("Authorization", "Basic " + new
    sun.misc.BASE64Encoder().encode("(Bazza99):(upge5w7u)".getBytes()));
    in = conn.getInputStream();
    if (args.length == 2) // Get an appropriate output stream
    out = new FileOutputStream("baadata.txt");
    else out = System.out;
    // Now copy bytes from the URL to the output stream
    byte[] buffer = new byte[4096];
    int bytes_read;
    while((bytes_read = in.read(buffer)) != -1)
    out.write(buffer, 0, bytes_read);
    // On exceptions, print error message and usage message.
    catch (Exception e) {
    System.err.println(e);
    System.err.println("Usage: java GetURL <URL> [<filename>]");
    finally {  // Always close the streams, no matter what.
    try { in.close();  out.close(); } catch (Exception e) {}

  • While entering the username and password in OEM, it is showing error : java.lang.ClassNotFoundException: _database._instance._sitemap._sitemap

    After starting OEM and entering the username and password , it is showing error : java.lang.ClassNotFoundException: _database._instance._sitemap._sitemap

    >
    Your reply might be useful, but it is still not a suitable answer for my question. >You might try reading it again, because you've absolutely missed the point.
    >
    I am familiar with NetBeans, because I have built many websites by this tool before, I don't want to change to other IDEs, ..>Nobody suggested 'another IDE'.
    Oh, and your 'hurry' is none of my business or concern. But if you are in such a gosh-darn hurry, it might be useful to read replies carefully - otherwise you might end up wasting a great deal of time.

  • Webdynpro application taking MDM username and password from LDAP

    Hi All,
    I am working on EP-MDM integration.
    EP-LDAP , MDM-LDAP and EP-MDM have been integrated.
    The requirement is :
    When we run a webdynpro application from EP , it should take the user id and password of EP user who is currently logged in.(which is actually LDAP user and also exists for MDM) without hard coding it.
    The application will work according to the roles guaranteed to the user in MDM for eg: the user will be able to write into MDM only if he has read/write permissions in MDM.
    Please tell how the application will fetch the username and password from the EP details.
    Regards
    Shilpa

    Hi,
    You need to set a trusted connection between the EP and MDM System.
    And use the trusted connection JAVA API in the Web Dynpro to make a connection to MDM Repository. Trusted connection JAVA API will ask you only the username and not the password.
    Regards,
    Amol

  • How to fetch username and password.

    Hi Guys,
    I have a requirement of calling a secured web service on click of a button, which required the login credentials to invoke it.
    I am able to get username by using security context, but can't fetch the password.
    Please suggest me what should I do to get the password used to login.

    Hi ,
    For getting user name you can use ADContext.getCurrent().getSecurityContext().getUserName().
    But there is no such kind of method available for password. You can follow the below link
    SecurityContext (Oracle Fusion Middleware Java API Reference for Oracle ADF Share)
    Thanks
    Prabhat

  • Japanese username and user.home

    Hi,
    I'm using the Java plugin 1.3.1 on Win2000 and XP, and I have the following problem:
    I'm logging on a Windows machine using a japanese username. The user.home directory happens to include Japanese encoded characters. Because of this, the Java plugin is kind of going mad. It displays question marks instead of Japanese. For example, in the java console :
    User home directory(<-this is actually correctly displayed in Japanese): C:\Documents And Settings\???
    Then, it displays tons of 'NullPointerException' (probably because it can't find the user home directory correctly).
    I would like to know if this is a bug in the plugin, a limitation in the Java API or something else.
    Is there a way to overcome this problem ?
    Thanks
    Chris

    Hi
    I've found somekind of a work around, but it might mess up your windows security (if you use it).
    With JRE 1.3.x, you can override your USERPROFILE variable to set it to, eg c:\temp.
    This is the variable used by the JRE to determine the user.home value. Obviously, this redirects everything which happens in your user home directory (c:\documents and settings\xxxxxx) to happen in the new directory.
    With JRE 1.4.x, you can set USER_JPI_PROFILE. Java will then take this variable to use it as user.home, and not the USERPROFILE variable.
    I hope this can help you, it helped me a little (at least the JRE can start up).
    I also found out, that eg would you be willing to load a CJK font via Font.createFont, that it tries to access the java.io.tempdir. This is also interpreted incorrectly (since it is located under your USERPROFILE directory in Windows 2000). You can override this one to in java itself to make font loading correct.
    I hope this helps
    If I find anything else, I'll let you know
    Greetz
    Reinhart

  • I keep getting a this message after compiling....What does it mean?

    Note: C:\Work\ProjectFolder\Project\Login.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    Tool completed successfully
    Then after I recompile this is what I get...
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -help Print a synopsis of standard options
    Tool completed with exit code 2
    what does this mean?

    You're using an old method from an API that has been deprecated
    IE: it isn't recommended that you use that object/ object method/ objects' regular expression-function any more.
    Use this
    prompt>javac -deprecation yourProgramName.java
    then tell us what it says.

  • What's the real meaning of "JavaBean"

    What's its real meaning?
    Are HttpRequest,HttpResponse JavaBeans?

    What's its real meaning?
    Are HttpRequest,HttpResponse JavaBeans?No.
    http://java.sun.com/products/javabeans/
    JavaBeans are intended to be platform-independent reuseable program chunks. They require their methods to follow naming conventions so they can be universally recognized and applied.
    HttpServletRequest, and HttpServletResponse are dependent on Servlets. They are also interfaces. JavaBeans are classes (so they can carry their implementation around with them). These classes do have some methods that follow the JavaBeans specification, but (their wrapper classes) do not provide public empty constructor, the first requirenment of a JavaBean.
    Although they are not javabeans, you can use the methods that they have that follow the naming conventions (like request.getMethod() and request.getRequestURL() or response.isCommitted() and response.setContentType()) through JavaBeans mechanisms, like EL and JSTL - if you already have an instance of the objects you are working on (which you do in Servlets/JSP). You would not have access to their other - non spec. following - methods.

Maybe you are looking for

  • Subtracting Columns from Import File Using Import Script

    The file I am importing to FDM contains two amount columns, 1 Debit, 1 Credit. I want to have the Amount field populate as the Debit minus Credits. I have attempted an import script that is giving me an error in the bolded line: Function GBS_Amount(s

  • How do I install DS Mobile 600 on Mavericks

    I removed this scanner from my Printers & Scanners (under system preferences), and now I cannot re-add it, nor can I install the updated 10.9 driver from Brother with any visible result. I'm unable to run DS Mobile 600 and am assuming that is because

  • Provisioning Manager Business Edition on Linux

    Has anyone successfully installed and configured the Linux Version of Provisioning manager that came with the BE6000 8.6 bundle? I can get the IP/Network config done using the Quick Start Guide, but then the guide references logging in with admin, an

  • Navigation Error in Web Dynpro Application

    Hi All, I developed a web dynpro application with 2 views. I implemented the navigation paths(in and outbound plugs). I have a Next button in the first view and when I clicked the next button it opened the second view. It was working fine until, i cr

  • Syllabus for 10g RAC Exam & 10g DBA Track

    Hi all, Can anyone please provide me link from where i got Complete Syllabus for Oracle 10g RAC & 10G DBA Track Thanks in advance