Liferay provides an option to configure password policy (refer),
it provides an option to mention Password Expiry Time. Once the
Password is expired then user will not be able to login to the system
and when user tries to login, Liferay shows error message :
Error: Your password has expired. Please
contact an administrator to reset your password.
Admin needs to reset the user...