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



Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an use..

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

Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an use..

Answer / hero

Please Stop Learning About JAVA Its Better For Your Life....
Worst Doubt...

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Which class is the immediate superclass of the menucomponent class?

0 Answers  


wahts is mean by dynavalidatorform in struts/

0 Answers   SolutionNET,


what is a non-repeatable read?

0 Answers  


how can we load a file of a user in the database table?

3 Answers   ITC Infotech,


what is activation monitor and what is its job?

1 Answers  


Write a singleton program?

0 Answers  


Why do I get a duplicate name error when loading a jar file?

0 Answers  


What is Servlet Filter And What does it work?

1 Answers   TCS,


What are local interfaces? Describe.

0 Answers  


What is the difference between a menuitem and a checkboxmenuitem?

0 Answers  


Difference between sleep and suspend?

3 Answers  


How u validate date in DD/MM/YY format. and how u validate money in ur jsp

3 Answers   Ashok Leyland, Satyam, Tech Mahindra, Tomax,


Categories