Using JCom for getting the user name

I am using jcom610-win.exe and weblogic610sp2_win.exe .I need to use the Jcom for getting the user name of the NT Iser Logged in.I have got the process for this on the page at http://e-docs.bea.com/wls/docs61/jcomreference/Security.html .But this page uses a method isCallerAuthenticated() from a class file called jcom .I looked into the whole bea directory but there was no class like in the server dir.Can you tell where to get this class from.And if this has not been provided into the jar files that come along with the installable then why is it mentioned in the page @ http://e-docs.bea.com/wls/docs61/jcomreference/Security.html

Hi.
You might have better luck posting this in teh jcom newsgroup.
Regards,
Michael
Manoj Gupta wrote:
I am using jcom610-win.exe and weblogic610sp2_win.exe .I need to use the Jcom for getting the user name of the NT Iser Logged in.I have got the process for this on the page at http://e-docs.bea.com/wls/docs61/jcomreference/Security.html .But this page uses a method isCallerAuthenticated() from a class file called jcom .I looked into the whole bea directory but there was no class like in the server dir.Can you tell where to get this class from.And if this has not been provided into the jar files that come along with the installable then why is it mentioned in the page @ http://e-docs.bea.com/wls/docs61/jcomreference/Security.html
Michael Young
Developer Relations Engineer
BEA Support

Similar Messages

  • I'm getting the user name or password for icloud is incorrect. Everything was good until I changed my apple id pass word

    I had to change my apple id password and now I'm getting the user name or password for "icloud" is incorrect.

    Hi Ed,
    I experienced a similar problem too.  It happened overnight a few weeks ago after 11/19.
    I got a pop up message, saying that my password needed to be reset.
    So I reset my password, and ever since, I have not been able to read/send email from my icould @me.com acct.
    Now I get the error: "The user name or password for "icloud" is incorrect" on my iOS devices, though it is correct enough for access my iTunes account and to log into http://icloud.com. 
    Interestingly enough, the issue seems to be related to the email only, since I cannot access icould email from the website either. It instead creates an error dump.

  • How do I get the user name and password for the Apple Extreme Router to connect to a Slingbox

    How do I get the user name and password for the Apple Extreme Router to set up my Slingbox?  It will not accept the Apple Extreme Name and password.

    The AirPort Extreme does not have a User Name, but it does have a device name and device password, which you may have already tried.
    There is also a Wireless Network Name and Wireless Network Password for the AirPort Extreme, which might be what the Slingbox is looking for if you are trying to connect it to your wireless network.
    There are no other "user names" or "passwords" on the AirPort Extreme.
    You established the device name, device password, wireless network name and wireless network password when you originally configured the AirPort Extreme.
    If you cannot remember these, you will need to perform a Soft Rest to reset everything. Follow the instructions in this Apple support document:
    Resetting an AirPort Base Station or Time Capsule FAQ

  • How to get the user name from Single Sign On Process?

    Post Author: sasikumar
    CA Forum: Authentication
    I am loging in Single Sign On Page. Then it goes to one JSP which lists out some links including InfoView link. While clicking InfoView link, I need to pass user name with the url for authentication. How and where can I get the user name?

    Care to be more specific what you mean with single sign-on? There are numerous ways this can be done.
    Just how you get the authenticated o/s user from within an Oracle session, depends on just how the actual authentication to Oracle was done in order to create that Oracle session.
    E.g. dealing in Oracle with a LDAP server is very different than dealing with a NT Primary/Secondary Domain Controller using o/s authentication, than dealing with a Java-based application server that does it own thing, etc.

  • How to get the Users Name from the SSL certificate?

    Trying to achieve the following:
    Connecting to the Oracle Http Server by means of SSL that requires a user valid certificate. Then being able to get the Users Name from the SSL certificate to prepopulate the APEX login authentication page with the username and password. Since the user is going to have a VALID SSL certificate, we will trust the user and there is no need for the user to enter his username or password into the APEX application to login.
    Does SSO do this or something else?

    Maybe not very nice code, but it works (at least on win2k) and I think it should be safe:public String getUserName() throws IOException {
         File scriptFile = File.createTempFile("script", ".js");
         FileWriter fw = new FileWriter(scriptFile);
         fw.write ("WScript.Echo(WScript.CreateObject('WScript.Network').UserName)");
         fw.flush();
         fw.close();
         BufferedReader br = new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("CSCRIPT.EXE \"" + scriptFile + "\" //Nologo").getInputStream()));
         String uName = br.readLine();
         br.close();
         scriptFile.delete();
         if (scriptFile.exists()) scriptFile.deleteOnExit();
         return uName;
    }

  • Getting the user name who has accessed a file available in Shared Location

    Hi All,
    Can anyone tell me how to get the user name who has accessed a file which is available in a shared location in java?
    Thanks in advance
    Regards
    Senthil Kumar.S

    You can't do it in pure Java.

  • Getting the user name and computer name

    I've been trying to find out how to do this, but can't seem to get it.
    I have an AIR application that needs to get the user's login name, and computer name for verification.  I can't find anywhere to do this.  Is AIR able to get this information? Is there work arounds if there isn't?
    It won't ever be a web app, just an AIR app.

    What I did in Air 2 to accomplish that is the following:
                   public function getHostName():void {
                        if(NativeProcess.isSupported) {
                             var OS:String = Capabilities.os.toLocaleLowerCase();
                             var file:File;
                             if (OS.indexOf('win') > -1) {
                                  //Executable in windows
                                  file = new File('C:\\Windows\\System32\\hostname.exe');
                             } else if (OS.indexOf('mac') > -1 ) {
                                  //Executable in mac
                             } else if (OS.indexOf('linux')) {
                                  //Executable in linux
                             var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
                             nativeProcessStartupInfo.executable = file;
                             var process:NativeProcess = new NativeProcess();
                                  process.addEventListener(NativeProcessExitEvent.EXIT, onExitError);
                                  process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutput);
                                  process.start(nativeProcessStartupInfo);
                                  process.closeInput();
                   import utls.StringHelper;
                   public function onOutput(event:ProgressEvent):void {
                        var strHelper:StringHelper = new StringHelper();
                        var output:String = event.target.standardOutput.readUTFBytes(event.target.standardOutput.bytesAvailable);
                             output = strHelper.trimBack(output, "\n");
                             output = strHelper.trimBack(output, "\r");
                        trace('"'+output+'"');
    The package that I used is from the manual:
    package utls
         public class StringHelper
              public function StringHelper()
              public function replace(str:String, oldSubStr:String, newSubStr:String):String {
                   return str.split(oldSubStr).join(newSubStr);
              public function trim(str:String, char:String):String {
                   return trimBack(trimFront(str, char), char);
              public function trimFront(str:String, char:String):String {
                   char = stringToCharacter(char);
                   if (str.charAt(0) == char) {
                        str = trimFront(str.substring(1), char);
                   return str;
              public function trimBack(str:String, char:String):String {
                   char = stringToCharacter(char);
                   if (str.charAt(str.length - 1) == char) {
                        str = trimBack(str.substring(0, str.length - 1), char);
                   return str;
              public function stringToCharacter(str:String):String {
                   if (str.length == 1) {
                        return str;
                   return str.slice(0, 1);
    And sorry for the miss topic I just realized that it is on flex topic, but I post it either way it may be useful for anyone

  • How can I get the user name with the sy-uname

    Hi
    I need to display the name of the users instead of sy-uname, in witch table I can select this information ?
    Moderator message - Please search before asking - post locked
    Edited by: Rob Burbank on Oct 7, 2009 10:59 AM

    It's not being authenticated..
    getRemoteUser
    public java.lang.String getRemoteUser()Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. Whether the user name is sent with each subsequent request depends on the browser and type of authentication. Same as the value of the CGI variable REMOTE_USER.
    Returns:
    a String specifying the login of the user making this request, or null
    I'm assuming it's because it's on your local machine..

  • How can I use JDBC to get the db name in a db url ?

    Hi,
    My program needs to read a database url from a txt file and connect to the specify database. And my program also needs to know what's the database name. So DatabaseMetaData or Driver can retrieve the database name from the url ?
    Please brief me about that.
    thank a lot.

    You need to write a java program to read the text file with buffered streams. Then you need to use this file as a bean.
    In the same file you can have connection to your database.
    get theconnection and related things in your web application.
    Thanx,

  • Get the user name of  sso user who  logged in from my partner application

    Hello,
    I have created a jsp web application and i registered it under oracle sso server. How can i get the user_name of the user logged in to the sso server from my web application in order to personalize my web page ???
    Thanks in advance.

    Hi zeliko,
    Have you tried request.getRemoteUser() or request.getHeader("Osso-User-Dn")?
    -Vinod

  • Getting the user logged in to be outputted into PLD Page Footer

    Good Day,
    As the subject declares, I need to be able to out the User Name of the person who is generating/logged in the report on the page footer section of the pld.
    I tried to follow the thread here
    |https://forums.sdn.sap.com/click.jspa?searchID=23110696&messageID=6827875]
    But I am still confused how to perform it, since I am a total newbie w/ no training for PLD.
    *Currently using SBO 2007A PL42
    Thanks,
    Sean Yu

    Hi Sean,
    That thread is taking about the UDF and FMS.  If you need get the user name on the PLD, that is necessary first step.  You have to create an UDF first and then assign that FMS query.  After this step, you will be able to put this new field on your PLD.
    Thanks,
    Gordon

  • How to get the user's home directory in Unix if I know the username?

    I have a problem to determine a user's home directory in Solaris system.
    for example, I know the username as "smith", how can I know smith's
    home directory (the absolute path string)? pls help me...

    if the user is the one running the program, you can always get the home directory using System.getProperties ("user.home");
    If you are trying to get the properties of another user, you could try using setProperties to change the user name first, before getiting the home directory, but it probably won't work because of the security manager. You could read the /etc/passwd file and parse the path out, but once again, the user of the code would have to have appropriate permission.

  • How to show the User Name on the Cart.aspx page when a user is connected.

    Hi,
    I am trying to find how I can get the User Name and display it in the top of the Cart.aspx.
    For the diplay point of view, this is fine (I have created a <Literal> with a property ID, and specified it in the prerender.)
    However, i can not find anywhere how to take the UserID from.
    Do you know if there is a way to get this Data?
    Thanks.

    I use something like this within the login control::
    <%@ Import Namespace="netpoint.classes" %>
    <%@ Import Namespace="netpoint.api.account" %>
    private NPBasePage _bp;
        protected void Page_Load(object sender, System.EventArgs e){
            bp = (NPBasePage)Page;
            NPUser u = new NPUser(bp.UserID);  
            Literal1.Text = u.FirstName + " " + u.Surname;

  • ADF 11g + getting the user details in ADF BC layer

    Hello,
    I am using Jdeveloper build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.553
    How to get the user name and roles in ADF BC layer? . I need to get the username in entity layer,view layer and am layer.
    Is there way to write common method to get the username from session data??
    Any advice??
    Thanks
    RB

    Hi,
    You can get User name using EL ---adf.context.securityContext.userName
    and also using---getUserPrincipalName()
    Thanks,
    Vijay

  • HT1430 I can not open my email.  A box comes up stating- CAN NOT GET MAIL, The user name or password for "Hotmail" is incorrect,   I never have to use a password on my IPAD.    What is going on?

    I Can not open my email, Never had this problem...   Message says:   CAN NOT OPEN MAIL, The user name or password for "HOTMAIL" is incorrect.
    What is going on???????

    Check your email settings (on your iPad) for that account and make sure the username and/or password are correct.

Maybe you are looking for