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 a clone?

1117


difference between  ejb,struts,hibernate,spring and jsp

2920


What must a class do to implement an interface?

1275


Can you give me a simple example of using the requiredif validator rule?

1182


What is the argument type of a programs main() method?

1169


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2711


What is TL and its use?

2545


Java is fully object oriented languages or not?

1071


What are the benefits of detached objects?

1101


What are local interfaces? Describe.

1298


How would you detect a keypress in a jcombobox?

1185


Name three component subclasses that support painting?

1122


how to use debug in my elipse to solve problems that exist in my project

2328


Why a component architecture for the java platform?

1308


What is a policy?

2347