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 is Connection Pooling?
1 Answers Enteg Technologies, Infosys, Polaris,
Can I use javascript to submit a form?
the same information whether it will connect to the database or it will be used previous information?
What are JTA/JTS and how they used by client?
What is checkpoint? How to create checkpoints in our java projects?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What are the types of scaling?
What value does read() return when it has reached the end of a file?
what is DGC?
Does Java pass arguments by value or reference?
What is Bootstrapping in RMI?
What is the return type of interrupt method?