Custom Authentication and Authorization using ORACLE APEX
Custom Authentication and Authorization using ORACLE APEX
Authentication means confirming your own identity, whereas authorization means being allowed access to the system. In even more simpler terms authentication is the process of verifying oneself, while authorization is the process of verifying what you have access to.
FUNCTION user_aut (
p_username IN VARCHAR2, --User_Name
p_password IN VARCHAR2 -- Password
)
RETURN BOOLEAN
AS
lc_pwd_exit VARCHAR2 (1);
BEGIN
-- Validate whether the user exits or not
SELECT ’Y’
INTO lc_pwd_exit
FROM users
WHERE upper(LOG_IN) = UPPER (p_username) AND LOG_PAS = p_password and status=’Y’
;
RETURN TRUE;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
RETURN FALSE;
END user_aut;
@
Like Comment Share Subscribe And Press The Bill Icon...
Facebook page:
3 views
438
116
3 weeks ago 00:46:03 1
SWITZERLAND - LIFE IN THE ISOLATED SWISS VILLAGES - ISOLATED PEOPLE IN THE SWISS MOUNTAINS
4 weeks ago 00:07:22 3.7K
2023 Vans Hi Standard Snowboard Series | Brighton Utah | Snow | VANS
4 weeks ago 00:07:38 1
How Would a Katana Swordmaster Fight with a Longsword? (Shocking Findings)
1 month ago 00:00:40 19
FREE FALLIN Guitar Ensemble STRUMMER (Part 2) For Kontakt! Demo
1 month ago 00:00:55 1
The Untouched Beauty of Patagonia
1 month ago 00:01:01 2
Metallica Remastered Pinball Game Trailer
1 month ago 00:00:00 1
BIHL Manor | The Forgotten Children | USA Series | Episode 1
1 month ago 00:05:13 1
1970 Ford Mustang Mach 1 Restomod 5 Speed 351 Shaker: FOR SALE 18005627815
1 month ago 00:04:26 1
Best Crypto Exchange | Crypto Trading | Safest Crypto Exchange
1 month ago 00:12:00 29
“Just Attack From Behind!!“ ...THINK AGAIN!!
1 month ago 00:01:00 4
Predator Best Head Gear #gameplaydecade #short #predator
1 month ago 00:00:58 8
Predator Types of Predator Hunting Grounds #gameplaydecade #predatorhuntinggrounds2020 #short