Oracle9iAS Portal Developer Kit (PDK)
Securing the Edit Provider UI

Creation Date: October 21, 2002
Status: Production
Version: PDK Release 2 (9.0.2.4 and later)

Introduction

While configuring the providers, you will come across steps where you need to edit the provider. The UI displayed when edit the provider, in default installation, is not secured. This UI can be secured only for OC4J instance deployment in Oracle9iAS.

Securing the UI

You need to go to the $IAS_HOME ($IAS_HOME refers to the root directory of your Oracle9iAS installation). Open the file $IAS_HOME/portal/conf/portal.conf and go the section marked with "Provider-UI mod_osso authentication directive". Here you should add the following entry between <IfModule mod_osso.c> and </ifModule>.

    <Location /portalTools/builder/providerui>
        AuthType Basic
        require valid-user
    </Location>

The entry in this file should look like as below :

# Provider-UI mod_osso authentication directive
<IfModule mod_osso.c>

    <Location /jpdk/providerui>
        AuthType Basic
        require valid-user
    </Location>

    <Location /portalTools/builder/providerui>
        AuthType Basic
        require valid-user
    </Location>

</IfModule>

After this, you should edit $IAS_HOME/j2ee/OC4J_Portal/applications/portalTools/providerBuilder/WEB-INF/deployment_providerui/provideruiacls.xml file ( replace OC4J_Portal with OC4J instance in your Oracle9iAS installation where you have deployed Portal Tools application) -
In this file, you can grant privileges to various users.
Here is a sample provideruiacls.xml file:

<providerui xmlns="http://www.oracle.com/portal/providerui/1.0">
          <objectType name="ALL_OBJECTS">

                       <object name="ANY_PROVIDER" owner="providerui">

                                <user name="any_provider_manager_user" privilege="500"/>

                               <user name="any_provider_edit_user" privilege="400"/>

                                <user name="any_provider_execute_user" privilege="300"/>

                      </object>

           </objectType>

          <objectType name="PROVIDER">

                     <object name="TEST_PROVIDER" owner="providerui">

                               <user name="provider_manage_user" privilege="500"/>

                               <user name="provider_edit_user" privilege="400"/>

                              <user name="provider_execute_user" privilege="300"/>

                     </object>

         </objectType>

</providerui>

You can define the privileges at global level or at object level.

These are the global level privileges (as shown in the sample file above):

These are the object level privileges (as shown in the sample file above):

After granting appropriate privileges, you will need to restart your Oracle9iAS instance.

Revision History:
Revision No Last Update
1.0 October 21, 2002

Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065, USA
http://www.oracle.com/
Worldwide Inquiries:
1-800-ORACLE1
Fax 650.506.7200
Copyright and Corporate Info