Register the partner application from the target OHS server.
a. Create a script with the following on the midtier server (make it all one long line) (minus the comments):
%ORACLE_HOME%\jdk\bin\java -jar %ORACLE_HOME%\sso\lib\ossoreg.jar
-oracle_home_path C:/oracle/product/OracleAS_1 <-- of midtier
-host oradev1.sawft.com <-- of infra
-port 1521
-sid orclmr
-site_name WebApp10
-success_url http://midtier.thisisahmed.com:7778/osso_login_success
-logout_url http://midtier.thisisahmed.com:7778/osso_logout_success
-cancel_url failure_url
-home_url http://midtier.thisisahmed.com:7778/webapp10 <-- web app context
-admin_id someemailaddress@thisisahmed.com
-admin_info Webapp10_Admin
-pass Wo6YGAB4 <-- ORASSO_PA
-virtualhost <-- required
-config_file C:/oracle/product/OracleAS_1/Apache/Apache/conf/osso.conf
-config_mod_osso TRUE
-mod_osso_url http://midtier.thisisahmed.com:7778
-u root
-sso_server_version v1.2
-verbose TRUE
b. Open a command prompt window on the midtier server:
set ORACLE_HOME=C:\oracle\product\OracleAS_1
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\opmn\bin;%PATH%
set LD_LIBRARY_PATH=%ORACLE_HOME%\lib;%LD_LIBRARY_PATH%
c. Run the script created in Step (a):
register_sso_app.bat
d. Confirm that application is successfully registered and use one of the following two methods to retrieve required values for next steps:
- On the metadata repository, run the following query:
SELECT urlcookie_version sso_server_version, encryption_key cipher_key, site_id, site_token
FROM orasso.wwsso_papp_configuration_inf_t
WHERE UPPER(site_name) = 'WEBAPP10'
- Navigate to http://oradev1.sawft.com:7777/pls/orasso:
- Log in as orcladmin
- Click on SSO Administration
- Click on Administer Partner Applications
- Edit WebApp10
|