?
Solved

Getting Logged in user name using NTLM authentication

Posted on 2006-06-07
13
Medium Priority
?
477 Views
Last Modified: 2012-08-14
Hi All,
I want to get looged in user name using  NTLM authentication. I have searched the net with no luck.

Thanks,
Raj
0
Comment
Question by:rajaamirapu
  • 5
  • 4
  • 3
  • +1
13 Comments
 
LVL 8

Expert Comment

by:colr__
ID: 16851757
Do you want to extract the user name that is logged on, or add a NTLM style loggin process to your code?

colr__
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 16851778
I want to extract the user name
0
 
LVL 8

Expert Comment

by:colr__
ID: 16851814
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:colr__
ID: 16851824

String username = System.getProperty("user.name");

colr__
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 16852004
This is not the one i am looking for.
0
 
LVL 8

Expert Comment

by:colr__
ID: 16852605
What is it you are looking for?

colr__
0
 
LVL 10

Expert Comment

by:mukundha_expert
ID: 16858469
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 1000 total points
ID: 16858646
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 16862838
Hi mayankeagle,
The link suggested by you is working in tomcat. But in weblogic it is not working.

Any help is greatly Appreciated.

Raja
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 16868012
What is the error in weblogic? Maybe you missed adding a few JARs to the server's class-path.
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 16868375
No there is no error it just displaying a white page.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 16868434
Check the server's logs. Might be a problem with the sun.misc.BASE64Decoder class.
0
 
LVL 5

Author Comment

by:rajaamirapu
ID: 16868514
I got it know. Thanks a lot a for helping me. I will write a article regarding and share it with you.
You can also see my blog at http://rajaamir.blogspot.com

Thanks,
Raja
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month16 days, 18 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question