Sun Java logo     Previous      Contents      Next     

Sun logo
Sun Java System Identity Manager 6.0 Resources Reference 2005Q4M3 


Oracle and Oracle ERP

Identity Manager provides resource adapters for supporting the following Oracle products:

The following table summarizes the attributes of the Oracle adapters:

GUI Name

Class Name

Oracle

com.waveset.adapter.OracleResourceAdapter

Oracle ERP

com.waveset.adapter.OracleERPResourceAdapter

Use this adapter to support user accounts for logging into Oracle or Oracle Financials. If you have a custom Oracle table, see Database Table on page 1-89 for information about using the Resource Adapter Wizard to create a custom Oracle table resource.

Resource Configuration Notes

None

Identity Manager Installation Notes

The Oracle and Oracle ERP resource adapters are custom adapters. You must perform the following steps to complete the installation process:

  1. To add an Oracle resource to the Identity Manager resources list, you must add the one of the following values in the Custom Resources section of the Configure Managed Resources page.
  2. com.waveset.adapter.OracleResourceAdapter

    com.waveset.adapter.OracleERPResourceAdapter

  3. If you are using the JDBC thin driver:
    1. Copy the oracle\jdbc\lib\classes12.zip file from the installation media to the InstallDir\idm\WEB-INF\lib directory.
    2. Rename the file to oraclejdbc.jar.
  4. If you are using a different driver, specify the driver and connection URL on the Resource Parameters page.

The Oracle ERP adapter supports version 11.5.9 without further modification; however, the following additional changes are required to support version 11.5.10:

  1. Delete the responsibilities account attribute from the schema map and add the directResponsibilities and indirectResponsibilities attributes.
  2. Copy the OracleERPUserForm.xml file and comment out the section labeled 11.5.9 and uncomment the 11.5.10 section. Then import your copy of the sample user form.

  3. Note  Remember to replace the OracleERP Resource string with site-specific ERP resource names in fields calling listResourceObjects.

Usage Notes

This section describes dependencies and limitations related to using the Oracle and Oracle ERP resource adapters.

Oracle

Information about user types and cascade deletes are provided in the following sections.

User Types

The Oracle database permits the following types of users:

If you are managing external or global users, you should place the Oracle resource in a resource group that also includes the machine upon which it is installed or the directory service.

Cascade Deletes

The noCascade account attribute indicates whether to perform cascade drops when deleting users. By default, cascade drops are performed. To disable cascade drops:

  1. Add an entry to updateableAttributes section of System Configuration Object:
  2. <Attribute name='Delete'>

       <Object>

          <Attribute name='all'>

             <List>

                <String>noCascade</String>

             </List>

          </Attribute>

       </Object>

    </Attribute>

  3. Add a field to the deprovision form:
  4. <Field name='resourceAccounts.currentResourceAccounts
    [MyOracleResource].attributes.noCascade'>

       <Display class='Checkbox'>

          <Property name='title' value='Do NOT Cascade MyOracleResource Delete'/>

          <Property name='alignment' value='left'/>

       </Display>

       <Disable>

          <isnull>

             <ref>resourceAccounts.currentResourceAccounts[MyOracleRes ource]</ref>

          </isnull>

       </Disable>

    </Field>

  5. Add the noCascade account attribute to Oracle Resource schema.

  6. Note  If the user owns objects and the “do not cascade” option has been selected, Oracle will throw an error. The user will not be deleted.

  7. Add a noCascade field to the user form so that the attribute can be disabled. For example:
  8. <Field name='global.noCascade'>

       <Disable>

          <s>TRUE</s>

       </Disable>

    </Field>

Oracle ERP

The following resource parameters are applicable for the Oracle ERP adapter.

Oracle Client Encryption Types

This parameter can contain a list of valid Oracle support encryption algorithm names, such as RC4_56 or RC4_128. If this list is empty, all algorithms supported by Oracle for that Oracle release will be available. The client/server will negotiate on which of these algorithms to use based on Oracle Client Encryption Level setting.


Note  The Oracle Server must also be configured to support this type of encryption.

For a more details on the supported algorithms, refer to the Oracle Advanced Security Administrator's Guide. See SQLNET.ENCRYPTION_TYPES_CLIENT for a list of valid values for the thin JDBC client.

Oracle Client Encryption Level

This value determines the level of security that the server/client negotiates and enforces. The default value, if left blank, is ACCEPTED. The valid values are REJECTED, ACCEPTED, REQUESTED and REQUIRED. For more details on use of this parameter, refer to the Oracle Advanced Security Administrator's Guide and the SQLNET.ENCRYPTION_CLIENT values.

The Oracle Server will need to be configured also to support this type of encryption.

Oracle ERP Admin User Responsibility

This value determines the ERP Responsibility used by the Identity Manager Oracle ERP Admin user to call the ERP application initialization routine. A list of valid responsibilities can be found in the fnd_responsibility_vl table. Also refer to the ERP documentation for more information.

If the Identity Manager Oracle ERP Admin user has a valid ERP system account and has a responsibility that matches the value of this parameter, the Oracle session created during connection enables the users’ actions to be audited using the Oracle ERP auditing mechanism. For example, the created_by and the last_updated_by fields of the fnd_user table objects will be updated correctly with the user ID of the Identity Manager Oracle ERP Admin user.

Adding Securing Attributes

The securingAttrs account attribute supports the Securing Attributes feature in Oracle Financials. To configure Securing Attributes from the Identity Manager Create User page, perform the following steps:

  1. Select the Add Securing Attribute checkbox.
  2. Enter a search pattern to narrow the choices of available attributes in the Enter Securing Attribute Search Pattern text box. Use the % character as a wild card. Then click the Load Securing Attributes button. This will load the attributes into the Oracle Securing Attributes select box.
  3. Select an attribute from the drop-down menu, and it will be added to the Securing Attributes table.
  4. You may remove securing attributes by selecting the attribute to be removed from the table and clicking the Remove Selected Securing Attribute button.

Enabling Users

Enabling an Oracle ERP user requires the value of the owner attribute to be specified. The value CUST is used by default unless the value is specifically added to the Enable Form and sent through the enable view. The following example changes the default owner to MYOWNER:

<Field name='resourceAccounts.currentResourceAccounts[MyOracleERP].
attributes.owner' type='string'>

   <Display class='Text'>

      <Property name='title' value='Owner'/>

   </Display>

   <Default>

      <s>MYOWNER</s>

   </Default>

</Field>

Security Notes

This section provides information about supported connections and privilege requirements.

Supported Connections

Identity Manager can use one of the following drivers to communicate with the Oracle adapters:

Required Administrative Privileges

To create an Oracle user, the administrator must have CREATE USER, ALTER USER, and DROP USER system privileges.

For Oracle and Oracle Applications, administrators must have SELECT permissions on the following database views:

Oracle ERP Permissions

Oracle Applications require access to the following tables and stored procedures.


Note  The administrator must be able to run the select command for all tables. In addition, the administrator must be able to update the apps.fnd_user table.

Tables

Stored Procedures

apps.ak_attributes

apps.ak_attributes_tl

apps.ak_web_user_sec_attr_values

apps.fnd_application

apps.fnd_application_tl

apps.fnd_application_vl

apps.fnd_profile

apps.fnd_responsibility

apps.fnd_responsibility_vl

apps.fnd_security_groups

apps.fnd_security_groups_tl

apps.fnd_security_groups_vl

apps.fnd_user

apps.fnd_user_resp_groups

apps.icx_parameters

apps.app_exception.raise_exception

apps.fnd_global.apps_initialize

apps.fnd_global.user_id

apps.fnd_message.get

apps.fnd_message.get_token

apps.fnd_message.set_name

apps.fnd_message.set_token

apps.fnd_profile.get

apps.fnd_user_pkg.AddResp

apps.fnd_user_pkg.CreateUser

apps.fnd_user_pkg.DisableUser

apps.fnd_user_pkg.DelResp

apps.fnd_user_pkg.UpdateUser

apps.fnd_user_pkg.user_synch

apps.fnd_user_pkg.validatelogin

apps.fnd_user_resp_groups_api.assignment_exists

apps.fnd_user_resp_groups_api.insert_assignment

apps.fnd_user_resp_groups_api.update_assignment

apps.fnd_web_sec.change_password

apps.fnd_web_soc.create_user

apps.fnd_web_sec.validation_login

apps.icx_user_sec_attr_pub.create_user_sec_attr

apps.icx_user_sec_attr_pub.delete_user_sec_attr


Note  The adapter might access additional tables and stored procedures. Refer to the Oracle Applications documentation for additional information.

Oracle states that the Oracle ERP system, including the fnd_user_pkg stored procedures, were designed to be used to administer the ORACLE ERP system as the APPS user. Oracle does NOT recommend creating an alternate administrative user. However, if you need to manage Oracle ERP with a user other than APPS, contact Oracle for guidance.

The alternate administrative user must be granted the same access as the APPS user has to all Oracle data, including tables, views, and stored procedures.

The user will also need synonyms set up so the user will have access to the tables that the APPS user has access to. If a different user is used and the appropriate grants and synonyms have not been created for the user, the following error might be encountered:

Error: ORA-00942: table or view does not exist

Add the appropriate grants and synonyms to correct the error.

A sample SQL*Plus script is can be found in $WSHOME/sample/other/
CreateLHERPAdminUser.oracle
.

This script can be modified as necessary and be used to create an alternative Oracle ERP administrative user. Usage instructions are documented in the comments at the beginning of the script.

For pass-through authentication only, authority is needed to run the following SQL command:

create or replace function wavesetValidateFunc1 (username IN varchar2, password IN varchar2)

RETURN varchar2 IS ret_val boolean;

BEGIN ret_val := apps.FND_USER_PKG.ValidateLogin(username, password);

IF ret_val = TRUE THEN RETURN 'valid';

ELSE RETURN NULL;

END IF;

END wavesetValidateFunc1;

Provisioning Notes

The following table summarizes the provisioning capabilities of this adapter.

Feature

Supported?

Enable/disable account

Yes.

For Oracle ERP, set the password expiration date to a date in the past to disable the account.

Rename account

No

Pass-through authentication

Yes

Before/after actions

No

Data loading methods

Import directly from resource

Account Attributes

This section provides information about the Oracle and Oracle ERPaccount attributes, including:

Oracle Database

The following table lists the Oracle database user account attributes.


Notes:

Resource
User Attribute

Description

noCascade

Indicates whether to perform a cascade delete for a user.

oracleAuthentication

Must be one of the following values:

  LOCAL (default value)

  EXTERNAL

  GLOBAL

oracleDefaultTS

Name of the default tablespace for objects that the user creates.

oracleDefaultTSQuota

Maximum amount of default tablespace the user can allocate.

oracleGlobalName

Global name of a user.
(Applicable only when oracleAuthentication is set to GLOBAL.)

expirePassword

This attribute is applicable for local Oracle accounts only.

oraclePrivs

One or more privileges assigned to the user.

oracleProfile

One or more profiles assigned to the user.

oracleRoles

One or more roles assigned to the user.

oracleTempTS

Name of the tablespace for the user’s temporary segments.

oracleTempTSQuota

Maximum amount of temporary tablespace the user can allocate.

Oracle Financials

The following table lists the Oracle ERP account attributes. All attributes are optional.

Resource User Attribute

Data Type

Description

owner

string

The administrator who created the account.

start_date

string

The date the account is effective.

end_date

string

The date the account expires. Set the date to a previous date to disable an account. A null value indicates no expiration date.

description

string

A description of the user, such as the full name.

password_date

string

The datestamp of the last password change.

Oracle ERP can use this datestamp when evaluating the password_lifespan_days attribute value. For example if you set the password_lifespan_days attribute to 90, then Oracle ERP will calculate 90 days out from the last password change date (password_date) to determine if the password is expired.

Each time the Oracle ERP adapter performs a password change, it will set the password_date to the current date.

password_accesses_left

string

The number of times the user can use the current password.

password_lifespan_accesses

string

The number of accesses over the life of the password

password_lifespan_days

string

The total number of days the password is valid.

employee_id

string

Identifier of employee to whom the application username is assigned.

email_address

string

The e-mail address of the user.

fax

string

The fax number of the user.

customer_id

string

The customer ID of the user.

supplier_id

string

The supplier ID of the user.

responsibilities

string

The names of the responsibilities assigned to the user.

responsibilityKeys

string

The keys associated with the user’s list of responsibilities.

securingAttrs

string

Adds supports for securing attributes.

expirePassword

boolean

Indicates whether the password will be expired.

The Oracle ERP adapter allows you to add several read-only attributes that Identity Auditor can use to audit changes to responsibilities. The values returned in the auditorResps attribute are the active responsibilities for that user. All other attributes listed below are aggregates of each responsibility's sub-items, minus any menu and function exclusions that may exist.

The following table lists attributes that may be added to the schema map

Attribute

Description

auditorResps

List of a user’s Active Responsibilities.

userMenuNames

Concatenates all User Menu Names.

menuIds

Concatenates all Menu IDs

userFunctionNames

Concatenates all User Function Names

functionIds

Concatenates all Function IDs

formIds

Concatenates all Form IDs. Includes values returned by readOnlyFormIds and readWriteOnlyFormIds.

formNames

Concatenates all Form Names. Includes values returned by readOnlyFormNames and readWriteOnlyFormNames/

userFormNames

Concatenates all User Form Names. Includes values returned by readOnlyUserFormNames and readWriteOnlyUserFormNames/

readOnlyFormIds

Concatenates all Read-Only Forms IDs

readOnlyFormNames

Concatenates all Read-Only Form Names

readOnlyUserFormNames

Concatenates all Read-Only User Form Names

readWriteOnlyFormIds

Concatenates all Read/Write-Only Forms Ids

readWriteOnlyFormNames

Concatenates all Read/Write-Only Form Names

readWriteOnlyUserFormNames

Concatenates all Read/Write-Only User Form Names

Resource Object Management

None

Identity Template

$accountId$

Sample Forms

Built-In

None

Also Available

OracleERPUserForm.xml

Troubleshooting

Use the Identity Manager debug pages to set trace options on the following classes:



Previous      Contents      Next     


Copyright 2006 Sun Microsystems, Inc. All rights reserved.