Windows authentication using java

Reply

Join Date: Feb 2008
Posts: 8
Reputation: rajeshwarreddyt is an unknown quantity at this point 
Solved Threads: 0
rajeshwarreddyt rajeshwarreddyt is offline Offline
Newbie Poster

Windows authentication using java

 
0
  #1
Feb 26th, 2008
Hi Folks,
I want to use windows authentication for java application for eaxmple:

I have a application called ABC , now i want to apply windows authentication for this ABC appliation like when user hit the application URL the user should login automatically with out prompting any user name and password(BCZ he is already a windows authenticated user).can any one help me to solve this.

Regards,
Rajeshwar.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: Windows authentication using java

 
0
  #2
Feb 27th, 2008
Originally Posted by rajeshwarreddyt View Post
when user hit the application URL the user should login automatically with out prompting any user name and password(BCZ he is already a windows authenticated user)
then why the hell would you put a login and password in your program?? the fact that your pc is running doesn't necessarily means you are working on it. if it is an application that deals with sensitive data, you might want to reconsider a bit. I can understand the part where you want the user-name to be automatically set to the login in Windows, but dropping the prompt for a password, would be the same as: not giving the application to those who don't need it.

now, concerning your question, a couple of days ago, someone asked a similar question. you might get some help out of the response he got. it shows how you let your app automatically find the user that is logged in on Windows. Read me
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: Windows authentication using java

 
0
  #3
Feb 27th, 2008
What will this application be using for its source of authentication? Does it access network resources which require LDAP authentication?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: Windows authentication using java

 
0
  #4
Feb 28th, 2008
the info stored in your System. I've never really used it, so haven't looked into it, but knock yourself out and go check for yourself.

if there is no answer to be found on http://java.sun.com, Google will propably be able to help you out
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 8
Reputation: rajeshwarreddyt is an unknown quantity at this point 
Solved Threads: 0
rajeshwarreddyt rajeshwarreddyt is offline Offline
Newbie Poster

Re: Windows authentication using java

 
0
  #5
Feb 29th, 2008
yes using LDAP i have to do it .
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: Windows authentication using java

 
0
  #6
Feb 29th, 2008
Do some google searching for JNDI and see if you can come up with any resources to help out. I'm familiar with the concepts, but have never implemented them. So at this point, google will be your friend.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC