|
|
Accessing Windows login information from Java webapp
Can anyone tell me if it's possible, and how, to access Window's login
information from a java webapp?
The problem is that a client would like for our webapp to authenticate
like a .NET webapp - where the browser pops up a login dialog with the
username already populated and requesting their password.
Is this possible? How?
Thanks!
Chris
|
|
0
|
|
|
|
Reply
|
poster
|
9/11/2003 3:10:56 PM |
|
The username is in the system environment
Hugo
System.getProperty("user.name");
"Chris Campbell" <poster@chrick.com> wrote in message
news:e66c742a.0309110710.5e2a6980@posting.google.com...
> Can anyone tell me if it's possible, and how, to access Window's login
> information from a java webapp?
>
> The problem is that a client would like for our webapp to authenticate
> like a .NET webapp - where the browser pops up a login dialog with the
> username already populated and requesting their password.
>
> Is this possible? How?
>
> Thanks!
>
> Chris
|
|
0
|
|
|
|
Reply
|
Hugo
|
9/12/2003 9:19:56 AM
|
|
> Can anyone tell me if it's possible, and how, to access Window's login
> information from a java webapp?
>
> The problem is that a client would like for our webapp to authenticate
> like a .NET webapp - where the browser pops up a login dialog with the
> username already populated and requesting their password.
Look at NTDomain JAAS login module. Then Apache group should have a similar
package somewhere.
http://free.tagish.net/
If you are using IIS as the web server, you have to turn OFF anonymous
access. Then browsers should send the user's remote name.
|
|
0
|
|
|
|
Reply
|
X_AWemner_X
|
9/15/2003 11:27:46 AM
|
|
Chris,
Wedgetail has a solution that allows Java web apps to implement Windows
integrated
authentication which is what .NET apps do. This does not require a username
and password
but reuses the desktop login credentials. This also means you can delegate
to .NET applications.
Take a look at http://www.wedgetail.com/jcsi/sso
Bren.
"Chris Campbell" <poster@chrick.com> wrote in message
news:e66c742a.0309110710.5e2a6980@posting.google.com...
> Can anyone tell me if it's possible, and how, to access Window's login
> information from a java webapp?
>
> The problem is that a client would like for our webapp to authenticate
> like a .NET webapp - where the browser pops up a login dialog with the
> username already populated and requesting their password.
>
> Is this possible? How?
>
> Thanks!
>
> Chris
|
|
0
|
|
|
|
Reply
|
Bren
|
9/24/2003 7:45:35 PM
|
|
|
3 Replies
195 Views
(page loaded in 0.067 seconds)
|
|
|
|
|
|
|
|
|