close

1. Go to the Oracle Fusion Middle Home Directory with the subdirectory of "bin"
    e.g.  cd c:\oracle\Middleware\Oracle_WT1\bin

2. set ORACLE_HOME=c:\oracle\Middleware

 

3. set LD_LIBRARY_PATH=%ORACLE_HOME%\lib
    (to avoid cannot invoke utility 'dadobf'  error)

 

4. Obfuscate the  dads file:
      perl dadTool.pl -f c:\oracle\Middleware\Oracle_WT1\instances\instance1\config\OHS\ohs1\mod_plsql\dads.conf

5. Check the result:

 

All passwords successfully obfuscated. New obfuscations : 1

 


more dads.conf
>>

  SetHandler pls_handler
  Order deny,allow
  Allow from all
  AllowOverride None
  PlsqlDatabaseUsername         scott
    PlsqlDatabasePassword          @BeKLnrm2uGAwF4GU5kKIoAQ=
  PlsqlDatabaseConnectString    10.1.0.100:1521:testdb
  PlsqlAuthenticationMode       Basic
  PlsqlDefaultPage              home
  PlsqlDocumentTablename        wwdoc_document
  PlsqlDocumentPath             docs
  PlsqlDocumentProcedure        wwdoc_process.process_download
  PlsqlNlsLanguage              "TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950"


Note:
 PlsqlDatabaseConnectString
   => need to specify the full connection string  as of host:port:service

#
 PlsqlDatabaseConnectString
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.0.100)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=testdb))) TNSFormat

PlsqlAuthenticationMode =>
Basic   :  For the Basic mode, if you wish to perform dynamic authentication,
           the DAD username/password parameters must be omitted.
           (Remove PlsqlDatabaseUsername  & PlsqlDatabasePassword two lines )
SingleSignOn 
GlobalOwa
CustomOwa
PerPackageOwa

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 DanBrother 的頭像
    DanBrother

    DanBrother的部落格

    DanBrother 發表在 痞客邦 留言(0) 人氣()