Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NT authentication with Java

1 view
Skip to first unread message

jgricourt

unread,
Apr 27, 2011, 12:08:13 PM4/27/11
to
To: comp.lang.java.security
Hi,

I am looking for a way for my java application to get the current NT
user credentials along with the groups the user belong to. The user
should never login in the application doing so. The swing based
application run on a windows XP machine.

Any suggestions or hints will be appreciated,

JGG

---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Roedy Green

unread,
Apr 27, 2011, 12:08:15 PM4/27/11
to
To: comp.lang.java.security
On Fri, 30 May 2008 07:32:56 -0700 (PDT), jgri...@free.fr wrote,
quoted or indirectly quoted someone who said :

>
>I am looking for a way for my java application to get the current NT
>user credentials along with the groups the user belong to. The user
>should never login in the application doing so. The swing based
>application run on a windows XP machine.
>
>Any suggestions or hints will be appreciated,

This will be very NT specific, so you won't find it in Java. You will
have to figure out how to do it in C++ and glue it in with JNI.

see http://mindprod.com/jgloss/jni.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

news.sunsite.dk

unread,
Apr 27, 2011, 12:08:15 PM4/27/11
to

David Kerber

unread,
Apr 27, 2011, 12:08:16 PM4/27/11
to
To: comp.lang.java.security
In article <4846b65e$0$90265$1472...@news.sunsite.dk>,
ossi...@myrealbox.com says...

I use Neva Objects in a current project, and it works well for me.
There's a pretty steep (but short) learning curve if you're not familiar
with memory addressing/accessing (like I wasn't) for any Java-to-windows
calls, but if you're already a C programmer, you should have no trouble.

D


--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).

0 new messages