Lets continue with yesterday’s post
http://becomeappsdba.blogspot.com/2007/01/configure-sso-for-apex-application.html
Make sure you have configured Partner Application in Single Sign-On Server as mentioned in previous post.
Unlock flows…. schema
SQL> alter user flows_020200 account unlock; (If your Apex version is 2.0.0.0.0 change acccordingly)
Login to Middle tier $ORACLE_HOME/sso/lib
unzip ssosdk902.zip
This will create packages directory & respective sql scripts in this directory connect as database user flows_020200 & execute loadsdk.sql
SQL>@loadsdk.sql (Make sure you are executing under schema flows_XXXX) This will load software development kit for sso server
Now register sso details in Apex Schema (flows_XXX)
SQL> @regapp.sql
It will prompt you for
Enter value for listener_token: Enter any distinct name like Apex:host_name:port
Enter value for site_id: enter_value_returned_while_registering_sso
Enter value for site_token: enter_value_returned_while_registering_sso
Enter value for login_url: http: // apex_url_here/pls/orasso/orasso.wwsso_app_admin.ls_login
Enter value for encryption_key: enter_value_returned_while_registering_sso
Enter value for ip_check: N
Now configure authentication packages under flows_XXX schema
SQL> @custom_auth_sso.sql
SQL> @custom_auth_sso.plb
Finally lock flows_XXXX schema & grant execute permission to public user
SQL> alter user flows_020200 account unlock;
SQL> grant execute on wwv_flow_custom_auth_sso to APEX_PUBLIC_USER;
Finally in Apex Application, create new authentication scheme (SSO with Apex as partner Application) instead of local database authentication in Apex Application.
configuration steps are mentioned at
http://becomeappsdba.blogspot.com/2007/01/configure-sso-authentication-schemes-in.html
Related Posts for Apex
Popularity: 7% [?]







Good hands-on exercises (installation, patching, cloning), very experienced trainer worth for Money 
4 users commented in " Apex Apps configure SSO II "
Follow-up comment rss or Leave a TrackbackGood node on installation of APEX, still more things can be expalined about pre-req XML DB etc..
All,
thanks for this great article but i am stuck on one step.
when running the SQL> @custom_auth_sso.plb
i am getting the following error:
253/9 PL/SQL: Statement ignored
253/9 PLS-00306: wrong number or types of arguments in call to’PARSE_URL_COOKIE’
please help by any way you can contact me
Thanks
Sultan,
Look in the APEX distribution directory “core” for custom_auth_sso_902.sql and custom_auth_sso_902.plb files. See if compiling those works.
Mohammad Hammouri
thanks mohammad for your comment but i’ve already fix this problem months ago,
again thanks abu osama
Leave A Reply