Creating Users and Groups for Oracle WebLogic Server

10-14 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoim_reserve_ template.ldif Creation of Xel Sys Admin User Apr 5, 2011 4:59:01 AM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoam_user_template.ldif Enter User Password for xelsysadm: Confirm User Password for xelsysadm: The tool has completed its operation. Details have been logged to homeoracleidmtoolsoim.log 4. Check the log file for any errors or warnings and correct them. The file with the name automation.log is created in the directory from where you run the tool.

10.4.5 Creating Users and Groups for Oracle WebLogic Server

When you enable single sign-on for your administrative consoles, you must ensure that there is a user in your Identity Store that has the permissions to log in to your WebLogic Administration Console and Oracle Enterprise Manager Fusion Middleware Control. To do this, perform the following tasks on IDMHOST1:

1. Set the environment variables: MW_HOME, JAVA_HOME, IDM_HOME and ORACLE_

HOME . Set IDM_HOME to IDM_ORACLE_HOME. Set ORACLE_HOME to IAM_ORACLE_HOME.

2. Create a properties file, called wls.props with the following contents:

IDSTORE_HOST: idstore.mycompany.com IDSTORE_PORT: 389 IDSTORE_BINDDN: cn=orcladmin IDSTORE_USERNAMEATTRIBUTE: cn IDSTORE_LOGINATTRIBUTE: uid IDSTORE_USERSEARCHBASE: cn=Users, dc=mycompany,dc=com IDSTORE_GROUPSEARCHBASE: cn=Groups,dc=mycompany,dc=com IDSTORE_SEARCHBASE: dc=mycompany,dc=com POLICYSTORE_SHARES_IDSTORE: true Where: ■ IDSTORE_HOST and IDSTORE_PORT are, respectively, the host and port of your Identity Store directory. If you are using a non-OID directory, then specify the Oracle Virtual Directory host which should be IDSTORE.mycompany.com. If your Identity Store is in Oracle Internet Directory, then IDSTORE_HOST should point to Oracle Internet Directory, even if you are fronting Oracle Internet Directory with Oracle Virtual Directory. ■ IDSTORE_BINDDN Is an administrative user in the Identity Store directory. ■ IDSTORE_USERSEARCHBASE is the location in the directory where Users are Stored. See Also: Oracle Fusion Middleware Integration Overview for Oracle Identity Management Suite for more information about the idmConfigTool command. Preparing Identity and Policy Stores 10-15 ■ IDSTORE_GROUPSEARCHBASE is the location in the directory where Groups are Stored. ■ IDSTORE_SEARCHBASE is the location in the directory where Users and Groups are stored. ■ POLICYSTORE_SHARES_IDSTORE is set to true if your Policy and Identity Stores are in the same directory. If not, it is set to false. The command creates a user called weblogic_idm and assigns it to a group called IDM Administrators. 3. Configure the Identity Store by using the command idmConfigTool, which is located at IAM_ORACLE_HOMEidmtoolsbin The syntax of the command on Linux is: idmConfigTool.sh -prepareIDStore mode=WLS input_file=configfile The syntax on Windows is: idmConfigTool.bat -prepareIDStore mode=WLS input_file=configfile For example: idmConfigTool.sh -prepareIDStore mode=WLS input_file=wls.props When the command runs you are prompted to enter the password of the account you are connecting to the Identity Store with. You are also asked to specify the passwords you want to assign to the account weblogic_idm. Sample command output: Enter ID Store Bind DN password: Creation of Weblogic Admin User Apr 5, 2011 5:52:04 AM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoam_user_template.ldif Enter User Password for weblogic_idm: Confirm User Password for weblogic_idm: Apr 5, 2011 5:52:12 AM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidweblogic_admin_ group.ldif The tool has completed its operation. Details have been logged to automation.log 4. Check the log file for any errors or warnings and correct them. Note: When you run the idmConfigTool, it creates or appends to the file idmDomainConfig.param. This file is generated in the same directory that the idmConfigTool is run from. To ensure that each time the tool is run, the same file is appended to, always run the idmConfigTool from the directory: IAM_ORACLE_HOME idmtoolsbin See Also: Oracle Fusion Middleware Integration Overview for Oracle Identity Management Suite for more information about the idmConfigTool command. 10-16 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management

10.4.6 Disable Anonymous Binds to Oracle Virtual Directory LDAP Ports