TEST
Powered by Blogger.
Responsive Ad
Responsive Ad

Author Profile

About Me

Start Sharing

Start Sharing

Drive Traffic on Social Platforms

Blog Archive

Blog Journey

Blog Journey

Learn how to start a perfect Blog

Work Smart, Not Hard - Let's See

Make your Blogging experience faster and easiest …
Work Smart, Not Hard - Let's See
Design by - Blogger Templates | Distributed by Free Blogger Templates

Made with Love by

Material UI Template is Designed Theme for Giving Enhanced look Various Features are available Whic…

Random Posts

Ads Section

HOME > > Simple Steps to Find Password for an Application User in Oracle Applications

Simple Steps to Find Password for an Application User in Oracle Applications

Anup - Sunday, 28 April 2013

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';

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

    ReplyDelete


  2. Thanks for writing such a good article, I stumbled onto your blog and read a few entries. I like your style of writing.

    Oracle Training

    ReplyDelete

Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me