You can run the below script from backend to retrieve the FND User password from backend.
Create the below packge:
Execute the below script with the username to get the password.
Related links :
Oracle Apps: Reset FND User password from backend
Oracle Apps: Create User and Add Responsibility from backend
Feel free to point out if anything is missing/wrong in this blog.
Create the below packge:
 create or replace package xxaj_get_pwd  
 as  
   function decrypt (key in varchar2, value in varchar2)  
   return varchar2;  
 end xxaj_get_pwd;  
 /  
 create or replace package body xxaj_get_pwd  
 as  
   function decrypt (key in varchar2, value in varchar2)  
   return varchar2  
   as  
    language java  
    NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.String) return java.lang.String';  
 end xxaj_get_pwd;  
 /  
Execute the below script with the username to get the password.
selectfu.user_name ,xxaj_get_pwd.decrypt ((selectxxaj_get_pwd.decrypt (fnd_web_sec.get_guest_username_pwd ,usertable.encrypted_foundation_password )fromfnd_user usertablewhereusertable.user_name =regexp_substr(fnd_web_sec.get_guest_username_pwd,'(.*)/(.*)',1,1,NULL,1)) ,fu.encrypted_user_password ) passwordfromfnd_user fuwhereupper(fu.user_name) =upper('<USER_NAME>'); /
Related links :
Oracle Apps: Reset FND User password from backend
Oracle Apps: Create User and Add Responsibility from backend
Feel free to point out if anything is missing/wrong in this blog.
 
No comments:
Post a Comment