public class ProvisioningProfile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ProvisioningProfile() |
Modifier and Type | Method and Description |
---|---|
static javax.naming.directory.DirContext |
getJNDIConnection(java.lang.String ldap_host, java.lang.String ldap_port, java.lang.String ldap_bindDN, char[] ldap_bindPswd, java.lang.String ssl)
This function establishes a JNDI connection (DirContext).
|
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)
Deprecated.
|
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) |
static boolean |
tryDBConnection(java.lang.String connectionInfo) |
public static final java.lang.String OP_CREATE
public static final java.lang.String OP_MODIFY
public static final java.lang.String OP_DELETE
public static final java.lang.String OP_ENABLE
public static final java.lang.String OP_DISABLE
public static final java.lang.String OP_STATUS
public static final java.lang.String OP_RESET
public static final java.lang.String OP_EXISTS
public static final java.lang.String OPERATION
public static final java.lang.String LDAP_HOST
public static final java.lang.String LDAP_PORT
public static final java.lang.String LDAP_USER_DN
public static final java.lang.String LDAP_USER_PASSWORD
public static final java.lang.String PROFILE_STATUS
public static final java.lang.String PROFILE_MODE
public static final java.lang.String SCHEDULE
public static final java.lang.String MAX_RETRIES
public static final java.lang.String MAX_EVENTS_PER_INVOCATION
public static final java.lang.String MAX_EVENTS_PER_SCHEDULE
public static final java.lang.String PROFILE_GROUP
public static final java.lang.String PROFILE_DEBUG
public static final java.lang.String CRYPT_KEY
public static final java.lang.String PROFILE_MAX_ERRORS
public static final java.lang.String APPLICATION_DN
public static final java.lang.String APPLICATION_NAME
public static final java.lang.String APPLICATION_TYPE
public static final java.lang.String ORGANIZATION_DN
public static final java.lang.String ORGANIZATION_NAME
public static final java.lang.String INTERFACE_NAME
public static final java.lang.String INTERFACE_TYPE
public static final java.lang.String INTERFACE_CONNECT_INFO
public static final java.lang.String INTERFACE_VERSION
public static final java.lang.String INTERFACE_ADDITIONAL_INFO
public static final java.lang.String EVENT_SUBSCRIPTION
public static final java.lang.String EVENT_MAPPING_RULES
public static final java.lang.String EVENT_PERMITTED_OPERATIONS
public static final java.lang.String LASTCHANGENUMBER
public static final java.lang.String SUBSCRIPTION_MODE
public static final java.lang.String SSL_MODE
public static final java.lang.String USER_DATA_LOCATION
public static final java.lang.String DEFAULT_PROVISIONING_POLICY
public static final java.lang.String ENABLE_BOOTSTRAP
public static final java.lang.String ENABLE_UPGRADE
public static final java.lang.String MAX_PROV_FAILURE_RETRIES
public static final java.lang.String APPLICATION_DISPLAY_NAME
public static final java.lang.String APPLICATION_ISDASVISIBLE
public static final java.lang.String MANAGE_APPLICATION_DEFAULTS
protected java.lang.String profileDN
protected java.lang.String profileName
protected java.lang.String profileStatus
protected java.lang.String profileVersion
protected java.lang.String profileSchedule
protected java.lang.String profileMaxRetries
protected java.lang.String profileGroup
protected java.lang.String profileInterfaceName
protected java.lang.String profileInterfaceType
protected java.lang.String profileInterfaceVersion
protected java.lang.String profileInterfaceConnectInfo
protected java.util.Vector profileInterfaceAdditionalInfo
protected java.lang.String profileChgLogLastAppliedChangeNumber
protected java.lang.String profileChgLogSubscriberDisable
protected java.util.Vector provisioningProfileEventSubscription
protected java.lang.String provisioningProfileAppName
protected java.lang.String provisioningProfileAppGUID
protected java.lang.String provisioningProfileOrgName
protected java.lang.String provisioningProfileOrgGUID
protected java.lang.String profileProcessingStatus
protected java.util.Vector profileProcessingErrors
protected java.lang.String profileLastProcessingTime
protected java.lang.String profileLastSuccessfulProcTime
protected java.lang.String provisioningProfileAttrMapRules
protected static java.lang.String getProfileVersion()
public static boolean tryDBConnection(java.lang.String connectionInfo) throws java.lang.Exception
java.lang.Exception
public static void ProfileHandler(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void ProfileHandler(javax.naming.directory.DirContext ctx, java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
args
- Input arguments to the program@Deprecated 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
getJNDIConnection(String, String, String, char[], String)
ldap_host
- host name of the directory server.ldap_port
- port numberldap_bindDN
- the DN of the user with which authentication is doneldap_bindPswd
- the password of the userjava.lang.Exception
public static javax.naming.directory.DirContext getJNDIConnection(java.lang.String ldap_host, java.lang.String ldap_port, java.lang.String ldap_bindDN, char[] ldap_bindPswd, java.lang.String ssl) throws java.lang.Exception
ldap_host
- host name of the directory server.ldap_port
- port numberldap_bindDN
- the DN of the user with which authentication is doneldap_bindPswd
- the password of the userjava.lang.Exception