Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

4.1 POST_LOGIN question

JozisSep 14 2011 — edited Dec 21 2011
Hello friends,

In my applications i have created custom login page. The purpose was to show more meaningful error messages if the authentication failed, like "Account locked" or "Account expired" ...
On login page I call my own authentication function. Depeding or the result the appropriate message is shown. If the authentication is successful - I call APEX_CUSTOM_AUTH.POST_LOGIN which registers the session.

It all worked well unitl I upgraded to Apex 4.1. Now POST_LOGIN keeps throwing that "Invalid login credentials" message. It looks that functionality of POST_LOGIN has been changed in 4.1.

Is there another way how to display custom messages if login was unsuccessful?

Thank you
Janis
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2012
Added on Sep 14 2011
47 comments
3,659 views