File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes how do i get a  login to work in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how do i get a  login to work in java" Watch "how do i get a  login to work in java" New topic

how do i get a login to work in java

ed kel

Joined: Feb 15, 2006
Posts: 1
anyone know of any good sites which mite help me build a login for s imple atm style program
thanks guyz
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Welcome to the JavaRanch, Ed.
Your question doesn't have much to do with IO in particular, so I'm going to move it to Java In General, Beginner.
In the mean time, you may want to give us some more details on your assignment. Do you just need a username/password dialog? A finite state machine simulating an ATM? Exactly what do you have a problem with? What have you tried? Can you share some code with us?

[How To Ask Questions On JavaRanch]
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
How about first stating what your ATM stands for? The teller to withdraw cash from? Or something to do with the network stuffs (Asynchronous Transfer Mode)?

And, for your application, is it going to be a desktop application that probably uses RMI? Or is it going to be a web-application? There're some differences in the actual implementation for a simple login in both situations.

Nevertheless, you would require a database to store your User Ids & encrypted password pair for authentication. You've to decide on what hashing/encrypting algorithm to use for your password & where to look for such implementations (try Googling).

Hope these helps a bit.

SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
I agree. Here's the link:
subject: how do i get a login to work in java
jQuery in Action, 3rd edition