Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / June 2008

Tip: Looking for answers? Try searching our database.

NT authentication with Java

Thread view: 
jgricourt@free.fr - 30 May 2008 15:32 GMT
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).



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.