In my previous video User Authorization Part-1, I tried to show you how to create user authentication table, sequence, package, trigger key.  How To Add Create New Account button in Apex|User Authorization,Part-2  
            
             Some discussion about Create a Change Password Page In Oracle Apex, User Authorization,Part-3.   
         
            "User Authorization" is an important issue for any web application. Without the use of "User Authorization", no application is complete. 
            Steps to Create a Change Password Page In Oracle Apex, User Authorization,Part-3.   
        
            In my previous video User Authorization Part-1, I will try to show you how to create user authentication table, sequence, package, trigger key. 
        
             1. Create a New Blank page.   >>  Name- Change Password Page  2. Create a New Region.   Name-Password Change.  3. Create a 5 items.   Example- 1- USER_ID, 2-USUSERNAME, 3-OLD_PASSWORD, 4-NEW_PASSWORD, 5-CONFIRM_NEW_PASSWORD  4. Create a Button    Name- Submit  5. Create a Dynamic Action    Name- Get User Id	Event >> Page Load Action >> Set Value >> Set Type- SQL Statement >> Paste the following code 
                SELECT USER_ID
                  FROM MY_USERS0
                 WHERE UPPER (USERNAME) = :APP_USER Affected Elements >> Item ( s ) >> P2_USER_ID
             
             6. Create Validating   >> Name- Old Password >> Validation Type- Function Body (returning Boolean) >>  PL/SQL Code >> Paste the following code                 BEGIN
                        RETURN acl.CUSTOM_AUTH (acl.GET_CURRENT_USER, :P14_OLD_PASSWORD);
                    END;
             
                    Error Message >> Old Password does not match  7. Create Validating.   >> Name- New Password >> Validation Type- Expression >> 	PL/SQL Code >> Paste the following code                  :P2_NEW_PASSWORD = :P2_CONFIRM_NEW_PASSWORD
             
                    Error Message >> New Password doesn't match to each other!!!    8. Create a Process   >> Name- Update Processes, >> PL/SQL Code >> Paste the following code                     UPDATE MY_USERS
                        SET PASSWORD = :P2_CONFIRM_NEW_PASSWORD, pin = :P2_CONFIRM_NEW_PASSWORD
                      WHERE UPPER (username) = UPPER ( :app_user) AND user_id = :P2_USER_ID;
             
                When Button Pressed >> Submit 
        
            
                If there is any problem with the SQL code provided by me then you can definitely let me know by mail or mobile number and comment. I must give you any SQL code. User Authorization
             
        
         
             See My Demo Application.   Demo Application  
         
            Links to all the parts related to User Authorization will be given below.   https://youtu.be/vSdzwnkFDRs   https://youtu.be/IajwZ5dp6Qc   https://youtu.be/iRXsO0MTOuM   https://youtu.be/IK3PjyWGQIA   https://youtu.be/Ozoc4cpjBKY   https://youtu.be/X407N_N2HNM   https://youtu.be/n9W64qUoS1E   https://youtu.be/kGMmvuG5Qs8   https://youtu.be/MPZQuraig7w  Many thanks for visiting the site. 
         
             Then Enjoy.........................  Create a Change Password Page In Oracle Apex? User Authorization,Part-3  
      
acl.CUSTOM_AUTH - how to create this authentication
ReplyDeleteacl.CUSTOM_AUTH - how to create this authentication
ReplyDeleteTHIS IS (FUNCTION ACL.CUSTOM_AUTH) Not available, ask for help
ReplyDelete