943,866 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 6502
  • Java RSS
Feb 26th, 2008
0

Windows authentication using java

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajeshwarreddyt is offline Offline
8 posts
since Feb 2008
Feb 27th, 2008
0

Re: Windows authentication using java

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
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
stultuske is offline Offline
2,497 posts
since Jan 2007
Feb 27th, 2008
0

Re: Windows authentication using java

What will this application be using for its source of authentication? Does it access network resources which require LDAP authentication?
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Feb 28th, 2008
0

Re: Windows authentication using java

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
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
stultuske is offline Offline
2,497 posts
since Jan 2007
Feb 29th, 2008
0

Re: Windows authentication using java

yes using LDAP i have to do it .
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajeshwarreddyt is offline Offline
8 posts
since Feb 2008
Feb 29th, 2008
0

Re: Windows authentication using java

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.
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: image processing
Next Thread in Java Forum Timeline: More Excptions





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC