How to Set Up a BI JDBC Data Source

4-4 Oracle Fusion Middleware Integrators Guide for Oracle Business Intelligence Enterprise Edition For more information about configuring SAML, see Oracle Fusion Middleware Security and Administrators Guide for Web Services.

4.3.2.4 Assigning the manageRepositories Permission

You must provide the user who will run the Web service with the manageRepositories permission. For information about how to set up security and apply this permission, see Oracle Fusion Middleware Security Guide for Oracle Business Intelligence Enterprise Edition.

4.3.2.5 Sample Code

Use the following code to set up client-side security. You can use this code to set up a client-side instances of the Admin Service configured to pass authentication information in a SAML token. This code must reside in an authenticated Web application. The authentication information in the session will be passed automatically to the Web service. You will have to generate client-side proxy classes to use code such as the example code. In this example, the proxies have been generated in the package adminwebservice.client. import adminwebservice.client.; Looks up an instance of the Admin Service and sets the correct authentication information on it. return Admin Proxy to the admin service. protected Admin getAdminService throws Exception { String SERVICE_NAMESPACE = http:ws.admin.obiee.oracle; String SERVICE_NAME = AdminService; String PORT_NAME = AdminPort; String WSS_POLICY_CONFIG_FILE_SAML = wss-policy-saml.xml; URL wsdlURL = new URL http:localhost:7001AdminServiceAdminService?WSDL; QName serviceQname = new QNameSERVICE_NAMESPACE, SERVICE_NAME; QName portQname = new QNameSERVICE_NAMESPACE, PORT_NAME; ServiceDelegateImpl serviceDelegate = new ServiceDelegateImpl wsdlURL, serviceQname, OracleService.class; Admin admin = serviceDelegate.getPort portQname, Admin.class; BindingProvideradmin.getRequestContext.putClientConstants.CLIENT_ CONFIG,toElementthis.getClass.getResourceAsStreamWSS_POLICY_CONFIG_ FILE_SAML; BindingProvideradmin.getRequestContext.putBindingProvider. ENDPOINT_ADDRESS_PROPERTY, getServiceUrl; return admin; } WSS_POLICY_CONFIG_FILE_SAML WSS_POLICY_CONFIG_FILE_SAML is the resource name of a file with the following content: ?xml version=1.0 encoding=UTF-8?