this code output some information similar to "set" in dos prompt, but how to
make the output format readable? Thanks!



Franco



-----Original Message-----
From: Joe Blow [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 2:19 PM
To: [EMAIL PROTECTED]
Subject: Re: taking NT Authentication for JSP App.


Hassan,

Try this to get the environment info.

import java.lang.System;

class ClientEnv  {
     public static void main(String args[])
     {
               System.out.println(System.getProperties());
     }

}


-Rizwan




                    "Dasti, Hassan"
                    <Hassan.Dasti@U      To:     [EMAIL PROTECTED]
                    SDOJ.GOV>            cc:     (bcc: Rizwan
Lodhi/US-Corporate/3M/US)
                                         Subject:     taking NT
Authentication for JSP App.
                    01/04/2002
                    01:55 PM
                    Please respond
                    to A mailing
                    list about Java
                    Server Pages
                    specification
                    and reference







Hi,

I am given a task to change one of our JSP Web Application's to
authenticate the user by his/her NT Login name and password.  Meaning when
the user who is correctly logged on to his Domain on NT machine comes to my
web page I should give him full access and the one who is not logged on to
his/her domain on NT should be given limited/guest access.  a guest would
be who is locally on any computer and not authenticated by NT user/pass.

Please give me some suggestions on how can Java/Jsp read information from a
computer to make a difference between and logged in person and a not logged
in person.

In DOS Prompt, I can do 'set' and view Environmental Variables about the
user and his NT Domain.  How does Java access this info I need some help on
that.

Thanks so much to all  who read and reply.

Hassan Dasti
Ext: 6-3709

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to