Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ken Bradley
Account lockout not working
January 16, 2013 10:37 AM
Answer

Ken Bradley

Rank: New Member

Posts: 6

Join Date: July 23, 2009

Recent Posts

We are using 6.0.6CE and it is not paying attention to the maxfailure lockout value. There is a default password policy in the DB, and maxfailure is set to 3, but it always takes 5 times to lock the account out. We are programmatically setting the password policy using the com.liferay.portal.model.PasswordPolicy class, the admin menu isn't an option for us since in our implementation we have removed it from the interface completely. Is there another setting that controls the lockout?
Hitoshi Ozawa
RE: Account lockout not working
January 16, 2013 3:21 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

I think there was a bug in 6.0.5. The following thread post a similar problem. If you're programming, you'll just have to set your program to "correct" the retry difference to the way 6.0.5 handles it. Another option is to correct liferay code.

http://www.liferay.com/community/forums/-/message_boards/message/11620432
Ken Bradley
RE: Account lockout not working
January 17, 2013 8:10 AM
Answer

Ken Bradley

Rank: New Member

Posts: 6

Join Date: July 23, 2009

Recent Posts

Thanks, that was it. I set maxfailure to 1 and it fails on 3.