Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun[TM] Identity Manager 8.0 Resources Reference 


Oracle

The Oracle resource adapter is defined in the com.waveset.adapter.OracleResourceAdapter class.


Note

Identity Manager also provides an Oracle ERP resource adapter that supports Oracle E-Business Suite (EBS). For detailed information about this adapter, see Oracle ERP.


Use this adapter to support user accounts for logging into Oracle. If you have a custom Oracle table, see Database Table 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 resource adapter is a custom adapter. 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 following value in the Custom Resources section of the Configure Managed Resources page.
  2. com.waveset.adapter.OracleResourceAdapter

  3. If you are connecting to Oracle Real Application Clusters (RAC) using a thin driver, specify a value in the following format in the Connection URL on the Resource parameters page:
  4. jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=host01)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host02)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host03)(PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=PROD)))

  5. If you are using the JDBC thin driver in an environment that does not use Oracle Real Application Clusters, copy the JAR file that contains the JDBC thin driver classes to the %WSHOME%\WEB-INF\lib directory. The JAR file must be compatible with the JDK version of your application server.
  6. If you are using a different driver, specify the driver and connection URL on the Resource Parameters page.

Usage Notes

This section describes dependencies and limitations related to using the Oracle resource adapter, including information about user types and cascade deletes.

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 updatableAttributes 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[MyOracleResource ]</ref>
          </isnull>
       </Disable>
    </Field>

  5. Add the noCascade account attribute to Oracle Resource schema.
  6. If the user owns objects and the do not cascade option is 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>

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 adapter:

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:

Provisioning Notes

The following table summarizes the provisioning capabilities of this adapter.

Feature

Supported?

Enable/disable account

Yes

Rename account

No

Pass-through authentication

Yes

Before/after actions

No

Data loading methods

Import directly from resource

Account Attributes

The following table lists the Oracle database user account attributes. All attributes are Strings. All attributes are optional.

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

The maximum amount of temporary tablespace the user can allocate. If the attribute appears in the schema map, the quota is always set on the temporary tablespace. If the attribute is removed from the schema map, no quota will be set on the temporary tablespace. The attribute must be removed for adapters that communicate with Oracle 10gR2 resources. (ID-12843)

Resource Object Management

None

Identity Template

$accountId$

Sample Forms

Built-In

None

Troubleshooting

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



Previous      Contents      Index      Next     


.   Copyright 2008 Sun Microsystems, Inc. All rights reserved.