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

difference between  ejb,struts,hibernate,spring and jsp

2873


What do you need to set-up a cluster with jboss?

1076


Why doesn’t the focus feature on the tag work in every circumstance?

1109


What is the purpose of the wait() method?

1201


Can I use multiple html form elements with the same name?

1058


Explain the difference between object state and behavior?

1054


What is the purpose of the notify() method?

1075


What is the map interface?

1125


What is colon_pkg_prefixes and what is its use?

2518


Describe, in general, how java's garbage collector works?

1039


What are the design considerations while making a choice between using interface and abstract class?

1094


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

1044


Explain the different types of memory used by jvm?

1146


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2246


Name the eight primitive java types.

1129