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

whether the connectionpooling used in struts?

2 Answers   SolutionNET,


what is Bootstrap loader program?

1 Answers   Rossell Techsys,


Java is fully object oriented languages or not?

0 Answers  


what is a non-repeatable read?

0 Answers  


What is the difference between ear, jar and war file?

0 Answers  






What is diffennce between AWT & SWING?

4 Answers  


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

0 Answers  


What is difference between object state and behavior?

0 Answers  


What is JasperReports?

2 Answers  


What is the use of Semaphore?

3 Answers  


What is synchronization?

6 Answers   Verizon,


In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another client is making request how it will work

3 Answers  


Categories