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
What is a clone?
difference between ejb,struts,hibernate,spring and jsp
What must a class do to implement an interface?
Can you give me a simple example of using the requiredif validator rule?
What is the argument type of a programs main() method?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What is TL and its use?
Java is fully object oriented languages or not?
What are the benefits of detached objects?
What are local interfaces? Describe.
How would you detect a keypress in a jcombobox?
Name three component subclasses that support painting?
how to use debug in my elipse to solve problems that exist in my project
Why a component architecture for the java platform?
What is a policy?