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

What class is the top of the awt event hierarchy?

0 Answers  


What is the difference between java class and bean?

0 Answers  


What is meant by Superconductivity?

4 Answers  


which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config

1 Answers  


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

0 Answers   IBM,


whats is mean by class.forName() whats the return type of class

3 Answers   SolutionNET,


what is disadvantage of thread?

3 Answers   HCL,


To make an object to begin executing as a separate thread, what method is used?

2 Answers  


list the types of dialodg

1 Answers   Wipro,


In real time project when will we use Abstract class. and what are the difference between abstract and interface.

6 Answers   DELL, FCS, Polaris, Tanla Solutions, TCS,


whats is mean by connectionpooling

2 Answers   SolutionNET,


difference. between List and Set?

2 Answers   Campus Interaction, HCL, Infotech,


Categories