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


Please Help Members By Posting Answers For Below Questions

Explain RMI Architecture?

813


wahts is mean by dynavalidatorform in struts/

1783


What is the difference between static and non-static with examples?

1579


What are the oops concept?

770


Why are some of the class and element names counter-intuitive?

805


What modifiers may be used with an interface declaration?

796


Define the remote object implementation?

2178


how i secure my site with the https protocol.what are the steps?

1950


Why use POJO when I can use hashmap

2262


What are the different algorithms used for clustering?

769


why static class in java

1469


What is permgen or permanent generation?

761


difference between  ejb,struts,hibernate,spring and jsp

2559


Is the ternary operator written x : y ? Z or x ? Y : z ?

838


What are transaction attributes?

819