This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
Author

how do i get a login to work in java

ed kel
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

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?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how do i get a login to work in java