File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Username and password

 
Amrita Dole
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to accept username and passowrd from the user and authenticate it against the username and passowrd I have in my program which have been stored as Strings.
How do I accept user name and password and how do I authenticate it?
Thanks.
Amrita
 
Angel Dobbs-Sciortino
Ranch Hand
Posts: 101
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at String.equals(Object anObject) in the Java API.
Angel
[ November 18, 2003: Message edited by: Angel Dobbs-Sciortino ]
 
Amrita Dole
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
That was useful.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic