This appendix describes the changes that the migration utility in Oracle JDeveloper 11g automatically makes to a WebCenter 10.1.3.x application while migrating the application. It also describes how you can change the location of customization store for preconfigured portlet producers.
The appendix contains the following sections:
Content Integration Connections: Migration of Credentials to External Applications
Preconfigured Portlet Producer: Customization Store Location
To migrate a WebCenter 10.1.3.x application to Oracle WebCenter 11g, you use JDeveloper 11g. While migrating an application, the migration utility in JDeveloper 11g automatically makes certain changes, such as those related to customizable components, external applications, and portlet components.
This section describes the following changes:
In WebCenter applications, you can use Oracle Composer to add components to pages that users can customize at runtime. Oracle Composer provides components like Panel Customizable and Show Detail Frame that you can add to your applications to support page personalization and customization.
When you migrate a WebCenter 10.1.3.x application that uses customizable components, JDeveloper 11g automatically makes various changes related to customizable components to prepare the application to run on Oracle WebLogic Server. These changes include:
General Changes
Panel Customizable Changes
Show Detail Frame Changes
When you migrate your WebCenter application, JDeveloper 11g makes the following general changes to your application:
The namespace of customizable components in JSPX files is renamed from
http://xmlns.oracle.com/adf/faces/customizable
to
http://xmlns.oracle.com/adf/faces/customizable/html
.
From web.xml
, entries for the following are removed:
Context parameter oracle.mds.web-app-root
Filter mdsFilter
Filter mapping for mdsFilter
Servlet jsp2
, servlet mapping for jsp2
, and resource proxy
The Java Customizable Components library is removed and the WebCenter Customizable Components library is added.
The old Customizable Components tag libraries are removed and the new version Customizable Components (HTML) is added.
In import statements and declarations, if any, in Java files, the class name of Panel Customizable is changed to oracle.adf.view.html.component.customizable.PanelCustomizable
.
In import statements and declarations, if any, in Java files, the class name of Show Detail Frame is changed to oracle.adf.view.html.component.customizable.ShowDetailFrame
.
A Panel Customizable component is a container for a group of Oracle ADF components, task flows, and portlets that you want to make customizable at runtime. When you migrate a WebCenter application, JDeveloper 11g removes various attributes from Panel Customizable because they are no longer supported in Oracle WebCenter 11g. Table B-1 lists Panel Customizable attribute changes in a migrated WebCenter application.
Table B-1 Panel Customizable Attribute Changes in a Migrated WebCenter Application
Attribute | Attribute Availability in a Migrated WebCenter Application |
---|---|
|
Removed. All these attributes are removed from a migrated WebCenter application. A header is no longer supported for Panel Customizable. Therefore, |
|
Removed. However, to render scrollbars for the Panel Customizable content area, you can set the |
|
Deprecated. The usage of the |
Example B-1 shows the sample Panel Customizable code in the source view of a WebCenter 10.1.3.x application.
Example B-1 Panel Customizable Code in a WebCenter 10.1.3.x Application
<cust:panelCustomizable id="panelCustomizable1" text="panelCustomizable 1" displayHeader="true" isMaximizable="true" isMinimizable="true" width="100%" height="50px"> displayScrollBar="auto" isShowContentEnabled="true"/>
Example B-2 shows the sample Panel Customizable code after a WebCenter 10.1.3.x application has been migrated to Oracle WebCenter 11g. Notice that attributes such as isMinimizable
and displayHeader
are removed from the Panel Customizable code.
A Show Detail Frame component renders a border or chrome around a child component in your WebCenter application pages. It provides a header with an Actions menu that contains User Interface (UI) controls to customize the display of the child component. Table B-2 lists the changes that JDeveloper makes to the attributes of the Show Detail Frame component when you migrate your WebCenter application.
Table B-2 Changes Made to Show Detail Frame Attributes in Migrated WebCenter Applications
Attribute | Description |
---|---|
|
This attribute is removed from the migrated application. |
|
|
|
This attribute is renamed to |
|
This attribute is renamed to |
|
This attribute is removed from the migrated application if |
|
This attribute is renamed to |
Example B-3 shows the sample code of Show Detail Frame in the source view of a WebCenter 10.1.3.x application page. Example B-4 shows the sample Show Detail Frame code after this application is migrated to Oracle WebCenter 11g. Notice that isMaximizable
is removed and the isSeededInteractionAvailable
, isMinimizable
, isMovable
, and ContentInlineStyle
attributes are renamed.
Example B-3 Show Detail Frame Code of a WebCenter 10.1.3.x Application
<cust:showDetailFrame id="showDetailFrame1" text="showDetailFrame 1" isSeededInteractionAvailable="false" isMaximizable="false" isMinimizable="true" isMovable="true"> contentInlineStyle="background-color:rgb(0,255,255)"/>
Example B-4 Show Detail Frame Code of a WebCenter 11g Application
<cust:showDetailFrame id="showDetailFrame1" text="showDetailFrame 1" displayActions="never" showMoveAction="none" showMinimizeAction="none" contentStyle="background-color:rgb(0,255,255)" xmlns="http://xmlns.oracle.com/adf/faces/customizable/html"/>
You can associate external applications with portlet producers. Oracle WebCenter Framework defines an external application as any application that implements its own authentication process. That is, an application that does not take part in the single sign-on process of Oracle WebCenter Framework. For more information, see the "Working with External Applications" section in the Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.
Compared to Oracle Application Server 10g, in Oracle Fusion Middleware 11g, external applications have undergone some changes. In Oracle Fusion Middleware 11g, external applications let you specify shared and public credentials. External applications also let you define an internal name (that serves the purpose of external application identifier and cannot be changed after creation) and a display name (that can be changed). Another distinguishing feature is that in Oracle Application Server 10g, external applications use Metadata Services (MDS) to store metadata; in Oracle Fusion Middleware 11g, external applications are stored as connections similar to other services like content repository connections.
Table B-3 compares how the distinguishing attributes of external applications map between Oracle Application Server 10.1.3.x and Oracle Fusion Middleware 11g. The table shows sample values for the name
, ExtAppId
, and GUID
attributes.
Table B-3 Distinguishing External Applications Attributes in Oracle Application Server 10.1.3.x and Oracle Fusion Middleware 11g
External Application Attribute | Sample Attribute Value in Oracle Application Server 10.1.3.x | Sample Attribute Value in Oracle Fusion Middleware 11g |
---|---|---|
|
app1 |
app1 (Also used as the display name of the external application) |
|
|
app1 |
|
Attribute not supported |
|
|
Attribute not supported |
|
|
Attribute not supported |
|
|
Attribute not supported |
ExtAppbc638395-2860-41ae-a9ff-edfc6b79110f |
If your WebCenter 10.1.3.x application relies on external applications, then when you migrate that application, the associated external applications are also migrated automatically. For example, when migrating a WebCenter 10.1.3.x application that uses PDK-Java producers dependent on external applications, the external applications are automatically migrated. During WebCenter application migration, the migration utility performs the tasks for a migrated external application:
Uses the name of the 10.1.3.x external application as the internal name (ExtAppId
) of the migrated application.
Updates the producer metadata with the new external application ID. An external application is referenced in the portlet producer metadata through its ID.
Migrates the external application metadata from MDS store configured in the WebCenter application's adf-config.xml
to connections.xml
.
Adds the automated login configuration to the project that contains external application portlets.
Adds the new attributes, listed in Table B-3, to the migrated external application.
Removes the credential provisioning page configured for the project containing external application portlets and the managed bean and navigation rule defined in each project. In Oracle Fusion Middleware 11g, the credential provisioning page is packaged in the external application library.
Configures external application libraries, WebCenter External Application Service and WebCenter External Application Service View.
When you migrate a WebCenter application that uses portlets, JDeveloper automatically makes various changes related to portlet tags in the migrated application.
In WebCenter 10.1.3.x applications, the adfp:portlet
tag represents a portlet in the namespace http://xmlns.oracle.com/adf/faces/portlet
.
In WebCenter 11g applications, portlet tags are converted to Trinidad HTML Portlet tags. The adfp:portlet
portlet tag is migrated to adfph:portlet
in the namespace http://xmlns.oracle.com/adf/faces/portlet/html
.
Table B-4 lists the attributes that are renamed or removed from a migrated WebCenter application containing portlets.
Table B-4 Attribute Changes in a Migrated WebCenter Application Containing Portlets
Attribute | Change in the Migrated Application |
---|---|
|
This attribute is renamed to |
|
This attribute is renamed to |
|
This attribute is renamed to |
|
This attribute is renamed to |
|
This attribute is renamed to |
|
This attribute is renamed to |
|
This attribute is removed. |
|
This attribute is removed. |
|
This attribute is removed from an HTML portlet. In Oracle WebCenter 11g, this attribute is available only for rich-text portlets. |
|
In JDeveloper 11g, the values allowed for this attribute are |
Content integration capabilities of Oracle WebCenter enable you to integrate decentralized content located across various content repositories, such as Oracle Content Server, Oracle Portal, or your file system, into your WebCenter applications. This section describes the authentication methods supported in Oracle WebCenter 10.1.3.x and Oracle WebCenter 11g applications. It also describes how credentials are migrated to external applications for content repository connections when you migrate a WebCenter 10.1.3.x application.
To integrate content from a content repository into your WebCenter application, you need to create a connection to the required repository. In Oracle WebCenter 11g, while creating a content repository connection, you can set the authentication method to any of the following:
Identity Propagation: In this method, no credentials are passed to the content repository. Instead, the repository connector uses the current user's identity as determined from the Java security context. This method is generally used when the application and the content repository use the same identity store to authenticate users.
External Application: This method can be used in all other cases where the current user's identity should not be propagated directly to the content repository.
In Oracle WebCenter 10.1.3.x, the authentication method for connecting to a content repository is determined through the Use JAAS for security check box. You select the Use JAAS for security check box if you want to transfer the user's identity to the repository without passing the credentials and to use the trust relationship between the WebCenter application and the content repository. If you do not use the JAAS security, then you need to specify credentials and leave the check box unselected.
Figure B-1 shows the content repository connection details of a WebCenter 10.1.3.x application that does not use JAAS security. In Figure B-1, the Use JAAS for security check box is not selected and credentials are specified in the Username and Password fields.
Figure B-1 Authentication Method of a WebCenter 10.1.3.x Application
If you migrate a WebCenter 10.1.3.x application in which JAAS security is used (that is the Use JAAS for security checkbox is selected), then Identity Propagation is automatically set as the authentication method for the connection in the migrated application. (The Use JAAS for security feature is same as Identity Propagation.)
If the Use JAAS for security check box was not selected in your WebCenter 10.1.3.x application, then when the application is migrated, the authentication method is set to External Application. Further, a new external application with public credentials is created automatically by using credentials from the 10.1.3.x content repository connection. Figure B-2 shows the content repository connection details of a migrated application. It shows the External Application authentication method selected and a new external application created for the migrated application. Figure B-3 shows the public credentials automatically specified for the newly created external application.
Figure B-2 Content Repository Connection Configuration of a Migrated Application
Figure B-3 Public Credentials Specified for an External Application
Note:
If your application contains a content repository connection that uses credentials, and during migration if there is a problem in retrieving credentials from the credential store or in creating the external application, then you must edit the migrated content repository connection. In the Edit Content Repository Connection wizard, you must select External Application as the authentication method, and then create an external application with the required credentials.By default, customizations related to preconfigured portlet producers are stored at the following location:
ORACLE_HOME
/portal/portletdata
You may choose to store portlet customizations at a location different. This section describes how to change the location of a customizations store for various preconfigured portlet producers.
To specify a file preference store location for portlet customizations of your WSRP portlet producers, update your producer's WEB-INF/web.xml
with the following entry:
<env-entry>
<env-entry-name>oracle/portal/wsrp/server/fileStoreRoot</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>{YOUR_PORTLET_DATA_PATH}</env-entry-value>
</env-entry>
Where YOUR_PORTLET_DATA_PATH
refers to the path where you want to store portlet customizations.
If you want to use a database preference store for your WSRP portlet producer, then you must set up the database preference store. For information, see the "Setting Up a Preference Store" section in the Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.
To specify the Web Clipping customization store, update the following entry in mds-config.xm
l:
<property name="metadata-path" value="{YOUR_PORTLET_DATA_PATH}"/>
For information about Web Clipping portlet configuration, see the "Web Clipping Portlet Configuration Tips" section in the Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.
For OmniPortlet, you specify the customization store location in provider.xml
. The file is available at the following location on Oracle WebLogic Server:
FMW_HOME/user_projects/domains/wc_domain/servers/WLS_Portlet/tmp/_WL_user/portalTools_11.1.1.1.0/RANDOMLY_GENERATED_DIRECTORY/war/WEB-INF/providers/omniPortlet/provider.xml
To specify a file preference store location for portlet customizations of your OmniPortlet portlet producers, update the following entry in provider.xml
:
<preferenceStore class="oracle.webdb.reformlet.ReformletFilePreferenceStore">
<name>omniPortletprefStore</name>
<useHashing>true</useHashing>
<rootDirectory>{YOUR_PORTLET_DATA_PATH}</env-entry-value</rootDirectory>
</preferenceStore>
You can change the file preference store location for other PDK-Java portlet producers in the same way.
If you use a database preference store for OmniPortlet and other PDK-Java portlet producer, then you must set up the database preference store. For more information, see the "Setting Up a Preference Store" section in the Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.