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 the relationship between local interfaces and container-managed relationships?
What is the immediate superclass of the applet class?
Can I run seam with jdk 1.4 and earlier?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
What is JTS?
What are the types of scaling?
How messaging services are done, before release of JMS?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is a class loader?
What is the relationship between the canvas class and the graphics class?
Difference between new operator and class.forname().newinstance()?
wahts is mean by dynavalidatorform in struts/
Name the class that is used to bind the server object with RMI Registry?
What restrictions are placed on the values of each case of a switch statement?
Why do I get a duplicate name error when loading a jar file?