On May 19, 2010, at 10:42 AM, gopal123 wrote:
Thanks a lot Vikas for your co-operation.Actually my account is
getting
locked after 3 unsuccessful attempts,
This is the default setting for property max.failed.logins in
security.properties file so this is fine, but of course you can change
it as your custom needs.
but no messages are displaying like
"Your account has been locked."
If you are testing this on OOTB application then it should be coming
fine but if you are using custom implementation then you should first
check your application decorator screen
Looks to me that you have not included the template that renders
events and error messages.
Refer to screen for an example to build your decorator screen -
specialpurpose/ecommerce/widget/CommonScreens.xml#main-decorator
Also there is no alert message like "You
have x no. of chances left" are displaying.
This feature does not exists in OFBiz but it should not be difficult
to implement it.
The successive failed attempts of login are saved in the UserLogin
entity and you can probably use that counter to show this message on
this screen.
May be you can consider to contribute it back to the project if you
are really going to work on this thing.
So can you help me out how to
achieve this or is this present in ofbiz.
HTH
Regards
Vikas
Thanks in advance.
Regards
Gopal
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Account-Locking-facility-in-ofbiz-tp2221005p2222286.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.