 
 Oracle Web Single Sign-On
 Partner Application SDK
 Copyright (c) 1999-2001 Oracle Corporation. All rights Reserved.
==================================================================

PL/SQL BASED SAMPLE PARTNER APPLICATION

This SSO enabled sample partner application uses PL/SQL packages.

Sample Application Files

The sample partner application has following files:

*   papp.pks
    The sample demo application package 

*   papp.pkb
    The sample demo application package body

*   papputil.sql
    The utility that tests the web server setup

*   loadpapp.sql    
    The file that loads the demo application packages. This file 
    must be loaded into the same schema as the Single Sign-On 
    packages. 

Testing the Sample Application

Perform the following steps to test the sample partner application:  

1. Create a new schema to load the sample application as described 
   in Install.txt

2. Install SSO SDK to this schema as described in Install.txt

3. Create the required DAD (Database Access Descriptor) for the 
   application.

4. Load the demo packages using loadpapp.sql as follows:

   sqlplus <partner_schema>/<password>@tns_name @loadpapp.sql 

   The script prompts for the session cookie name and partner 
   application's DAD name.

5. To verify the web server setup, go to the following URL to see
   the test page:

   http://<hostname>:<port>/pls/<dad_name>/<schema_name>.test_setup

6. Register the application with Login Server as described in the 
   Install.txt file.

   Note: The success URL for the sample application is:
   http://<hostname>:<port>/pls/<dad_name>/<schema_name>.sample_sso_papp.sign_on 

   Note: Ensure that the listener token is set to the following: 
   <your_partner_app_webserver_name>:<your_partner_app_webserver_port>
   
   For example: www.partnerapp.com:80

7. Go to the following URL to test the application: 
   http://<hostname>:<port>/pls/<dadname>/<schema name>.sample_sso_papp.ssoapp
   
   Note: If you are using SSL, use https instead of http.



