Description Syntax Example createSESConnection

10-156 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.16.1 createSESConnection

Module: Oracle WebCenter Use with WLST: Online

10.16.1.1 Description

Creates a connection to an Oracle Secure Enterprise Search SES instance for a WebCenter application.

10.16.1.2 Syntax

createSESConnectionappName, name, url, appUser, appPassword,[default], [server], [applicationVersion] createFederationTrusted Entity Create a federation trusted entity on an Oracle SES instance. Online Argument Definition appName Name of the WebCenter application in which to perform this operation. name Connection name. The name must be unique across all connection types within the WebCenter application. url Web Services URL that Oracle Secure Enterprise Search exposes to enable Search requests. Use the format: http:host:portsearchqueryOracleSearch appUser User name that the WebCenter application uses to authenticate itself as a trusted application to Oracle Secure Enterprise Search so that it may perform searches on behalf of WebCenter users. The specified user must be present in both the Oracle Identity Management server configured for the WebCenter application and the Oracle Identity Management server configured for Oracle SES. appPassword Password for the user name specified. default Optional. Configures WebCenter Search service to actively use the search connection. Valid options are 1 true and 0 false. Setting to 1 replaces any other search connection that is being used. Setting to 0 does not change the current Search service configuration. This argument defaults to 0. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. Table 10–24 Cont. Search - Oracle SES WLST Commands Use this command... To... Use with WLST... Oracle WebCenter Custom WLST Commands 10-157

10.16.1.3 Example

The following example creates a new search connection that points to the SES instance http:myhost.com:7777searchqueryOracleSearch and makes this connection the active SES search connection for a WebCenter application named app1. wls:weblogicserverConfig createSESConnectionappName=app1, name=SESConn1, url=http:myhost.com:7777searchqueryOracleSearch, appUser=wpadmin, appPassword=password, default=1

10.16.2 setSESConnection