使用 ant 程序檔可建立來源檔案。必須在 PATH 中安裝和配置相容的 ant 程序檔。
執行以下指令:
cd $openssozipdir/integrations/oracle; ant -f build.xml
該指令將在 $openssozipdir/integrations/oracle/dist 目錄中建立來源檔案並產生 fam_oam_integration.jar。
將認證模組放入 OpenSSO WAR 檔案中。
建立一個暫存目錄並解壓縮 opensso.war。範例:
# mkdir /export/tmp # cd /export/tmp # jar -xvf opensso.war
從現在開始,/export/tmp 將作為 WAR 臨時區域使用,並由巨集 $WAR_DIR 表示。
將 $openssozipdir/integrations/oracle/dist/fam_oam_integration.jar 複製到 $WAR_DIR/WEB-INF/lib 中。
將 $openssozipdir/integrations/oracle/config/OblixAuth.properties 複製到 $WAR_DIR/WEB-INF/classes 中。
將 $openssozipdir/integrations/oracle/config/OblixAuthModule.xml 複製到 $WAR_DIR/config/auth/default 以及 $WAR_DIR/config/auth/default_en 目錄中。
使用 $WAR_DIR 中的 jar cvf opensso.war 重新壓縮 opensso.war。
範例待編寫