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

Which textcomponent method is used to set a textcomponent to the read-only state?

1144


Is the session factory thread safe?

1177


How messaging services are done, before release of JMS?

2149


What event results from the clicking of a button?

1253


What is ioc concept?

1211


What are the difference between RMI and CORBA?

1121


whats is statement and procedure

2220


What are the services in RMI ?

2387


What is the difference between RMI and Corba?

2752


What is the difference between a menuitem and a checkboxmenuitem?

1120


whats is mean by connectionpooling

2013


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

2424


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1549


What is a clone?

1070


difference between  ejb,struts,hibernate,spring and jsp

2879