Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper Shell and AddSubject

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper Shell and AddSubject


Chronological Thread 
  • From: "Crawford, Jeffrey" <>
  • To: Grouper-Users <>
  • Subject: [grouper-users] Grouper Shell and AddSubject
  • Date: Wed, 5 Dec 2018 23:41:41 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:OuOkdBfT70fIGrFvIkNpMoI5lGMj4u6mDksu8pMizoh2WeGdxcW9ZR7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNFsjKxVoxyhpgBwzIHPbY6PKPZ+e7nQcc8GSWdDWMtaSixPApm7b4sKF+cNM/hVr5PnqFoAoxu+AhOsC/73xjRVgnH5w6M60+o7EQ7Y3A0sEc8FvXPWrNrpLqcdS+60zKfPzTXZcvxbwjb96JTSfhA8vf6MWah/fdDPxkYyCgPIl1OdopHrMTOS0+QCqWmb7+x4WOKgkW4nrBxxoiCxycc2kIXGnJoVykjC+C5kw4g1PcW1RUFnbdK+DZdcqyOXO5F0T88+WW1lvCU3xqUYtZO6YCQHypEqxxDDZ/Cab4SF5wzvW/iQLDp9hH9qYreyihev/ke8yeDxU9O73VdUoSdAltTBuH4N2h3W58ecS/Zx40mh1S6B1w/N6exIPUU5mK/VK5MhzLM9kp8evVrdEiDshkn7ibSZeVkq9+im7unnbLvmqoOeOoJylwrwKL4hmtalDuQ9KgUOX3aU+eC71LD75UP0XLJEguE5n6XArZ7UPdkXqre+AwBOzIkv8RG/Dyq60NsDmnkHMVRFdw+dg4jxIVHOJ+z4AumjjFSwkTdrwPbGMqfmApXQMnjDlLDhfbF+60JG1AUzytVf64pVCrEHPv3zRlf8udPEAhMjLgC43+TqBM9/248CQ26CBqyUPLvXsVCS5+IvJ+eMZJUSuDb4M/Ul5eLhjWUjll4Tc6mp2oEXZ22jE/RnP0WVe2fsjcsFEWgQpAYxUvHliECaXT5Je3myR7485i08CI++AofDXIetgKGZ3CilBJ1af31GCkuSHnfybIWJQPMMaCOJIs99iTwIS6KtS44n1RGyqgD60bxnIfTI+iEGr57sysV65/CA3S01oBNuCNmF3nvIcnp5hHhAEzAs271nrFY410yOy7NQgvpEGMZV6u8TFAo2KMiP4fZ9DoW4cRjIYdmOUlriCverDz8rQ8N7i4sMaFx0BNullBzr3jbsHrQRnvqGCIFiofGU5GT4O8sokyWO76ImlVRzGpEVZ2S7mq5y8RTSDIfVkkKf0rynbrkYwDWTqDWY1WTbukZeXUYwSqjDUX0FLmru5dXirgKnLfe1DKg/dA5IyMqMMKxPP9/il1xZSvD5NPzffySskGO5QxuE2+DEYQ==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Greetings,

 

We’ve been having issue with the grouper Web Service finding the service accounts since we upgraded. Originally the web service accounts were created as groups, and the web service basic auth seemed to work fine. My guess is that over time it was no longer possible to bind a basic auth REMOTE_USER to a group entity. So I thought I would create an application local identity and just make it a member of the original group we created as a migration step.

 

However I was trying to create a local entity. I used the Grouper shell to create a service account, but after creating it and trying to access it via findSubject, It doesn’t find the account I just created:

 

groovy:000> addSubject("grouper-wsuser", "application", "grouper-wsuser");

===> Subject id: grouper-wsuser-iamucla, sourceId: null, name: grouper-wsuser

groovy:000> findSubject("grouper-wsuser");

ERROR edu.internet2.middleware.subject.SubjectNotFoundException:

subject not found: grouper-wsuser

        at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.thereCanOnlyBeOne (SourcesXmlResolver.java:486)

        at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findByIdOrIdentifier (SourcesXmlResolver.java:527)

        at edu.internet2.middleware.grouper.subj.CachingResolver.findByIdOrIdentifier (CachingResolver.java:406)

        at edu.internet2.middleware.grouper.subj.ValidatingResolver.findByIdOrIdentifier (ValidatingResolver.java:203)

        at edu.internet2.middleware.grouper.SubjectFinder.findByIdOrIdentifier (SubjectFinder.java:316)

        at edu.internet2.middleware.grouper.app.gsh.findSubject.invoke (findSubject.java:154)

        at edu.internet2.middleware.grouper.app.gsh.findSubject$invoke.call (Unknown Source)

        at groovysh_evaluate.findSubject (groovysh_evaluate:4)

        at groovysh_evaluate.findSubject (groovysh_evaluate)

 




Archive powered by MHonArc 2.6.19.

Top of Page