Get the NT user id from the getRemoteUser

Hi,
Presently, we have an intranet application ASP running under NT, when we receive
a request we can extract the NT user id from the getRemoteUser method.
Now, we want to rebuild this application with Servlet/Weblogic 4.5.1 under Unix,
but i not able to get the NT user id.
Does anyone know if I can do that ?
Patrick

Neil,
Does that mean that you can't get the CGI variables? There is no other solution
besides logging in the user? I'm trying to avoid this - as it would annoy our
users after awhile.
Thanks.
"Neil Smithline" <[email protected]> wrote:
Hi Patrick,
Do you mean the NT user ID of the server or of the client? I'm guessing
the
client. There is no way to get the user ID of the client. By using
the NT
realm you can allow them to reauthenticate with their NT username and
password. I understand that isn't quite as nice as the scenario you
have
with ASP though.
--- Neil
"Patrick Parent" <[email protected]> wrote in message
news:3a966b3d$[email protected]..
Hi,
Presently, we have an intranet application ASP running under NT, whenwe
receive
a request we can extract the NT user id from the getRemoteUser method.
Now, we want to rebuild this application with Servlet/Weblogic 4.5.1under
Unix,
but i not able to get the NT user id.
Does anyone know if I can do that ?
Patrick

Similar Messages

  • How can I delete the other user reviews from the apple app developed by me

    How can I delete the other user reviews from the apple app developed by me

    As a registered developer you have access to the registered developers discussions area and direct access to the appropriate Apple personnel in regards to such a question. Pretty sure app reviews can't be deleted, but this is far from the appropriate place to get an answer for this.

  • Accessing the Logon User Exit from the Internet using an ITS Service

    I can access the Logon User Exit (EXIT_SAPLSUSF_001) from R/3, but not from the Web using an ITS service. What am I missing in order to access the Logon User Exit from the Web. The ITS service was created from an ABAP screen program.
    Thanks
    david yee

    The SAPGui logon exit is called after successfull authentication has been completed and after a SAPGui session has been attached.
    If you logon via RFC, WebGui, ICM or the Wgate then this exit does not trigger.
    What are you wanting to add to your code after the logon ?
    An solution I have used is to create a wrapper RFC for a BAPI and create a webservice for the wrapper. Before calling the BAPI you can do whatever you want to from a security perspective.
    But for that you need to have an appropriate BAPI...
    Please explain what you want to do and what you would have wanted in the exit. Often there is a better way.
    Cheers,
    Julius
    ps: I moved this to the security forum.

  • Can I enable the root user account from the log in screen when I am locked out of the machine?

    Hello everyone,
    I am working on my friends mac to get it ready to sell. I went into the advanced options of the user and changed the name of the account. That's all I changed. I did read the warning that said if anything was changed it could cause damage, that's why I only changed the name of the user account. I didn't want to mess with anything else. Well, needless to say, I am locked out of the machine. Apparently the root user, system administrator, account was not enabled and I am stuck at the screen that I can get to with my installation disc. So how can I enable the root user account and get back onto the machine from the screen I am at? Can I enable the root user from terminal? I spent a good 8 hours yesterday researching this topic and have come up empty. Changing passwords from commands in terminal is not the problem. I am given just one account to choose from to log on and it's not accepting the password because of the changes I made in the advanced options menu.
    Is there any hope of getting this thing going again? Or have I just screwed myself over?
    Thanks for your help!
    Leah

    You can reset the password.
    http://pondini.org/OSX/Password.html
    Do you need to recover data from it before you sell it?  If not you can just wipe the disk and prepare it for sale.
    See  > Apple What to do before selling or giving away your Mac
    http://support.apple.com/kb/HT5189?viewlocale=en_US&locale=en_US
    Also See Thomas Reed's How to Prepare your Mac for sale
    http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/
    and this thread
    https://discussions.apple.com/thread/5474062?tstart=0

  • Cannot view the folder security after removed the default "users" group from folder

    Hi guys
    Due to the domain change, I am doing a windows 2003 server migration to windows 2012 for a file server.
    Tones of data have been copied from the old 2003 server to the new setup 2012 server.
    We need remove the "builtin\users" group from the folder security to maintain correct rights access of user to network folder.
    Once the "builtin\users" group has been removed, the account in domain admin group can no longer read the folder security.
    Has anyone faced the similar situation? 
    Or, is there any change in folder security rights of Windows 2012?
    Thanks in advance
    KC@ITL

    Hi,
    Glad to hear that the issue has been resolved.
    If you need any assistance in the future, please do not hesitate to post in our forum.
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • 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;
    }

  • Get the connected users count from sql server using powershell

    Hi,
    I am working on SharePoint 2013,I am having SQL server 2012.
    I want to get the Connected Users count from  sql server using power shell.
    Can any one please let me know how to implement.
    Thanks in advance.
    Regards,
    Phani Kumar R

    Sorry Tom, I dont like to hear "There is no way" :-(
    There is always a way in computer to get what you need (at least it is good as Rule of thumb). I am not sure we will find it here (in a voluntary supporting forum).
    Now we (or better the architect of their system) should think of the way :-)
    Of course doing so in the forum, while we do know the system and only got a glimpse on what is needed, is not the best idea. I will point some issues which can be related to a solution. Those are not a solotions as it is but something we can use for a solution
    once something look in the right way.
    * A web connects counter is one of the easier thing to do. The basic idea is just to use the connect event and the disconnect event an adding 1 or removing 1 from the counter. This is best to do in the application using static variable as any way the second
    the application is down the counter can be go to hell as we know there is no one connect (there for a counter do not use database usually). Using a web dot-net (or asp 3) application this is done most of the time using the global.asa/global.asax file, which
    include the application and session events. for example using the method Session_Start
    protected void Session_Start(object sender, EventArgs e) {
    // Code that runs when a new session is started
    * IIS have a build-in loging system where we can log each and every request/response or only logins users. There is lot we can do with this log files including data mining. Using small bulk insert script we can use the SQL agent to insert those logs to the
    database and get the information we need.
    * any web developer i want to believe know about the Fiddler application which we use to monitor traffic. A proxy is not the only way to to monitor traffic (it is not good for our case as this is in the client side), there are several option in the server
    side.
    * SQL trigger on logon can be use to get information on who is loging on and can be logging only specific source (like our sharepoint IP or any sharepoint application). This information (what is the application which connect to the server can be retrive
    in several solution without using a trigger as well)
    *** (I'll be brief ... I'm getting bored... probably the reader feel the same)
    * using extended events and/or profiler we can monitor any connection and save the data or just remember it in shared (static) variable (this
    blog show how to do it by the way). Again we can monitor specific application or use any filter in order to get only the sharepoint users
    .... and i can continue for several days more :-) ...
    "If there is a willing, then there's a way"
    "If you can't do it, Then someone else probably can"
    "Never say never"
    I hope this help somehow :-)
    [Personal Site] [Blog] [Facebook]

  • How to read User ID from the request Form and pre populating in the AD User process form before provisioning

    I am trying to read the user Id from the submitted AD User request form( Catalogue AD User form. I need User Id,firstname and lastname inorder to prepopulate the common name as in this format - lastname,firstname (userid)  for the user to be provisioned in Active Directory.
    So after filling the AD User request form with User Id and Organization and submitting the request, I am trying to
    prepopulate the common name in the process form before the provisioning.
    The prepopulate adopter for the common name is configured to read the firstname, lastname and userid. firstname and
    lastname variables are mapped to User definition and user Id is mapped to Process Data. In this setup I am not getting the
    User Id value from process data, it is empty.
    Is this a bug with OIM 11g R2 or I need to do it differently in order to read the user Id that user has entered in the
    request form for populating the common name?
    Thanks

    Ghulam Yassen wrote:
    How to get USER_ID and IP_AddressWhy exactly do you need this data and what do you plan to do with it?
    The data is not reliable and trustworthy. IP addresses can easily be spoofed (a few seconds if you know what to do and how to do it). Also, IP addresses are not static. Users also do not use the same network device to access the database - different devices will have different IP addresses.
    The o/s user on the client is supplied by the client driver. This can also be spoofed.
    The user can also use a virtualised device - which means that recording the IP and o/s user seen from the server side, is pretty much useless and meaningless.
    So if this data is intended to be used for auditing for example - it would be pretty suspect data to use for that purpose.

  • How to get the HTML Source code from the active browser ?

    Hi All,
    I need to get the HTML Source code from the active browser (IE). I tried with the below code, but I am not able to get the Source code all the time, with respect to the different applications (http or https) and the user authentication has to be changes in few applications (_I dont know or not able to given that in the below code_). More over there is also a dependence of the URL to get the HTML Source code.
    Therefore what I feel is getting the HTML Source code from the given or active browser will be consistent than the URL. Since the Source code is available in the browser (IE) . Please help me with a sample code to achieve this . . . !
    HTMLDocument doc=(HTMLDocument) kit.createDefaultDocument();
    doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
    URL url = new URL(strURL);
    Reader HTMLReader = new InputStreamReader(url.openConnection().getInputStream());
    kit.read(HTMLReader, doc, 0);Thanks in advance,
    Regards,
    Jothi Venkatachalam
    Edited by: j0o on May 7, 2009 3:11 AM

    The simple answer is: you don't.
    Not only is it simply not possible, but the entire concept of "the active browser" doesn't exist.
    You were on the right track with your code to retrieve the page directly from the server, but as you noticed that code will only work for regular http connections.
    For https and other protocols you will need to use appropriate libraries for each protocol. Something like Apache Commons can help you with that. There are networking libraries in there for a lot of commonly used protocols.

  • How to retrieve the all user name from system domain(including login user)?

    Hi, I am trying to get the system domain all users name. But I unable to get the all user name except domain login user name. I used the below code. What I want to do to get the all user name from system domain. Kindly any one help me.
    Properties envVars = new Properties();
    Runtime r = Runtime.getRuntime();
    String OS = System.getProperty("os.name").toLowerCase();
         if ((OS.indexOf("nt") > -1) || (OS.indexOf("windows 2000") > -1 ) || (OS.indexOf("windows xp") > -1) )
              p = r.exec( "cmd.exe /c set" );
         BufferedReader br = new BufferedReader ( new InputStreamReader( p.getInputStream() ) );
         String line;
         while( (line = br.readLine()) != null )
              int idx = line.indexOf( '=' );
              String key = line.substring( 0, idx );
              String value = line.substring( idx+1 );
              envVars.setProperty( key, value );
         String domainDNSName = envVars.getProperty("USERDNSDOMAIN");
         String userName = envVars.getProperty("USERNAME");
         System.out.println("\n\n\n DOMAIN NAME == "+domainDNSName +" USERNAME == "+userName);
    Thanks & Regards
    Palani

    Thanks kajbj,
    I don't know, How many users in domain. I neet to get all the user names from my domain. User like A, B,C,D, E,F. I need to get this users name.
    public class Env {
         public static void main(String[] args) {
              System.out.println("USERDOMAIN: " + System.getenv("USERDOMAIN"));
              System.out.println("USERNAME: " + System.getenv("USERNAME"));
    Here , I am getting the login user name only. So i needs all user name. How to retrive or get this.
    Regards
    Palani

  • TS3276 There are two User accounts on my iMac. The two Users have seperate email accounts.  Both email Mailboxes show up in each Account.  If I Delete Mailbox from in User account, does it delete the Mailbox from the other User account at the same time?

    There are 2 Users on my iMac.  Each User has their own email account.  Both account Mailboxes show up in each User's account.  If I delete a Mailbox in one account, does it delete the same Mailbox in the other Account? 

    If you click the - sign in Mail preferences, it will delete that mail account. If you just delete the Mailbox, that will just delete the Mailbox.
    Each user can put their own email account information in Mail when logged into their User Account.
    If you don't want the other user's mail account to show up in your mail application, then make sure the other user's messages are available to them when they are logged into their account and delete the other user account from Mail in your User Account. The other user can do the same when logged into their user account. Any messages stored in one locally will have to be transfered to the other's user account if it's not saved in their user login.
    In addition, instead of deleting the account at first, highlight the account and open the Advanced Tab and disable the account. That email account will dissappear from Mail. Once you decide that you don't want the account, you can delete it. If you need to get back to it to transfer messages, just re enable it.

  • I dowloaded ios5 for my iphone4, and when i finished the backup i lost all the music and all the videos i bought from the iTunes store. How can i get it back?

    I dowloaded ios5 for my iphone4, and when i finished the backup i lost all the music and all the videos i bought from the iTunes store. How can i get it back?

    Backup do not contaiuns music or apps, you will either need to resync them from your itunes computer, or you can go to purchase history in itunes or app store app and go to purchase history and redownload them.

  • How can I download music, etc. to my Iphone 5 from my 2 previous Itunes accts.? When I download from one acct. and then try to download the items from my 2nd acct. I am told it will erase the items I downloaded from the 1st account......How can I get all

    I have 2 Itunes accts. from previous Iphones. I now want to put the music, apps, etc onto my new phone from both accounts. When I sync one account to my new phone and try to sync the other items from my 2nd account - it wants to erase all of the items I synced from the 1st account. Please help! ????

    There is no solution other than getting all of your content into a single iTunes library. By design, iPhone syncs or manually manages with one computer/iTunes account at a time.

  • I have set up a second iTunes user account on my PC, but when I create the new iTunes account it copies the music, videos etc from the original account and they seem to be linked.  What am I doing wrong?

    I have set up a second iTunes user account on my PC, but when I create the new iTunes account it copies the music, videos etc from the original account and they seem to be linked, so that when I delete a song from one library it deletes from the other one. 
    On the online tutorials I've seen it shows that when you create a new iTunes library it should open as a blank account, but that isn't happening.
    What am I doing wrong?

    If you  have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
    If necessary:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

Maybe you are looking for

  • Crystal reports XI SP2

    Ok - so i have developed a lot of reports with CRXI, SP2 in VS2008 I deploy these to the windows 2008 machine which has the _2005 MSI redistribution packages installed If i'm on the machine (Terminal server into it), I get the reports - If I use the

  • How to get full screen on call of duty after mavericks upgrade?

    Can't get a full screen on 27" iMac for Call of Duty after upgrading to Mavericks?  Anyone know how?

  • Passing value from Forms to another Portal Object

    Hi, I created a Portal form and a customised button to display another form ,but i need to send the value of one of the field in the URL. write now i call the other form in the (OnClick)Java Event Handler of the Button , but it's not recognizing the

  • Accessing an Unknown User account

    Sorry if this is covered I could only find how to get rid on them and I need to access them not get rid of them. I had a system crash with a blue screen. When it came back there was only a temp profile loading. In System Properties under the tab Adva

  • Why can't I open my iphoto when trying to email or useing wetransfer?

    When I try to attach a photo through email (not using the app) or use WeTransfer for larger documents I cannot open iphoto like I used to. I recently updated my mac software to the newest one and then had to update iphoto to be compatable .  The regu