Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


oracle.idm.provisioning.util
Class ProvUtil

java.lang.Object
  extended byoracle.idm.provisioning.util.ProvUtil


public class ProvUtil
extends java.lang.Object

A class that contains general utilities for provisioning

Since:
OCS 2.1

Method Summary
static java.util.HashMap getUserProvisioningStatus(javax.naming.ldap.LdapContext ctx, int idType, java.lang.String id, Configuration prvConf)
API to get the provisioning Status of all the applications that user is subscribed to.
static java.lang.String getUserProvisioningStatus(javax.naming.ldap.LdapContext ctx, int idType, java.lang.String id, java.lang.String appType, java.lang.String appName)
API to get the provisioning Status of a user given its identification
static void setUserProvisioningStatus(javax.naming.ldap.LdapContext ctx, int idType, java.lang.String id, java.lang.String appType, java.lang.String appName, java.lang.String provStatus, java.lang.String provStatusDesc)
API to set the provisioning Status of a user given its identification

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getUserProvisioningStatus

public static java.util.HashMap getUserProvisioningStatus(javax.naming.ldap.LdapContext ctx,
                                                          int idType,
                                                          java.lang.String id,
                                                          Configuration prvConf)
                                                   throws ProvisioningException
API to get the provisioning Status of all the applications that user is subscribed to.
Parameters:
ctx - directory context
idType - Identification Type. Which can be either oracle.ldap.util.Util.IDTYPE_DN or oracle.ldap.util.Util.IDTYPE_GUID
id - Identification
prvConf - reference to Configuration object.
Returns:
HashMap with the application object as the Key and the provisioning status as the value
Throws:
ProvisioningException - in case of error

getUserProvisioningStatus

public static java.lang.String getUserProvisioningStatus(javax.naming.ldap.LdapContext ctx,
                                                         int idType,
                                                         java.lang.String id,
                                                         java.lang.String appType,
                                                         java.lang.String appName)
                                                  throws ProvisioningException
API to get the provisioning Status of a user given its identification
Parameters:
ctx - directory context
idType - Identification Type. Which can be either oracle.ldap.util.Util.IDTYPE_DN or oracle.ldap.util.Util.IDTYPE_GUID
id - Identification
appType - type
appName - name
Returns:
Provisioning status of the user
Throws:
ProvisioningException - in case of error

setUserProvisioningStatus

public static void setUserProvisioningStatus(javax.naming.ldap.LdapContext ctx,
                                             int idType,
                                             java.lang.String id,
                                             java.lang.String appType,
                                             java.lang.String appName,
                                             java.lang.String provStatus,
                                             java.lang.String provStatusDesc)
                                      throws ProvisioningException
API to set the provisioning Status of a user given its identification
Parameters:
ctx - directory context
idType - Identification Type. Which can be either oracle.ldap.util.Util.IDTYPE_DN or oracle.ldap.util.Util.IDTYPE_GUID
id - Identification
appType - type
appName - name
provStatus - provisioning status of the user
provStatusDesc - provisioning status description of the user
Throws:
ProvisioningException - in case of error

Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


Copyright © 2005, Oracle. All Rights Reserved.