Configuring Cross-Domain Trust Configuring the WebCenter OPSS Trust Service

19-10 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter E_HOMEoraclewlserver_10.3serverlibwljmxclient.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote 2. Open the JConsole Remote Connection: service:jmx:iiop:example.com:7001jndiweblogic.management.mbeanservers.domai nruntime Username: weblogic Password: welcome1 3. Change the connection property for the provider. For example, to change the Activity Graph host name: a. Expand the tree: oracle.wcps.connections-ConnectionConfiguration.Namespace.Connection-defa ult-activity.provider.connection-ConnectionConfiguration-wcps-services- ActivityGraphConfigConnection-Attributes

b. Click on Properties.

c. In the right panel, double click the value in the first row. You can now scroll through current values using Composite Navigation. d. To change the host value, click on Properties in the navigation tree, supply a name and new value, and then click setProperty.

19.4.1.5 Configuring Connections Using Fusion Middleware Control

You can use Fusion Middleware Control to view or edit the JMX MBeans the connection configuration MBeans for Activity Graph, Oracle Content Server, and People Connections deployed with WebCenter Personalization. To view or edit connection configuration MBeans:

1. Open Fusion Middleware Control Navigate to Personalization Services.

2. Click WCPS-Services.

3. From the Application Development drop-down menu, select System MBean

Browser . 4. In the MBean browser under Application Defined MBeans, select oracle.wcps.connections and continue to drill down to the connection information you wish to modify.

5. On the Attributes tab, select Properties to view current values of connection

attributes.

6. On the Operations tab, select setProperty and click Invoke to modify the

namevalue pairs.

19.4.1.6 Writing a Custom Configuration Class

Custom configuration classes classes annotated with ConnectionConfiguration are implemented by customers writing their own data providers. This allows custom data providers to use the Personalization connection framework to retrieve connection information configured using the Personalization WLST scripts. Custom configuration classes for data providers are more fully described in the section on Custom Data Providers in the Oracle Fusion Middleware Developers Guide for Oracle WebCenter. Managing WebCenter Personalization 19-11

19.4.2 Configuring the CMIS Provider

If you are working outside of the Integrated WLS domain i.e., in the WC_Spaces domain, before you can use the CMIS provider in your scenario, you must first configure connection settings for it. Connection settings for the CMIS provider are maintained in wcps-connections.xml in the wc_domain conductor extensions directory domain scoped. Although it is not recommended that you edit this file directly, there are several other ways in which you can modify connection settings. Use one of the methods described in Section 19.4.1, Creating or Modifying Provider Connection Settings. to configure the connection settings for the CMIS provider. Connection Element and Property Descriptions connection-name - unique name for this connection. Connections can be retrieved by name. namespace - generally, this must match the namespace the accessing scenario is deployed within. The namespace is how the Conductor determines how to locate the appropriate connection for a given scenario. Using a wildcard , you can make this connection element available in all namespaces. nameisDefaultname - marks this connection as the default connection if multiple connections are defined namerepositoryIdname - this property must be changed to match the Content Repository in your environment. namepathname - this property must be changed to match the Content Repositor in your environment. Defaults to apicmisrepositoryrepositoryId if not specified nameschemename - protocol to access the CMIS REST service HTTP or HTTPS for SSL. Defaults to HTTP if not explicitly specified. namehostname - machine name hosting the CMIS REST service. This is the machine name of the WC_Spaces managed server. nameportname - machine port number hosting the CMIS REST service. This is the machine port number of the WC_Spaces managed server. namepathTrimname - Default is no trim if not explicitly specified namerewriteUrlsname - can be set to None, Consumer, or Producer. See the REST Proxy page for details. If you want the direct URLs from the CMIS server for document links, set this to None. Default is no rewrite None. nameusernamename - Optional the username to use when connecting to the CMIS REST service. Can be used to force a connection to a fixed username. namepasswordname - Optional the password to use when connecting to the CMIS REST service. Used in conjunction with username, can be used to force a connection to a fixed usernamepassword. Not recommended for use outside of development environment since password access is not secured. nametimeoutInMillisecsname - Time in milliseconds before the CMIS query read response times out namepropagateTimeoutExceptionsname - If true, propagate the timeout exceptions. Otherwise, log the exception and return null for the CMIS query response.