• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doskey problem in java

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

In my application the user has to enter the login id and password to login into the application...when he enters the password and then when he presses the upward key ,the password is displayed in the cosole.I have tried to resolve this in many ways are:

1.Calling "doskey /REINSTALL"and "doskey /LISTSIZE=0" in my java program
2.Written a 'C' code to flush the buffer and the same is called in java using JNI.

I would appreciate if anyone helps me in resolving this issue.

Regards,
Subramanian
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does this help?
http://java.sun.com/features/2002/09/pword_mask.html

Andris
 
Subramanian Nattami
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Andris.
We have already used this logic in our application.This logic works only when the user typing the password.After typing the password when he presses the upward key it displays the password in the console.
[ January 11, 2005: Message edited by: Subramanian Nattami ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic