Package icc.util

Class AggregationHelper


  • public class AggregationHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      sailpoint.object.ManagedAttribute aggregateAdGroup​(sailpoint.api.SailPointContext context, java.lang.String applicationName, java.lang.String groupDN, boolean saveObject)
      Aggregate a Single Active Directory Group
      icc.constants.LinkAttr.TYPES calculateAdAccountType​(sailpoint.api.SailPointContext context, sailpoint.object.Link account)
      Calculate the type of an Active Directory account
      java.util.List<java.lang.String> checkPaisyFile​(sailpoint.api.SailPointContext context, sailpoint.object.TaskResult result)  
      sailpoint.object.Identity correlateAdAccount​(sailpoint.api.SailPointContext context, sailpoint.object.ResourceObject account)
      correlate a given Active Directory ResourceObject to an Identity
      static AggregationHelper getInstance()  
      void targetedAggregation​(sailpoint.api.SailPointContext context, java.lang.String idName, java.lang.String appName, java.lang.String acctName, boolean overrideCustomization)
      Conduct a single account / targeted aggregation of an account defined by appName (e.g.
      • Methods inherited from class java.lang.Object

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

      • AggregationHelper

        public AggregationHelper()
    • Method Detail

      • aggregateAdGroup

        public sailpoint.object.ManagedAttribute aggregateAdGroup​(sailpoint.api.SailPointContext context,
                                                                  java.lang.String applicationName,
                                                                  java.lang.String groupDN,
                                                                  boolean saveObject)
                                                           throws sailpoint.tools.GeneralException
        Aggregate a Single Active Directory Group
        Parameters:
        context -
        groupDN -
        Returns:
        Throws:
        sailpoint.tools.GeneralException
      • targetedAggregation

        public void targetedAggregation​(sailpoint.api.SailPointContext context,
                                        java.lang.String idName,
                                        java.lang.String appName,
                                        java.lang.String acctName,
                                        boolean overrideCustomization)
                                 throws sailpoint.tools.GeneralException,
                                        java.io.IOException
        Conduct a single account / targeted aggregation of an account defined by appName (e.g. 'Active Directory') and acctName (e.g. the DN)
        Parameters:
        context - SailPointContext
        idName - The Name of the Identity where the Account shall be updated/linked
        appName - The Name of the Application where the Account shall be aggregated
        acctName - The Name of the Account in the Application
        Throws:
        sailpoint.tools.GeneralException
        java.io.IOException
      • correlateAdAccount

        public sailpoint.object.Identity correlateAdAccount​(sailpoint.api.SailPointContext context,
                                                            sailpoint.object.ResourceObject account)
                                                     throws sailpoint.tools.GeneralException
        correlate a given Active Directory ResourceObject to an Identity
        Parameters:
        context - SailPointContext
        account - the account ResourceObject, which should be correlated
        Returns:
        found Identity or null if no correlating identity was found
        Throws:
        sailpoint.tools.GeneralException
      • calculateAdAccountType

        public icc.constants.LinkAttr.TYPES calculateAdAccountType​(sailpoint.api.SailPointContext context,
                                                                   sailpoint.object.Link account)
                                                            throws sailpoint.tools.GeneralException
        Calculate the type of an Active Directory account
        Parameters:
        context - SailPointContext
        account - Link for which the type should be calculated
        Returns:
        LinkAttr.TYPES type found, or LinkAttr.TYPES.standard if no other type could be identified
        Throws:
        sailpoint.tools.GeneralException
      • checkPaisyFile

        public java.util.List<java.lang.String> checkPaisyFile​(sailpoint.api.SailPointContext context,
                                                               sailpoint.object.TaskResult result)
                                                        throws sailpoint.tools.GeneralException,
                                                               java.io.FileNotFoundException,
                                                               java.io.IOException
        Throws:
        sailpoint.tools.GeneralException
        java.io.FileNotFoundException
        java.io.IOException