authentication scheme related questions
Yann39Feb 22 2010 — edited Feb 27 2010Hi,
I'm running APEX 3.2.1 with Oracle 10g r2 on Windows XP pro 32bits.
I defined my own authentication scheme to login with database users.
I just created a function "authenticate(login, pwd) return boolean" that check if user exist, called in the authentication scheme.
It works perfectly :)
Nevertheless, I have some questions :
-----
Before to change the original authentication theme, I have created a form to allow users to suscribe (and register in the database), and an ajax function check in real time if the login specified is already used or not, it work when user is authenticated (it show me the "alert" box), but don't work when not authenticated ("nobody"), without any errors.
I missed a thing ?
-----
And I have an other little problem :
in the upper right corner, I want to have a "login" or "logout" link depending if the user is authenticated or not.
So I have 2 navigation bar :
- "login", with the condition type "user is the public user (user has not authenticated)"
- "logout", with the condition type "user is authenticated (not public)"
the "logout" link is displayed when user is authenticated, but the "login" link is never shown.
-----
Finally is it possible to change the message "invalid login credentials" when a user fail to login ?
Thanks.
Yann.