Class LoaderLdapUtils

java.lang.Object
edu.internet2.middleware.grouper.app.loader.ldap.LoaderLdapUtils

public class LoaderLdapUtils extends Object
utility methods and constants for ldap loader
  • Field Details

    • ATTR_DEF_EXTENSION_MARKER

      public static final String ATTR_DEF_EXTENSION_MARKER
      extension of the attribute def name for the marker attribute for grouper loader
      See Also:
    • ATTR_DEF_EXTENSION_QUARTZ_CRON

      public static final String ATTR_DEF_EXTENSION_QUARTZ_CRON
      extension of the attribute def name for the quartz cron configuration
      See Also:
    • LOADER_LDAP_DEF

      public static final String LOADER_LDAP_DEF
      loader ldap def extension
      See Also:
    • LOADER_LDAP_VALUE_DEF

      public static final String LOADER_LDAP_VALUE_DEF
      loader ldap value def extension
      See Also:
    • ATTR_DEF_EXTENSION_TYPE

      public static final String ATTR_DEF_EXTENSION_TYPE
      extension of the attribute def name for type of ldap loader (e.g. LDAP_SIMPLE). Like the SQL loader, this holds the type of job from the GrouperLoaderType enum, currently the only valid values are LDAP_SIMPLE, LDAP_GROUP_LIST, LDAP_GROUPS_FROM_ATTRIBUTES. Simple is a group loaded from LDAP filter which returns subject ids or identifiers. Group list is an LDAP filter which returns group objects, and the group objects have a list of subjects. Groups from attributes is an LDAP filter that returns subjects which have a multi-valued attribute e.g. affiliations where groups will be created based on subject who have each attribute value
      See Also:
    • ATTR_DEF_EXTENSION_SERVER_ID

      public static final String ATTR_DEF_EXTENSION_SERVER_ID
      extension of the attribute def name for the server id of the ldap config (e.g. myLdap)
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_FILTER

      public static final String ATTR_DEF_EXTENSION_LDAP_FILTER
      extension of attribute def name for ldap filter to run to find the objects that have the subject id
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_SEARCH_DN

      public static final String ATTR_DEF_EXTENSION_LDAP_SEARCH_DN
      extension of attribute def name for ldap filter run in a dn (optional though recommended)
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_AND_GROUPS

      public static final String ATTR_DEF_EXTENSION_LDAP_AND_GROUPS
      extension of attribute def name for ldap "and groups" (must be in these comma separated group names)
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_PRIORITY

      public static final String ATTR_DEF_EXTENSION_LDAP_PRIORITY
      Quartz has a fixed threadpool (max configured in the grouper-loader.properties), and when the max is reached, then jobs are prioritized by this integer. The higher the better, and the default if not set is 5.
      See Also:
    • ATTR_DEF_EXTENSION_SUBJECT_ATTRIBUTE

      public static final String ATTR_DEF_EXTENSION_SUBJECT_ATTRIBUTE
      extension of attribute def name for the name of the attribute in the ldap object that is returned by the ldap filter which has the subject id or identifier in it. e.g. hasMember
      See Also:
    • ATTR_DEF_EXTENSION_SOURCE_ID

      public static final String ATTR_DEF_EXTENSION_SOURCE_ID
      extension of the attribute def name for the source id of all subjects inside
      See Also:
    • ATTR_DEF_EXTENSION_SUBJECT_ID_TYPE

      public static final String ATTR_DEF_EXTENSION_SUBJECT_ID_TYPE
      extension of the attribute def name for subjectId, subjectIdentifier, or subjectIdOrIdentifier (default)
      See Also:
    • ATTR_DEF_EXTENSION_SEARCH_SCOPE

      public static final String ATTR_DEF_EXTENSION_SEARCH_SCOPE
      extension of the attribute def name for search scope, needs to be one of: OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE
      See Also:
    • ATTR_DEF_EXTENSION_GROUPS_LIKE

      public static final String ATTR_DEF_EXTENSION_GROUPS_LIKE
      extension of the attribute def name for groups like string for sql to remove orphans of LDAP_GROUP_LIST
      See Also:
    • ATTR_DEF_EXTENSION_RESULTS_TRANSFORMATION_CLASS

      public static final String ATTR_DEF_EXTENSION_RESULTS_TRANSFORMATION_CLASS
      extension of the attribute def name for optional results transformation class
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_ATTRIBUTE

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_ATTRIBUTE
      Attribute name of the filter object result that holds the group name
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_ATTRIBUTE_PROCESSING_EXPRESSION

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_ATTRIBUTE_PROCESSING_EXPRESSION
      Attribute name of the processing expression filter object result that holds the group name
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_ATTRIBUTE_FILTER_EXPRESSION

      public static final String ATTR_DEF_EXTENSION_LDAP_ATTRIBUTE_FILTER_EXPRESSION
      attribute def name of attribute filter expression
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_EXTRA_ATTRIBUTES

      public static final String ATTR_DEF_EXTENSION_LDAP_EXTRA_ATTRIBUTES
      Attribute name of the filter object result that holds the extra attributes
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_NAME_EXPRESSION

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_NAME_EXPRESSION
      Attribute name of name expression
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_DISPLAY_NAME_EXPRESSION

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_DISPLAY_NAME_EXPRESSION
      Attribute name of display name expression
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_DESCRIPTION_EXPRESSION

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_DESCRIPTION_EXPRESSION
      Attribute name of description expression
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_SUBJECT_EXPRESSION

      public static final String ATTR_DEF_EXTENSION_LDAP_SUBJECT_EXPRESSION
      Attribute name of subject expression
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_TYPES

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_TYPES
      Attribute name of group types
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_READERS

      public static final String ATTR_DEF_EXTENSION_LDAP_READERS
      Attribute name of readers
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_VIEWERS

      public static final String ATTR_DEF_EXTENSION_LDAP_VIEWERS
      Attribute name of viewers
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_UPDATERS

      public static final String ATTR_DEF_EXTENSION_LDAP_UPDATERS
      Attribute name of updaters
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_ADMINS

      public static final String ATTR_DEF_EXTENSION_LDAP_ADMINS
      Attribute name of admins
      See Also:
    • ATTR_DEF_EXTENSION_FAILSAFE_USE

      public static final String ATTR_DEF_EXTENSION_FAILSAFE_USE
      T or F if using failsafe. If blank use the global defaults
      See Also:
    • ATTR_DEF_EXTENSION_MAX_GROUP_PERCENT_REMOVE

      public static final String ATTR_DEF_EXTENSION_MAX_GROUP_PERCENT_REMOVE
      integer from 0 to 100 which specifies the maximum percent of a group which can be removed in a loader run. If not specified will use the global default grouper-loader.properties config setting: loader.failsafe.maxPercentRemove = 30
      See Also:
    • ATTR_DEF_EXTENSION_MAX_OVERALL_PERCENT_GROUPS_REMOVE

      public static final String ATTR_DEF_EXTENSION_MAX_OVERALL_PERCENT_GROUPS_REMOVE
      If the group list meets the criteria above and the percentage of memberships that are managed by the loader (i.e. match the groupLikeString) that currently have members in Grouper but wouldn't after the job runs is greater than this percentage, then don't remove members, log it as an error and fail the job. An admin would need to approve the failsafe or change this param in the config, and run the job manually, then change this config back. {valueType: "integer", required: true} loader.failsafe.groupList.managedGroups.maxPercentMembershipsRemove = 30
      See Also:
    • ATTR_DEF_EXTENSION_MAX_OVERALL_PERCENT_MEMBERSHIPS_REMOVE

      public static final String ATTR_DEF_EXTENSION_MAX_OVERALL_PERCENT_MEMBERSHIPS_REMOVE
      integer from 0 to 100 which specifies the maximum percent of all loaded groups in the job which can be removed in a loader run. If not specified will use the global default grouper-loader.properties config setting: loader.failsafe.groupList.managedGroups.maxPercentGroupsRemove = 30
      See Also:
    • ATTR_DEF_EXTENSION_MIN_GROUP_SIZE

      public static final String ATTR_DEF_EXTENSION_MIN_GROUP_SIZE
      minimum number of members for the group to be tracked by failsafe defaults to grouper-loader.base.properties: loader.failsafe.minGroupSize
      See Also:
    • ATTR_DEF_EXTENSION_MIN_MANAGED_GROUPS

      public static final String ATTR_DEF_EXTENSION_MIN_MANAGED_GROUPS
      The minimum number of managed groups for this loader job for the list of groups job to be applicable
      See Also:
    • ATTR_DEF_EXTENSION_MIN_GROUP_NUMBER_OF_MEMBERS

      public static final String ATTR_DEF_EXTENSION_MIN_GROUP_NUMBER_OF_MEMBERS
      The minimum group number of members for this group, a failsafe alert will trigger if the group is smaller than this amount
      See Also:
    • ATTR_DEF_EXTENSION_MIN_OVERALL_NUMBER_OF_MEMBERS

      public static final String ATTR_DEF_EXTENSION_MIN_OVERALL_NUMBER_OF_MEMBERS
      The minimum overall number of members for this job across all managed groups, a failsafe alert will trigger if the job's overall membership count is smaller than this amount
      See Also:
    • ATTR_DEF_EXTENSION_FAILSAFE_SEND_EMAIL

      public static final String ATTR_DEF_EXTENSION_FAILSAFE_SEND_EMAIL
      If an email should be sent out when a failsafe alert happens. The email will be sent to the list or group configured in grouper-loader.properties: loader.failsafe.sendEmailToAddresses, or loader.failsafe.sendEmailToGroup
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_OPTINS

      public static final String ATTR_DEF_EXTENSION_LDAP_OPTINS
      Attribute name of optins
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_OPTOUTS

      public static final String ATTR_DEF_EXTENSION_LDAP_OPTOUTS
      Attribute name of optouts
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_ATTR_READERS

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_ATTR_READERS
      Attribute name of groupAttrReaders
      See Also:
    • ATTR_DEF_EXTENSION_LDAP_GROUP_ATTR_UPDATERS

      public static final String ATTR_DEF_EXTENSION_LDAP_GROUP_ATTR_UPDATERS
      Attribute name of groupAttrUpdaters
      See Also:
  • Constructor Details

    • LoaderLdapUtils

      public LoaderLdapUtils()
  • Method Details

    • grouperLoaderLdapStemName

      public static String grouperLoaderLdapStemName()
      stem name for loader ldap attributes
      Returns:
      stem name
    • grouperLoaderLdapName

      public static String grouperLoaderLdapName()
      attribute def name of marker attribute
      Returns:
      name
    • grouperLoaderLdapAttributeDefName

      public static AttributeDefName grouperLoaderLdapAttributeDefName()
      return attribute def name for attribute type marker
      Returns:
      attribute def name
    • grouperLoaderLdapAttributeDefName

      public static AttributeDefName grouperLoaderLdapAttributeDefName(boolean exceptionIfNotFound)
      return attribute def name for attribute type marker
      Parameters:
      exceptionIfNotFound -
      Returns:
      attribute def name
    • grouperLoaderLdapQuartzCronName

      public static String grouperLoaderLdapQuartzCronName()
      attribute def name of quartz cron
      Returns:
      name
    • grouperLoaderLdapQuartzCronAttributeDefName

      public static AttributeDefName grouperLoaderLdapQuartzCronAttributeDefName()
      return attribute def name for attribute quartz cron
      Returns:
      attribute def name
    • grouperLoaderLdapTypeName

      public static String grouperLoaderLdapTypeName()
      attribute def name of job type
      Returns:
      name
    • grouperLoaderLdapTypeAttributeDefName

      public static AttributeDefName grouperLoaderLdapTypeAttributeDefName()
      return attribute def name for ldap type
      Returns:
      attribute def name
    • grouperLoaderLdapServerIdName

      public static String grouperLoaderLdapServerIdName()
      attribute def name of server id
      Returns:
      name
    • grouperLoaderLdapServerIdAttributeDefName

      public static AttributeDefName grouperLoaderLdapServerIdAttributeDefName()
      return attribute def name for attribute server id
      Returns:
      attribute def name
    • grouperLoaderLdapFilterName

      public static String grouperLoaderLdapFilterName()
      attribute def name of filter name
      Returns:
      name
    • grouperLoaderLdapFilterAttributeDefName

      public static AttributeDefName grouperLoaderLdapFilterAttributeDefName()
      return attribute def name for attribute ldap filter
      Returns:
      attribute def name
    • grouperLoaderLdapSearchDnName

      public static String grouperLoaderLdapSearchDnName()
      attribute def name of search dn
      Returns:
      name
    • grouperLoaderLdapSearchDnAttributeDefName

      public static AttributeDefName grouperLoaderLdapSearchDnAttributeDefName()
      return attribute def name for attribute search dn
      Returns:
      attribute def name
    • grouperLoaderLdapPriorityName

      public static String grouperLoaderLdapPriorityName()
      attribute def name of priority
      Returns:
      name
    • grouperLoaderLdapPriorityAttributeDefName

      public static AttributeDefName grouperLoaderLdapPriorityAttributeDefName()
      return attribute def name for attribute quartz priority
      Returns:
      attribute def name
    • grouperLoaderLdapAndGroupsName

      public static String grouperLoaderLdapAndGroupsName()
      attribute def name of "and groups" (must be in these comma separated group names)
      Returns:
      name
    • grouperLoaderLdapAndGroupsAttributeDefName

      public static AttributeDefName grouperLoaderLdapAndGroupsAttributeDefName()
      return attribute def name for attribute "and groups"
      Returns:
      attribute def name
    • grouperLoaderLdapSubjectAttributeName

      public static String grouperLoaderLdapSubjectAttributeName()
      attribute def name of subject attribute
      Returns:
      name
    • grouperLoaderLdapSubjectAttributeAttributeDefName

      public static AttributeDefName grouperLoaderLdapSubjectAttributeAttributeDefName()
      return attribute def name for attribute subject attribute
      Returns:
      attribute def name
    • grouperLoaderLdapSourceIdName

      public static String grouperLoaderLdapSourceIdName()
      attribute def name of source id
      Returns:
      name
    • grouperLoaderLdapSourceIdAttributeDefName

      public static AttributeDefName grouperLoaderLdapSourceIdAttributeDefName()
      return attribute def name for attribute source id
      Returns:
      attribute def name
    • grouperLoaderLdapSubjectIdTypeName

      public static String grouperLoaderLdapSubjectIdTypeName()
      attribute def name of subject id type
      Returns:
      name
    • grouperLoaderLdapSubjectIdTypeAttributeDefName

      public static AttributeDefName grouperLoaderLdapSubjectIdTypeAttributeDefName()
      return attribute def name for attribute subject id type
      Returns:
      attribute def name
    • grouperLoaderLdapSearchScopeName

      public static String grouperLoaderLdapSearchScopeName()
      attribute def name of search scope name
      Returns:
      name
    • grouperLoaderLdapSearchScopeAttributeDefName

      public static AttributeDefName grouperLoaderLdapSearchScopeAttributeDefName()
      return attribute def name for attribute
      Returns:
      attribute def name
    • grouperLoaderLdapGroupsLikeName

      public static String grouperLoaderLdapGroupsLikeName()
      attribute def name of groups like string for sql to remove orphans of LDAP_GROUP_LIST
      Returns:
      name
    • grouperLoaderLdapResultsTransformationClassName

      public static String grouperLoaderLdapResultsTransformationClassName()
      attribute def name of results transformation class
      Returns:
      name
    • grouperLoaderLdapGroupsLikeAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupsLikeAttributeDefName()
      return attribute def name for attribute groups like string for sql to remove orphans of LDAP_GROUP_LIST
      Returns:
      attribute def name
    • grouperLoaderLdapResultsTransformationClassAttributeDefName

      public static AttributeDefName grouperLoaderLdapResultsTransformationClassAttributeDefName()
      return attribute def name for attribute results transformation class
      Returns:
      attribute def name
    • attributeLoaderLdapStemName

      public static String attributeLoaderLdapStemName()
      return the stem name where the limit attributes go, without colon on end
      Returns:
      stem name
    • grouperLoaderLdapGroupAttributeName

      public static String grouperLoaderLdapGroupAttributeName()
      attribute def name of group attribute
      Returns:
      name
    • grouperLoaderLdapGroupAttributeAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupAttributeAttributeDefName()
      return attribute def name for attribute group attribute
      Returns:
      attribute def name
    • grouperLoaderLdapGroupAttributeProcessingExpressionName

      public static String grouperLoaderLdapGroupAttributeProcessingExpressionName()
      attribute def name of group attribute processing expression
      Returns:
      name
    • grouperLoaderLdapGroupAttributeProcessingExpressionAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupAttributeProcessingExpressionAttributeDefName()
      return attribute def name for attribute group attribute processing expression
      Returns:
      attribute def name
    • grouperLoaderLdapAttributeFilterExpressionName

      public static String grouperLoaderLdapAttributeFilterExpressionName()
      attribute def name of attribute filter expression
      Returns:
      name
    • grouperLoaderLdapAttributeFilterExpressionAttributeDefName

      public static AttributeDefName grouperLoaderLdapAttributeFilterExpressionAttributeDefName()
      return attribute def name of attribute filter expression
      Returns:
      attribute def name
    • grouperLoaderLdapExtraAttributesName

      public static String grouperLoaderLdapExtraAttributesName()
      attribute def name of extra attributes
      Returns:
      name
    • grouperLoaderLdapExtraAttributesAttributeDefName

      public static AttributeDefName grouperLoaderLdapExtraAttributesAttributeDefName()
      return attribute def name for attribute extra attributes
      Returns:
      attribute def name
    • grouperLoaderLdapGroupNameExpressionName

      public static String grouperLoaderLdapGroupNameExpressionName()
      attribute def name of group name expression
      Returns:
      name
    • grouperLoaderLdapGroupNameExpressionAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupNameExpressionAttributeDefName()
      return attribute def name for group name expression
      Returns:
      attribute def name
    • grouperLoaderLdapGroupDisplayNameExpressionName

      public static String grouperLoaderLdapGroupDisplayNameExpressionName()
      attribute def name of group display name expression
      Returns:
      name
    • grouperLoaderLdapGroupDisplayNameExpressionAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupDisplayNameExpressionAttributeDefName()
      return attribute def name for group dislpay name expression
      Returns:
      attribute def name
    • grouperLoaderLdapGroupDescriptionExpressionName

      public static String grouperLoaderLdapGroupDescriptionExpressionName()
      attribute def name of group description expression
      Returns:
      name
    • grouperLoaderLdapGroupDescriptionExpressionAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupDescriptionExpressionAttributeDefName()
      return attribute def name for group description expression
      Returns:
      attribute def name
    • limitLoaderElClasses

      public static Map<String,Object> limitLoaderElClasses()
      custom el instances to add to the variable map for ldap loader EL
      Returns:
      the map
    • substituteEl

      public static String substituteEl(String expression, Map<String,Object> loaderEnvVars)
      substitute expression
      Parameters:
      expression -
      loaderEnvVars -
      Returns:
      the evaluation
    • runScriptStatic

      public static String runScriptStatic(String jexlScript, Map<String,Object> elVariableMap)
    • grouperLoaderLdapSubjectExpressionName

      public static String grouperLoaderLdapSubjectExpressionName()
      attribute def name of subject expression
      Returns:
      name
    • grouperLoaderLdapSubjectExpressionAttributeDefName

      public static AttributeDefName grouperLoaderLdapSubjectExpressionAttributeDefName()
      return attribute def name for subject expression
      Returns:
      attribute def name
    • grouperLoaderLdapGroupTypesName

      public static String grouperLoaderLdapGroupTypesName()
      attribute def name of group types
      Returns:
      name
    • grouperLoaderLdapGroupTypesAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupTypesAttributeDefName()
      return attribute def name for group types
      Returns:
      attribute def name
    • grouperLoaderLdapReadersName

      public static String grouperLoaderLdapReadersName()
      attribute def name of readers
      Returns:
      name
    • grouperLoaderLdapReadersAttributeDefName

      public static AttributeDefName grouperLoaderLdapReadersAttributeDefName()
      return attribute def name for readers
      Returns:
      attribute def name
    • grouperLoaderLdapViewersName

      public static String grouperLoaderLdapViewersName()
      attribute def name of viewers
      Returns:
      name
    • grouperLoaderLdapViewersAttributeDefName

      public static AttributeDefName grouperLoaderLdapViewersAttributeDefName()
      return attribute def name for viewers
      Returns:
      attribute def name
    • grouperLoaderLdapUpdatersName

      public static String grouperLoaderLdapUpdatersName()
      attribute def name of updaters
      Returns:
      name
    • grouperLoaderLdapUpdatersAttributeDefName

      public static AttributeDefName grouperLoaderLdapUpdatersAttributeDefName()
      return attribute def name for updaters
      Returns:
      attribute def name
    • grouperLoaderLdapFailsafeUseName

      public static String grouperLoaderLdapFailsafeUseName()
      attribute def name of failsafe use
      Returns:
      name
    • grouperLoaderLdapFailsafeUseAttributeDefName

      public static AttributeDefName grouperLoaderLdapFailsafeUseAttributeDefName()
      attribute def name of failsafe use
      Returns:
      attribute def name
    • grouperLoaderLdapMaxGroupPercentRemoveName

      public static String grouperLoaderLdapMaxGroupPercentRemoveName()
      attribute def name of integer from 0 to 100 which specifies the maximum percent of a group which can be removed in a loader run.
      Returns:
      name
    • grouperLoaderLdapMaxGroupPercentRemoveAttributeDefName

      public static AttributeDefName grouperLoaderLdapMaxGroupPercentRemoveAttributeDefName()
      attribute def name of integer from 0 to 100 which specifies the maximum percent of a group which can be removed in a loader run.
      Returns:
      attribute def name
    • grouperLoaderLdapMaxOverallPercentGroupsRemoveName

      public static String grouperLoaderLdapMaxOverallPercentGroupsRemoveName()
      attribute def name of If the group list meets the criteria above and the percentage of memberships that are managed by
      Returns:
      name
    • grouperLoaderLdapMaxOverallPercentGroupsRemoveAttributeDefName

      public static AttributeDefName grouperLoaderLdapMaxOverallPercentGroupsRemoveAttributeDefName()
      attribute def name of If the group list meets the criteria above and the percentage of memberships that are managed by
      Returns:
      attribute def name
    • grouperLoaderLdapMaxOverallPercentMembershipsRemoveName

      public static String grouperLoaderLdapMaxOverallPercentMembershipsRemoveName()
      attribute def name of integer from 0 to 100 which specifies the maximum percent of all loaded groups in the job
      Returns:
      name
    • grouperLoaderLdapMaxOverallPercentMembershipsRemoveAttributeDefName

      public static AttributeDefName grouperLoaderLdapMaxOverallPercentMembershipsRemoveAttributeDefName()
      attribute def name of integer from 0 to 100 which specifies the maximum percent of all loaded groups in the job
      Returns:
      attribute def name
    • grouperLoaderLdapMinGroupSizeName

      public static String grouperLoaderLdapMinGroupSizeName()
      attribute def name of
      Returns:
      name
    • grouperLoaderLdapMinGroupSizeAttributeDefName

      public static AttributeDefName grouperLoaderLdapMinGroupSizeAttributeDefName()
      attribute def name of
      Returns:
      attribute def name
    • grouperLoaderLdapMinManagedGroupsName

      public static String grouperLoaderLdapMinManagedGroupsName()
      attribute def name of The minimum number of managed groups for this loader job for the list of groups job to be applicable
      Returns:
      name
    • grouperLoaderLdapMinManagedGroupsAttributeDefName

      public static AttributeDefName grouperLoaderLdapMinManagedGroupsAttributeDefName()
      attribute def name of The minimum number of managed groups for this loader job for the list of groups job to be applicable
      Returns:
      attribute def name
    • grouperLoaderLdapMinGroupNumberOfMembersName

      public static String grouperLoaderLdapMinGroupNumberOfMembersName()
      attribute def name of The minimum group number of members for this group, a failsafe alert will trigger if the group is smaller than this amount
      Returns:
      name
    • grouperLoaderLdapMinGroupNumberOfMembersAttributeDefName

      public static AttributeDefName grouperLoaderLdapMinGroupNumberOfMembersAttributeDefName()
      attribute def name of The minimum group number of members for this group, a failsafe alert will trigger if the group is smaller than this amount
      Returns:
      attribute def name
    • grouperLoaderLdapMinOverallNumberOfMembersName

      public static String grouperLoaderLdapMinOverallNumberOfMembersName()
      attribute def name of The minimum overall number of members for this job across all managed groups
      Returns:
      name
    • grouperLoaderLdapMinOverallNumberOfMembersAttributeDefName

      public static AttributeDefName grouperLoaderLdapMinOverallNumberOfMembersAttributeDefName()
      attribute def name of The minimum overall number of members for this job across all managed groups
      Returns:
      attribute def name
    • grouperLoaderLdapFailsafeSendEmailName

      public static String grouperLoaderLdapFailsafeSendEmailName()
      attribute def name of If an email should be sent out when a failsafe alert happens.
      Returns:
      name
    • grouperLoaderLdapFailsafeSendEmailAttributeDefName

      public static AttributeDefName grouperLoaderLdapFailsafeSendEmailAttributeDefName()
      attribute def name of If an email should be sent out when a failsafe alert happens.
      Returns:
      attribute def name
    • grouperLoaderLdapAdminsName

      public static String grouperLoaderLdapAdminsName()
      attribute def name of admins
      Returns:
      name
    • grouperLoaderLdapAdminsAttributeDefName

      public static AttributeDefName grouperLoaderLdapAdminsAttributeDefName()
      return attribute def name for admins
      Returns:
      attribute def name
    • grouperLoaderLdapOptinsName

      public static String grouperLoaderLdapOptinsName()
      attribute def name of optins
      Returns:
      name
    • grouperLoaderLdapOptinsAttributeDefName

      public static AttributeDefName grouperLoaderLdapOptinsAttributeDefName()
      return attribute def name for optins
      Returns:
      attribute def name
    • grouperLoaderLdapOptoutsName

      public static String grouperLoaderLdapOptoutsName()
      attribute def name of optouts
      Returns:
      name
    • grouperLoaderLdapOptoutsAttributeDefName

      public static AttributeDefName grouperLoaderLdapOptoutsAttributeDefName()
      return attribute def name for optouts
      Returns:
      attribute def name
    • grouperLoaderLdapGroupAttrReadersName

      public static String grouperLoaderLdapGroupAttrReadersName()
      attribute def name of groupAttrReaders
      Returns:
      name
    • grouperLoaderLdapGroupAttrReadersAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupAttrReadersAttributeDefName()
      return attribute def name for groupAttrReaders
      Returns:
      attribute def name
    • grouperLoaderLdapGroupAttrUpdatersName

      public static String grouperLoaderLdapGroupAttrUpdatersName()
      attribute def name of groupAttrUpdaters
      Returns:
      name
    • grouperLoaderLdapGroupAttrUpdatersAttributeDefName

      public static AttributeDefName grouperLoaderLdapGroupAttrUpdatersAttributeDefName()
      return attribute def name for groupAttrUpdaters
      Returns:
      attribute def name
    • escapeSearchFilter

      public static String escapeSearchFilter(String filter)
      Escape a search filter to prevent LDAP injection. From http://www.owasp.org/index.php/Preventing_LDAP_Injection_in_Java
      Parameters:
      filter -
      Returns:
      escaped filter