File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Authenticate to exit the application -- Really Challenging!!!!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Authenticate to exit the application -- Really Challenging!!!!!!!!!" Watch "Authenticate to exit the application -- Really Challenging!!!!!!!!!" New topic
Author

Authenticate to exit the application -- Really Challenging!!!!!!!!!

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Hi, I want the user to be authenticated to end my application.for eg. when the user uses the
"CTRL+ALT+DEL" keys to terminate my application the user should be prompted for a password.If it
is right then end the program else leave it as it is.This is really challenging.Please reply as
soon as possible.Expecting your replies sooner.Let me see if anyone could reply upto my expectation.
Happy middling with java.
Netharam
Erik Pragt
Ranch Hand

Joined: Sep 08, 2001
Posts: 125
Hello Netharam Ram,
I could be wrong (although I don't think so) but I think there is simply no way to do that in Java.
Erik
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Well, if it is a Windows application - you could create a Windows Service in Java that runs in the background and just listens for KeyEvents. When it detects the combination that you care about - throw the user into the authentication routine. However - you are talking about one Java application interacting with another one - so you will have to get involved with knowing what process the original application is running under etc.


"JavaRanch, where the deer and the Certified play" - David O'Meara
netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
I don't actually understand what u have replied.When I run a java application as a service & capture the key combinations,I can ask for a password,but the end task list will also appear simultaneously.So I don't get u'r reply upt to the point.Please reply aptly.
Happy middling with java.
Netharam.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authenticate to exit the application -- Really Challenging!!!!!!!!!