| Last Updated: | December 15, 2003 |
| Status: | Production |
| Version: | PDK Release 9.0.4 |
Welcome to PDK-URL Services. Now that you have successfully installed the PDK-Java Framework and samples, you may want to create URL-based portlets. PDK-URL Services has extended the PDK-Java to support portlets created in any Web-based language.
Note: URL-based portlets enable you to expose content from external websites as portlets using a manual, XML file-based approach. However, if you are targeting your provider to be registered with OracleAS Portal 9.0.2 or later, the recommended approach to perform the same task is to use the Web Clipping Portlet. To find out about using Web Clipping or how to migrate your URL-based portlet to Web Clipping, go to the OmniPortlet and Web Clipping area of Portal Center.
This article describes how to install and configure the PDK-URL Services basic authentication sample. There are two portlets in the PDK-URL Services basic authentication sample:
The PDK-URL services basic authentication sample provider is pre-configured within jpdk.ear, with a service ID of urn:urlbasicauth.
The PDK-URL Services basic authentication sample provider has been pre-configured within the jpdk.ear. However, you may need to change the provider.xml file to specify the proxy server you use. Open the provider.xml file for the sample (it should be located in the WEB-INF/providers/urlbasicauth directory) and provide appropriate replacement values for the following tags:
<proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
<httpProxyHost>www-proxy.us.oracle.com</httpProxyHost>
<httpProxyPort>80</httpProxyPort>
</proxyInfo>
Next, you can test that the sample is properly configured with OC4J.
For example: http://myserver.mydomain.com:port/jpdk/providers/urlbasicauth
Before registering your basic authentication provider with the portal, you must create an external application for the provider to map to.
You must now register the basic authentication provider with OracleAS Portal.
Add the PDK-URL Services basic authentication portlets to a page. The portlets will be listed under the Provider called "PDK-URL Services Basic Auth Sample". The first time you display the portlets as particular user, they will display a link requesting you to update the login information for the external application. This login information will be remembered for subsequent visits to the portlets.
You have now successfully installed and setup the PDK-URL Services basic authentication sample portlets.
| Revision History: |
|
| 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 |