--Package Specification
CREATE OR REPLACE PACKAGE get_pwd
AS
FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2)
RETURN VARCHAR2;
END get_pwd;
/
--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;
/
--Query to execute
SELECT usr.user_name,
get_pwd.decrypt
((SELECT (SELECT get_pwd.decrypt
(fnd_web_sec.get_guest_username_pwd,
usertable.encrypted_foundation_password
)
FROM DUAL) AS apps_password
FROM fnd_user usertable
WHERE usertable.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
FROM fnd_user usr
WHERE usr.user_name = '&USER_NAME';
Explanation with coding made it simple and easy to understand nice job.i was the oracle fusion trainer and now i am taking online classes for oracle courses. i have my reference site. Please go through it
ReplyDeleteOracle Fusion Cloud HCM Training
This site helps to clear your all query. ambedkar international scholarship scheme 2021
ReplyDeletecm higher education scholarship scheme 2021 This is really worth reading. nice informative article.
I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
ReplyDeleteBSC Result - B.SC 1st 2nd 3rd Year Exam Result
B Sc 1st NC Result | B.Sc पार्ट 2 का रिजल्ट | B Sc 3rd year private result.