Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.util.provisioning
Class ProvisioningProfile

java.lang.Object
  extended by oracle.ldap.util.provisioning.ProvisioningProfile


public class ProvisioningProfile
extends java.lang.Object

Class: ProvisioningProfile This class embeds the logic for handling a Provisioning Profile. This is primarily used by the Subscription tool to set profiles in the directory.


Field Summary
static java.lang.String APPLICATION_DISPLAY_NAME
          Argument Name APPLICATION_DISPLAY_NAME - User Friendly Name for UI
static java.lang.String APPLICATION_DN
          Argument Name APPLICATION_DN - Application DN.
static java.lang.String APPLICATION_ISDASVISIBLE
          Argument Name APPLICATION_ISDASVISIBLE - Should the application be shown in the DAS provisioning console.
static java.lang.String APPLICATION_NAME
          Argument Name APPLICATION_NAME - Application NAME.
static java.lang.String APPLICATION_TYPE
          Argument Name APPLICATION_TYPE - Application TYPE.
static java.lang.String CRYPT_KEY
          Argument Name CRYPT_KEY - Key to be used for data encryption during transmission.Not Yet Implemented for OUTBOUND Events.
static java.lang.String DEFAULT_PROVISIONING_POLICY
          Argument Name DEFAULT_PROVISIONING_POLICY - Provisioning Required by Default or NOT.
static java.lang.String ENABLE_BOOTSTRAP
          Argument Name ENABLE_BOOTSTRAP - Whether the application needs to be bootstrapped by default or not.
static java.lang.String ENABLE_UPGRADE
          Argument Name ENABLE_UPGRADE - Whether the application needs to be upgraded by default or not.
static java.lang.String EVENT_MAPPING_RULES
          Argument Name EVENT_MAPPING_RULES - Mapping Rules For INBOUND Events.
static java.lang.String EVENT_PERMITTED_OPERATIONS
          Argument Name EVENT_PERMITTED_OPERATIONS - Permitted INBOUND Events
static java.lang.String EVENT_SUBSCRIPTION
          Argument Name EVENT_SUBSCRIPTION - Event Subscription Details
static java.lang.String INTERFACE_ADDITIONAL_INFO
          Argument Name INTERFACE_ADDITIONAL_INFO - Interface Additional Information
static java.lang.String INTERFACE_CONNECT_INFO
          Argument Name INTERFACE_CONNECT_INFO - Interface Connect Information
static java.lang.String INTERFACE_NAME
          Argument Name INTERFACE_NAME - Interface Name
static java.lang.String INTERFACE_TYPE
          Argument Name INTERFACE_TYPE - Interface Type
static java.lang.String INTERFACE_VERSION
          Argument Name INTERFACE_VERSION - Interface Version
static java.lang.String LASTCHANGENUMBER
          Argument Name EVENT_PERMITTED_OPERATIONS - OID Last Change Log number This is defaulted to the current last change number.
static java.lang.String LDAP_HOST
          Argument Name HOST - Directory server name.
static java.lang.String LDAP_PORT
          Argument Name PORT - Directory Server Port number
static java.lang.String LDAP_USER_DN
          Argument Name LDAP_USER_DN - Directory Server Bind DN.
static java.lang.String LDAP_USER_PASSWORD
          Argument Name LDAP_USER_PASSWORD - LDAP_USER_DN Password.
static java.lang.String MANAGE_APPLICATION_DEFAULTS
          Argument Name MANAGE_APPLICATION_DEFAULTS - Should the application defaults be managed from DAS.
static java.lang.String MAX_EVENTS_PER_INVOCATION
          Argument Name MAX_EVENTS_PER_INVOCATION - Max Events that should be Propgated through the event propagation interface in one invocation of the interface.
static java.lang.String MAX_EVENTS_PER_SCHEDULE
          Argument Name MAX_EVENTS_PER_SCHEDULE - Max Events that should be Propgated through the event propagation interface.
static java.lang.String MAX_PROV_FAILURE_RETRIES
          Argument Name MAX__PROV_FAILURE_LIMIT - Maximum number of times the provision a user that has alrady failed provisioning.
static java.lang.String MAX_RETRIES
          Argument Name MAX_RETRIES on failures
static java.lang.String OP_CREATE
          Constant to be used For Profile CREATE
static java.lang.String OP_DELETE
          Constant to be used For Profile DELETE
static java.lang.String OP_DISABLE
          Constant to be used For Profile DISABLE
static java.lang.String OP_ENABLE
          Constant to be used For Profile ENABLE
static java.lang.String OP_EXISTS
          Constant to be used For Profile EXISTS
static java.lang.String OP_MODIFY
          Constant to be used For Profile MODIFY
static java.lang.String OP_RESET
          Constant to be used For Profile RESET
static java.lang.String OP_STATUS
          Constant to be used For Profile STATUS
static java.lang.String OPERATION
          Argument Name OPERATION - The Operation to be performed.
static java.lang.String ORGANIZATION_DN
          Argument Name ORGANIZATION_DN - Organization DN.
static java.lang.String ORGANIZATION_NAME
          Argument Name ORGANIZATION - Organization Simple Name.
static java.lang.String PROFILE_DEBUG
          Argument Name - DEBUG Level to be enabled for debugging purposes.
static java.lang.String PROFILE_GROUP
          Argument Name PROFILE_GROUP - To specify the Profile Group .
static java.lang.String PROFILE_MAX_ERRORS
          Argument Name PROFILE_MAX_ERRORS - Event Propagation Stops after this.
static java.lang.String PROFILE_MODE
          Argument Name PROFILE_MODE - Mode (INBOUND / OUTBOUND / BOTH)
static java.lang.String PROFILE_STATUS
          Argument Name STATUS - Provisioning Profile STATUS (ENABLED/DISABLED)
protected  java.lang.String profileChgLogLastAppliedChangeNumber
          the last applied change number for this profile
protected  java.lang.String profileChgLogSubscriberDisable
          flag to see if change log subscription is enabled/disabled
protected  java.lang.String profileDN
          DN of this profile
protected  java.lang.String profileGroup
          the Profile Group ID
protected  java.util.Vector profileInterfaceAdditionalInfo
          the additional Information Provided by the application
protected  java.lang.String profileInterfaceConnectInfo
          the connect information associated with this interface
protected  java.lang.String profileInterfaceName
          the name of the interface for this profile
protected  java.lang.String profileInterfaceType
          the type of the interface for this profile
protected  java.lang.String profileInterfaceVersion
          the version of this interface
protected  java.lang.String profileLastProcessingTime
          The last time the profile was processed
protected  java.lang.String profileLastSuccessfulProcTime
          The last time the profile was processed successfully
protected  java.lang.String profileMaxRetries
          the maximum number of times the system should retry before giving up on this profile
protected  java.lang.String profileName
          Name of this profile
protected  java.util.Vector profileProcessingErrors
          Processing Errors if any
protected  java.lang.String profileProcessingStatus
          The last processing status for this profile
protected  java.lang.String profileSchedule
          the scheduling information for this profile
protected  java.lang.String profileStatus
          Status of this profile
protected  java.lang.String profileVersion
          Version of this profile
protected  java.lang.String provisioningProfileAppGUID
          The GUID of the application subscribing to the Provisioning system
protected  java.lang.String provisioningProfileAppName
          The name of the application subscribing to the Provisioning system
protected  java.lang.String provisioningProfileAttrMapRules
          The profile mapping rules
protected  java.util.Vector provisioningProfileEventSubscription
          The Event Subscription Information for a given Provisioning Profile
protected  java.lang.String provisioningProfileOrgGUID
          The GUID of the Organization for which the subscription is happening
protected  java.lang.String provisioningProfileOrgName
          The Name of the Organization for which the subscription is happening
static java.lang.String SCHEDULE
          Argument Name SCHEDULE - Scheduling Interval
static java.lang.String SSL_MODE
          Argument Name SSL_MODE - To Connect to OID in SSL no authentication mode to perform this operation
static java.lang.String SUBSCRIPTION_MODE
          Argument Name SUBSCRIPTION_MODE - Subscription mode This is defaulted to a vector of values - ChangeSync, BootStrap, Failure
static java.lang.String USER_DATA_LOCATION
          Argument Name USER_DATA_LOCATION - Container where all the application specific footprints for the application will be stored.

 

Constructor Summary
ProvisioningProfile()
           

 

Method Summary
static javax.naming.directory.DirContext getJNDIConnection(java.lang.String ldap_host, java.lang.String ldap_port, java.lang.String ldap_bindDN, java.lang.String ldap_bindPswd, java.lang.String ssl)
          This function establishes a JNDI connection (DirContext).
protected static java.lang.String getProfileVersion()
           
static void main(java.lang.String[] args)
          main
static void ProfileHandler(javax.naming.directory.DirContext ctx, java.lang.String[] args)
           
static void ProfileHandler(java.lang.String[] args)
           

 

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

 

Field Detail

OP_CREATE

public static final java.lang.String OP_CREATE
Constant to be used For Profile CREATE
See Also:
Constant Field Values

OP_MODIFY

public static final java.lang.String OP_MODIFY
Constant to be used For Profile MODIFY
See Also:
Constant Field Values

OP_DELETE

public static final java.lang.String OP_DELETE
Constant to be used For Profile DELETE
See Also:
Constant Field Values

OP_ENABLE

public static final java.lang.String OP_ENABLE
Constant to be used For Profile ENABLE
See Also:
Constant Field Values

OP_DISABLE

public static final java.lang.String OP_DISABLE
Constant to be used For Profile DISABLE
See Also:
Constant Field Values

OP_STATUS

public static final java.lang.String OP_STATUS
Constant to be used For Profile STATUS
See Also:
Constant Field Values

OP_RESET

public static final java.lang.String OP_RESET
Constant to be used For Profile RESET
See Also:
Constant Field Values

OP_EXISTS

public static final java.lang.String OP_EXISTS
Constant to be used For Profile EXISTS
See Also:
Constant Field Values

OPERATION

public static final java.lang.String OPERATION
Argument Name OPERATION - The Operation to be performed.
See Also:
Constant Field Values

LDAP_HOST

public static final java.lang.String LDAP_HOST
Argument Name HOST - Directory server name.
See Also:
Constant Field Values

LDAP_PORT

public static final java.lang.String LDAP_PORT
Argument Name PORT - Directory Server Port number
See Also:
Constant Field Values

LDAP_USER_DN

public static final java.lang.String LDAP_USER_DN
Argument Name LDAP_USER_DN - Directory Server Bind DN.
See Also:
Constant Field Values

LDAP_USER_PASSWORD

public static final java.lang.String LDAP_USER_PASSWORD
Argument Name LDAP_USER_PASSWORD - LDAP_USER_DN Password.
See Also:
Constant Field Values

PROFILE_STATUS

public static final java.lang.String PROFILE_STATUS
Argument Name STATUS - Provisioning Profile STATUS (ENABLED/DISABLED)
See Also:
Constant Field Values

PROFILE_MODE

public static final java.lang.String PROFILE_MODE
Argument Name PROFILE_MODE - Mode (INBOUND / OUTBOUND / BOTH)
See Also:
Constant Field Values

SCHEDULE

public static final java.lang.String SCHEDULE
Argument Name SCHEDULE - Scheduling Interval
See Also:
Constant Field Values

MAX_RETRIES

public static final java.lang.String MAX_RETRIES
Argument Name MAX_RETRIES on failures
See Also:
Constant Field Values

MAX_EVENTS_PER_INVOCATION

public static final java.lang.String MAX_EVENTS_PER_INVOCATION
Argument Name MAX_EVENTS_PER_INVOCATION - Max Events that should be Propgated through the event propagation interface in one invocation of the interface. Specified by the Application depending on how many it can handle. Hard Limit 100.
See Also:
Constant Field Values

MAX_EVENTS_PER_SCHEDULE

public static final java.lang.String MAX_EVENTS_PER_SCHEDULE
Argument Name MAX_EVENTS_PER_SCHEDULE - Max Events that should be Propgated through the event propagation interface. Usually used by the Deployment to tune scalability Issues
See Also:
Constant Field Values

PROFILE_GROUP

public static final java.lang.String PROFILE_GROUP
Argument Name PROFILE_GROUP - To specify the Profile Group . Not specified by the application. The deployment may use this to address scalability issues.
See Also:
Constant Field Values

PROFILE_DEBUG

public static final java.lang.String PROFILE_DEBUG
Argument Name - DEBUG Level to be enabled for debugging purposes.
See Also:
Constant Field Values

CRYPT_KEY

public static final java.lang.String CRYPT_KEY
Argument Name CRYPT_KEY - Key to be used for data encryption during transmission.Not Yet Implemented for OUTBOUND Events.
See Also:
Constant Field Values

PROFILE_MAX_ERRORS

public static final java.lang.String PROFILE_MAX_ERRORS
Argument Name PROFILE_MAX_ERRORS - Event Propagation Stops after this. Not Implemented Yet.
See Also:
Constant Field Values

APPLICATION_DN

public static final java.lang.String APPLICATION_DN
Argument Name APPLICATION_DN - Application DN.
See Also:
Constant Field Values

APPLICATION_NAME

public static final java.lang.String APPLICATION_NAME
Argument Name APPLICATION_NAME - Application NAME.
See Also:
Constant Field Values

APPLICATION_TYPE

public static final java.lang.String APPLICATION_TYPE
Argument Name APPLICATION_TYPE - Application TYPE.
See Also:
Constant Field Values

ORGANIZATION_DN

public static final java.lang.String ORGANIZATION_DN
Argument Name ORGANIZATION_DN - Organization DN.
See Also:
Constant Field Values

ORGANIZATION_NAME

public static final java.lang.String ORGANIZATION_NAME
Argument Name ORGANIZATION - Organization Simple Name.
See Also:
Constant Field Values

INTERFACE_NAME

public static final java.lang.String INTERFACE_NAME
Argument Name INTERFACE_NAME - Interface Name
See Also:
Constant Field Values

INTERFACE_TYPE

public static final java.lang.String INTERFACE_TYPE
Argument Name INTERFACE_TYPE - Interface Type
See Also:
Constant Field Values

INTERFACE_CONNECT_INFO

public static final java.lang.String INTERFACE_CONNECT_INFO
Argument Name INTERFACE_CONNECT_INFO - Interface Connect Information
See Also:
Constant Field Values

INTERFACE_VERSION

public static final java.lang.String INTERFACE_VERSION
Argument Name INTERFACE_VERSION - Interface Version
See Also:
Constant Field Values

INTERFACE_ADDITIONAL_INFO

public static final java.lang.String INTERFACE_ADDITIONAL_INFO
Argument Name INTERFACE_ADDITIONAL_INFO - Interface Additional Information
See Also:
Constant Field Values

EVENT_SUBSCRIPTION

public static final java.lang.String EVENT_SUBSCRIPTION
Argument Name EVENT_SUBSCRIPTION - Event Subscription Details
See Also:
Constant Field Values

EVENT_MAPPING_RULES

public static final java.lang.String EVENT_MAPPING_RULES
Argument Name EVENT_MAPPING_RULES - Mapping Rules For INBOUND Events.
See Also:
Constant Field Values

EVENT_PERMITTED_OPERATIONS

public static final java.lang.String EVENT_PERMITTED_OPERATIONS
Argument Name EVENT_PERMITTED_OPERATIONS - Permitted INBOUND Events
See Also:
Constant Field Values

LASTCHANGENUMBER

public static final java.lang.String LASTCHANGENUMBER
Argument Name EVENT_PERMITTED_OPERATIONS - OID Last Change Log number This is defaulted to the current last change number.
See Also:
Constant Field Values

SUBSCRIPTION_MODE

public static final java.lang.String SUBSCRIPTION_MODE
Argument Name SUBSCRIPTION_MODE - Subscription mode This is defaulted to a vector of values - ChangeSync, BootStrap, Failure
See Also:
Constant Field Values

SSL_MODE

public static final java.lang.String SSL_MODE
Argument Name SSL_MODE - To Connect to OID in SSL no authentication mode to perform this operation
See Also:
Constant Field Values

USER_DATA_LOCATION

public static final java.lang.String USER_DATA_LOCATION
Argument Name USER_DATA_LOCATION - Container where all the application specific footprints for the application will be stored. This applies to those applications whose footprints are managed by the provisioning system.
See Also:
Constant Field Values

DEFAULT_PROVISIONING_POLICY

public static final java.lang.String DEFAULT_PROVISIONING_POLICY
Argument Name DEFAULT_PROVISIONING_POLICY - Provisioning Required by Default or NOT.
See Also:
Constant Field Values

ENABLE_BOOTSTRAP

public static final java.lang.String ENABLE_BOOTSTRAP
Argument Name ENABLE_BOOTSTRAP - Whether the application needs to be bootstrapped by default or not.
See Also:
Constant Field Values

ENABLE_UPGRADE

public static final java.lang.String ENABLE_UPGRADE
Argument Name ENABLE_UPGRADE - Whether the application needs to be upgraded by default or not.
See Also:
Constant Field Values

MAX_PROV_FAILURE_RETRIES

public static final java.lang.String MAX_PROV_FAILURE_RETRIES
Argument Name MAX__PROV_FAILURE_LIMIT - Maximum number of times the provision a user that has alrady failed provisioning.
See Also:
Constant Field Values

APPLICATION_DISPLAY_NAME

public static final java.lang.String APPLICATION_DISPLAY_NAME
Argument Name APPLICATION_DISPLAY_NAME - User Friendly Name for UI
See Also:
Constant Field Values

APPLICATION_ISDASVISIBLE

public static final java.lang.String APPLICATION_ISDASVISIBLE
Argument Name APPLICATION_ISDASVISIBLE - Should the application be shown in the DAS provisioning console.
See Also:
Constant Field Values

MANAGE_APPLICATION_DEFAULTS

public static final java.lang.String MANAGE_APPLICATION_DEFAULTS
Argument Name MANAGE_APPLICATION_DEFAULTS - Should the application defaults be managed from DAS.
See Also:
Constant Field Values

profileDN

protected java.lang.String profileDN
DN of this profile

profileName

protected java.lang.String profileName
Name of this profile

profileStatus

protected java.lang.String profileStatus
Status of this profile

profileVersion

protected java.lang.String profileVersion
Version of this profile

profileSchedule

protected java.lang.String profileSchedule
the scheduling information for this profile

profileMaxRetries

protected java.lang.String profileMaxRetries
the maximum number of times the system should retry before giving up on this profile

profileGroup

protected java.lang.String profileGroup
the Profile Group ID

profileInterfaceName

protected java.lang.String profileInterfaceName
the name of the interface for this profile

profileInterfaceType

protected java.lang.String profileInterfaceType
the type of the interface for this profile

profileInterfaceVersion

protected java.lang.String profileInterfaceVersion
the version of this interface

profileInterfaceConnectInfo

protected java.lang.String profileInterfaceConnectInfo
the connect information associated with this interface

profileInterfaceAdditionalInfo

protected java.util.Vector profileInterfaceAdditionalInfo
the additional Information Provided by the application

profileChgLogLastAppliedChangeNumber

protected java.lang.String profileChgLogLastAppliedChangeNumber
the last applied change number for this profile

profileChgLogSubscriberDisable

protected java.lang.String profileChgLogSubscriberDisable
flag to see if change log subscription is enabled/disabled

provisioningProfileEventSubscription

protected java.util.Vector provisioningProfileEventSubscription
The Event Subscription Information for a given Provisioning Profile

provisioningProfileAppName

protected java.lang.String provisioningProfileAppName
The name of the application subscribing to the Provisioning system

provisioningProfileAppGUID

protected java.lang.String provisioningProfileAppGUID
The GUID of the application subscribing to the Provisioning system

provisioningProfileOrgName

protected java.lang.String provisioningProfileOrgName
The Name of the Organization for which the subscription is happening

provisioningProfileOrgGUID

protected java.lang.String provisioningProfileOrgGUID
The GUID of the Organization for which the subscription is happening

profileProcessingStatus

protected java.lang.String profileProcessingStatus
The last processing status for this profile

profileProcessingErrors

protected java.util.Vector profileProcessingErrors
Processing Errors if any

profileLastProcessingTime

protected java.lang.String profileLastProcessingTime
The last time the profile was processed

profileLastSuccessfulProcTime

protected java.lang.String profileLastSuccessfulProcTime
The last time the profile was processed successfully

provisioningProfileAttrMapRules

protected java.lang.String provisioningProfileAttrMapRules
The profile mapping rules

Constructor Detail

ProvisioningProfile

public ProvisioningProfile()

Method Detail

getProfileVersion

protected static java.lang.String getProfileVersion()

ProfileHandler

public static void ProfileHandler(java.lang.String[] args)
                           throws java.lang.Exception
Throws:
java.lang.Exception

ProfileHandler

public static void ProfileHandler(javax.naming.directory.DirContext ctx,
                                  java.lang.String[] args)
                           throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
main
Parameters:
args - Input arguments to the program

getJNDIConnection

public static javax.naming.directory.DirContext getJNDIConnection(java.lang.String ldap_host,
                                                                  java.lang.String ldap_port,
                                                                  java.lang.String ldap_bindDN,
                                                                  java.lang.String ldap_bindPswd,
                                                                  java.lang.String ssl)
                                                           throws java.lang.Exception
This function establishes a JNDI connection (DirContext).
Parameters:
ldap_host - host name of the directory server.
ldap_port - port number
ldap_bindDN - the DN of the user with which authentication is done
ldap_bindPswd - the password of the user
Throws:
java.lang.Exception

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.