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

why we use main in java?

4 Answers  


types of exceptions

1 Answers  


How JNDI is used in JMS ?

1 Answers  


suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser paste that url on the browser.will i get my mail opened or not? i know it ill not.but how it work.how i create like this type of secure site?

7 Answers  


What are externizable interface?

0 Answers  






Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


What is local interface. How values will be passed?

0 Answers  


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

1 Answers  


What is the RMI and Socket?

0 Answers  


What is a clone?

0 Answers  


what is heepStored?

1 Answers  


What is Remote Interface?

1 Answers  


Categories