Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1139

PSP doesn't support configs with multiple classes in a Grouper Hook definition

    XMLWordPrintable

    Details

      Description

      In the grouper.properties we have membership and group hooks defined... Each pointing to two or more classes. When running the PSP, we get the following error:
      Problem loading class: edu.example.middleware.grouper.hook.GroupHooksImplExample,edu.example.middleware.grouper.namecheck.NameCheckHook
      at edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeCommonUtils.forName(ConfigPropertiesCascadeCommonUtils.java:547)
      at edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase.assertPropertyValueClass(ConfigPropertiesCascadeBase.java:1296)
      at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperConfig(GrouperCheckConfig.java:352)
      at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperConfigs(GrouperCheckConfig.java:315)

      It appears that https://github.com/Internet2/grouper/blob/master/grouper-misc/grouperClient/src/java/edu/internet2/middleware/grouperClient/config/ConfigPropertiesCascadeBase.java#L1279 does not support a comma separated list of classes.

      This appears to fail gracefully and the PSP runs to completion.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              john.gasper@at.internet2.edu John Gasper (unicon.net)
              Reporter:
              john.gasper@at.internet2.edu John Gasper (unicon.net)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: