Creating Users and Groups for Oracle Adaptive Access Manager

10-10 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management u01apporacleproductfmwiamidmtoolstemplatescommonoam_user_group_read_ acl_template.ldif May 25, 2011 2:45:21 PM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoim_ group_template.ldif May 25, 2011 2:45:21 PM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoam_ group_member_template.ldif May 25, 2011 2:45:21 PM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoam_ config_acl.ldif May 25, 2011 2:45:21 PM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoid_ schemaadmin.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. The file with the name automation.log is created in the directory from where you run the tool.

10.4.3 Creating Users and Groups for Oracle Adaptive Access Manager

If you plan to implement Oracle Adaptive Access Manager in your topology, you must seed the Identity Store with users that are required by OAAM. 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 oaam.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. 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-11 ■ IDSTORE_USERSEARCHBASE is the location in the directory where Users are stored. ■ 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. 3. Configure the Identity Store by using the command idmConfigTool, which is located at: IAM_ORACLE_HOME idmtoolsbin The syntax of the command on Linux is: idmConfigTool.sh -prepareIDStore mode=OAAM input_file=configfile The syntax on Windows is: idmConfigTool.bat -prepareIDStore mode=OAAM input_file=configfile For example: idmConfigTool.sh -prepareIDStore mode=OAAM input_file=oaam.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 oaamadmin. Sample command output: Enter ID Store Bind DN password: Creation of OAAM User Apr 5, 2011 5:08:39 AM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoam_user_template.ldif Enter User Password for oaamadmin: Confirm User Password for oaamadmin: Apr 5, 2011 5:08:49 AM oracle.ldap.util.LDIFLoader loadOneLdifFile INFO: - LOADING: u01apporacleproductfmwiamidmtoolstemplatesoidoaam_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. The file with the name automation.log is created in the directory from where you run the tool. 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 10-12 Oracle Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management

10.4.4 Creating Users and Groups for Oracle Identity Manager