Hi Gurus,
Oracle 11g Rel 2
APEX 5.1
I would like the system to sent two different messages:
1. If the LDAP login fails, send Invalid Logon credentials.
2. IF the LDAP logon pass, but the user is not on the Oracle User table for the application, send "You are not an authorized" user message.
Couldn't both tests are in my authentication scheme, but both returns false and get (of course) the same message. The user might think that he put the wrong password so it is a confusing message.
Can someone help me? I searched the forum and could not find a solution.
I was able to do it by doing the following:
If the user is not on the user table, I set the following before returning false:
apex_util.set_authentication_result(p_code => 1);
apex_util.set_custom_auth_status(p_status => 'You are not an authorized user.');
But I get the message "Please wait xx seconds to login again.
Robert