2 Replies Latest reply: May 22, 2013 1:17 AM by 1009023 RSS

    How to use a custom database authentication with APEX_AUTHENTICATION??

    1009023
      i have Custom user authentication method.
      ---------------------------------
      create or replace function user_check(username varchar2,password varchar2) return boolem
      is
      check_out integer;
      begin
      select count(*) into check_out from "user" where USER_EMAIL=username and USER_PASS=password;
      if check_out >0 then
      return true;
      else
      return false;
      end if;
      end;
      -----------------------------------
      apex_authentication.login() how to use. And how to make apex_authentication.login() use my method Verify User Login