Hi frnds ,iam new to java and j2ee ,my requirement is using
java or any j2eetech how to lock an user when he enter wrong
credentials(uname&password) more than 3 times.take the
username and passowrd in a bean no need to conned Db kindly
provide me sample application code or and ideas or links or
tutorials plzzzzz urgent for me thanks in advance...
Answers were Sorted based on User's Feedback
Answer / juser
If it is window based application then you can use static
varibale. I mean static counter varibale and every time
when user tries to enter user name and password then check
if it wrong increase counter.and if this counter variable
is more than 3 then block this user by updating DB.
| Is This Answer Correct ? | 8 Yes | 5 No |
Answer / hero
Please Stop Learning About JAVA Its Better For Your Life....
Worst Doubt...
| Is This Answer Correct ? | 2 Yes | 0 No |
What are the steps to write p-to-p model application?
What is JNI?
How will you pass parameters in RMI? Why do you serialize?
What are the services in RMI ?
What are the thread-to-thread communcation?
Why does the tag url-encode javascript and mailto links?
Is “abc” a primitive value?
Tell me about Firewalls in RMI?
Is jvm a overhead?
advantage of thread?
What is the priority of Garbage collector thread?
what is a dirty read?