I have an Apex 4.0 application with Database Account authentication scheme. The reason is that we also have a Forms application with database users. The users can now log in with the same username and password, and database roles can be checked for authorization purposes.
Our password policy recently changed and passwords will now expire. We also have a grace period, so that the users, when logging in the Forms application, will get a message "The password will expire within xx days". However, this message prevents logging in in the Apex application.
I don't want functionality to change the password in Apex. Users will do that in the Forms application. I just want the users to be able to login when the password is in the expiration grace period. Any way to ignore the message and continue in Apex?