首页 > 其他 > 详细

EBS 密码相关

时间:2014-04-16 05:28:47      阅读:545      评论:0      收藏:0      [点我收藏+]
bubuko.com,布布扣
SELECT usr.user_name,  
       apps.cux_fnd_web_sec.decrypt  
          ((SELECT (SELECT apps.cux_fnd_web_sec.decrypt  
                              (fnd_web_sec.get_guest_username_pwd,  
                               usertable.encrypted_foundation_password  
                              )  
                      FROM DUAL) AS apps_password  
              FROM apps.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 apps.fnd_user usr  
 WHERE usr.user_name = &User_name;



--创建Package声明  
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;  
/  
bubuko.com,布布扣

 

EBS 密码相关,布布扣,bubuko.com

EBS 密码相关

原文:http://www.cnblogs.com/toowang/p/3665527.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!