Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This page is outdated as of 2019.  To Get Started Quickly, it is suggested to use the  InCommon Trusted Access Platform Docker Containers  

See also this page  

These instructions on how to get started with Grouper quickly were provided as an example by University of Pennsylvania.

...

  1.  In grouper.properties, I will change/add these settings:
    1. groups.wheel.use                      = true
      groups.wheel.group                    = etc:sysadmingroup
      configuration.autocreate.group.name.0 = etc:sysadmingroup
      configuration.autocreate.group.description.0 = super users
      configuration.autocreate.group.subjects.0 = mchyzer
      configuration.autocreate.group.name.1 = etc:webServiceUsers
      configuration.autocreate.group.description.1 = users allowed to log in to the WS
      configuration.autocreate.group.subjects.1 = mchyzer
      configuration.autocreate.group.name.2 = etc:webServiceActAsUsers
      configuration.autocreate.group.description.2 = users allowed to act as other in the WS
      configuration.autocreate.group.subjects.2 = mchyzer
  2. Start gsh again: bin\gsh      see if the user is in the groups
    1. gsh 0% grouperSession = GrouperSession.startRootSession();
      edu.internet2.middleware.grouper.GrouperSession: f802d876-b876-4315-b76e-0586bcc561b1,'GrouperSystem','application'
      gsh 1% subject = findSubject("mchyzer");
      subject: id='mchyzer' type='person' source='jdbc' name='Chris Hyzer'
      gsh 2% member = MemberFinder.findBySubject(grouperSession, subject);
      member: id='mchyzer' type='person' source='jdbc' uuid='1324c75e-9435-4c45-97e9-af40f2b71046'
      gsh 3% member.getGroups();
      group: name='etc:sysadmingroup' displayName='etc:sysadmingroup' uuid='38990f70-3d93-4a80-933c-6358c524024c'
      group: name='etc:wsActAsUsers' displayName='etc:webServiceActAsUsers' uuid='e87171ed-69e4-4cf8-91ea-c463770b71b1'
      group: name='etc:wsUsers' displayName='etc:webServiceUsers' uuid='6b2928d8-08f7-4cab-91f0-cb42dc794456'
      group: name='etc:uiUsers' displayName='etc:userInterfaceUsers' uuid='4103ede1-fdd1-419b-a5a7-0d2a6b3220eb'
      gsh 4%
  3. If you want quickstart data, download this file into quickstart.xml, and this file into subjects.sql.  (note, you need to act as admin, or adjust permissions to see this data, but you can verify in the DB that there a lot of groups/stems/etc)
    1. Import with: bin\gsh -registry -runsqlfile subjects.sql
    2. Import with: bin\gsh -xmlimportold GrouperSystem quickstart.xml

...