com.ibm.itim.policy.join

Class JoinDirector

  • java.lang.Object
    • com.ibm.itim.policy.join.JoinDirector


  • public class JoinDirector
    extends java.lang.Object
    An implementation of PolicyJoinRuntimeContext. This class is responsible for:
    1. Sorting of policies by priority.
    2. Establishing the order of evaluating and generating of provisioning parameters.
    3. Associating attributes with all entitlements which describe them.
    4. Dispatching the entitlement join task to the appropriate concrete join class.
    5. Finding the joined entitlement's type and process definition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.itim.dataservices.model.policy.Entitlement combineEntitlements()
      Method will combine entitlements contained in the EntitlementInProvisioningPolicy objects into a joined entitlement.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JoinDirector

        public JoinDirector(java.util.Collection policyEntitlementPairs,
                            ServiceEntity service,
                            PersonEntity person)
        Parameters:
        policyEntitlementPairs - contains all relevant policy-entitlement associations
        service - Service for which the attributes values will be created
        person - Person to which the account belongs
      • JoinDirector

        public JoinDirector(java.util.Collection policyEntitlementPairs,
                            ServiceEntity service,
                            PersonEntity person,
                            java.util.Map accountAttributes)
        Parameters:
        policyEntitlementPairs - Contains all relevant policy-entitlement associations.
        service - Service for which the attributes values will be created.
        person - Person to which the account belongs.
        accountAttributes - Map of account attributes where values are AttributeValue objects.
    • Method Detail

      • combineEntitlements

        public com.ibm.itim.dataservices.model.policy.Entitlement combineEntitlements()
                                                                               throws ModelCommunicationException,
                                                                                      com.ibm.itim.dataservices.schema.SchemaEntryNotFoundException,
                                                                                      com.ibm.itim.dataservices.schema.SchemaException,
                                                                                      com.ibm.itim.policy.PolicyAuthorityException,
                                                                                      IterationsExceededException,
                                                                                      com.ibm.itim.policy.ParameterEvaluationException,
                                                                                      ScriptException
        Method will combine entitlements contained in the EntitlementInProvisioningPolicy objects into a joined entitlement.
        Returns:
        pseudo Entitlement object with all provisioning parameters joined.
        Throws:
        com.ibm.itim.policy.PolicyAuthorityException - thrown when unrecoverable error encountered during policy based generation of a provisioning parameter.
        com.ibm.itim.dataservices.schema.SchemaEntryNotFoundException - thrown when schema entry for an attribute cannot be found while retrieving join directive for that attribute.
        ModelCommunicationException - when something goes wrong while trying to use JoinDirective instance.
        com.ibm.itim.dataservices.schema.SchemaException - - When LDAP schema information cannot be retrieved.
        IterationsExceededException - when resulting entitlement is required and password couldn't be generated due to password rules being too strict. NOTE: Passwords are not generated unless joined entitlement is required.
        com.ibm.itim.policy.ParameterEvaluationException - - When an unexpected exception occurred during provisioning parameter evaluation.
        ScriptException - thrown when script for a provisioning parameter cannot be evaluated.