3 minutes readSimple Steps to Find Password for an Application User in Oracle Applications

Reader Mode

To achieve this you need to create
a small package and run a query which I wrote below:
Step 1:  Create Package Specification
CREATE OR REPLACE PACKAGE get_pwd
AS
FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN
VARCHAR2)
      RETURN
VARCHAR2;
END get_pwd;
/
 
Step 2: Create Package Body
 
CREATE OR REPLACE PACKAGE BODY 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 get_pwd;
/
 
Step 3: Query to execute
 
SELECTusr.user_name,
get_pwd.decrypt
          ((SELECT (SELECTget_pwd.decrypt
                              (fnd_web_sec.get_guest_username_pwd,
usertable.encrypted_foundation_password
                              )
FROM DUAL) ASapps_password
FROMfnd_userusertable
WHEREusertable.user_name =
                      (SELECT SUBSTR
                                  (fnd_web_sec.get_guest_username_pwd,
                                   1,
                                     INSTR
                                          (fnd_web_sec.get_guest_username_pwd,
                                           '/'
                                          )
                                   - 1
                                  )
FROM DUAL)),
usr.encrypted_user_password
          ) PASSWORD
FROMfnd_userusr
WHEREusr.user_name = '&USER_NAME';

Related Articles

Responses

Your email address will not be published. Required fields are marked *

  1. SQL> /
    (fnd_web_sec.get_guest_username_pwd,
    *
    ERROR at line 4:
    ORA-00904: "FND_WEB_SEC"."GET_GUEST_USERNAME_PWD": invalid identifier

Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.