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...
Answer Posted / 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 |
Post New Answer View All Answers
what is handle?
what is Activation Instantinator?
Which component handles cluster communication in jboss?
Why do threads block on i/o?
Write a program to show synchronization?
What are local interfaces? Describe.
Why a client should be multithreading? Explain.
what are the activation groupworks?
Have you used threads in Servelet?
Describe, in general, how java's garbage collector works?
Is infobus easy to use?
Write a singleton program?
What is the purpose of the notify() method?
What modifiers may be used with an inner class that is a member of an outer class?
How are the elements of a cardlayout organized?