Skip to main content

how to create multi user oracle apex application with custome login using database table

how to create multi user oracle apex application


open your oracle application express click on


>app builder
> shred components
>authentication schemes
> create
> choose type custom
> authentication function click help icon
showing this scripts



>

create or replace function authenticate_ft_users
  (p_username in varchar2, p_password in varchar2)
return boolean
is
  l_user_name       ft_users.user_name%type    := upper(p_username);
  l_password        ft_users.password%type;
  l_hashed_password varchar2(1000);
  l_count           number;
begin

select count(*) into l_count from fit_users
  where user_name = l_user_name;

if l_count > 0 then
  l_hashed_password := ft_hash_password(l_user_name, p_password);
  select password into l_password from ft_users where user_name = l_user_name;
    if l_hashed_password = l_password then
    return true;
  else
    return false;
  end if;
  
else
  return false;
end if;
return true;
end authenticate_ft_users;




goto oracle apex sql scripts

> create new
> past (above  sql funcntion code )
> save and run it

>


if you found it error so comment
 

Comments

Popular posts from this blog

Connection Information To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Tech Easy Solutions Connection Information To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.  WordPress 5.2.3 hosted on Linux server  need file permission  sudo chown -Rf www-data.www-data  /www/html/worpdressdir change in wp-config

How to delete Torrent power account

Sanjay Tech solutions 3 easy tips to delete torrent power account  Step 1 : login in to your account Step 2 : click on more profile settings Step 3 : you see red button with deactivate account click then enter your password Your account deactivate 

Shopify fully custom contact section block on home page

Tech Easy Solutions Shopify fully custom contact section block on home page <section class="contact-information" >       <!--<div class="left-shape">         <img src="images/left-shape.png" class="img-fluid">       </div>-->       <div class="container c-container">         <div class="row">           <div class="col-lg-6 col-md-6 col-sm-12 col-12">             <div class=" contact-us">                         {% form 'contact' %}                       {% if form.posted_successfully? %}                        <center> <p class="note form-success">                   ...