Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the relationship between local interfaces and container-managed relationships?

1076


What is the immediate superclass of the applet class?

1029


Can I run seam with jdk 1.4 and earlier?

940


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

2165


What is JTS?

2309


What are the types of scaling?

1048


How messaging services are done, before release of JMS?

2075


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

1050


What is a class loader?

1723


What is the relationship between the canvas class and the graphics class?

984


Difference between new operator and class.forname().newinstance()?

1085


wahts is mean by dynavalidatorform in struts/

1997


Name the class that is used to bind the server object with RMI Registry?

2112


What restrictions are placed on the values of each case of a switch statement?

957


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

1079