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
Roedy Green - 04 Jun 2008 12:06 GMT
>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

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
news.sunsite.dk - 04 Jun 2008 16:35 GMT
hallo
there are a number of com connectors for java. mainly commercial software:
com4j
http://com4j.dev.java.net/
ComfyJ
http://www.teamdev.com/comfyj/index.jsf
EZ-JCom
http://www.ezjcom.com/
Jacob:
http://sourceforge.net/projects/jacob-project/
http://danadler.com/jacob/
jacoZoom
http://www.jacozoom.com/en_jacoZoom.shtml
Java2COM
http://www.nevaobject.com/_docs/_java2com/java2com.htm
Jawin
http://jawinproject.sourceforge.net/
J-Integra
http://j-integra.intrinsyc.com/products/com/
J-Interop
http://j-interop.sourceforge.net/
OKEJA
http://www.javain.com/javain/oleja.jsp
at the moment we use the J-Integra libs to connect to microsoft exchange
/ active directory. but the other may do the same job.
good luck :)
links taken from:
http://groups.google.de/group/comp.lang.java.programmer/browse_thread/thread/71e
7deb325de4d1c/b320eb4877f7952c?#b320eb4877f7952c
jgricourt@free.fr schrieb:
> Hi,
>
[quoted text clipped - 6 lines]
>
> JGG
David Kerber - 05 Jun 2008 14:36 GMT
> hallo
>
[quoted text clipped - 26 lines]
>
> good luck :)
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

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