Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper hooks and a possible alternate approach?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper hooks and a possible alternate approach?


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Farmer, Jacob" <>, "" <>
  • Subject: [grouper-users] RE: Grouper hooks and a possible alternate approach?
  • Date: Tue, 2 May 2017 15:10:31 +0000
  • Accept-language: en-US
  • Authentication-results: iu.edu; dkim=none (message not signed) header.d=none;iu.edu; dmarc=none action=none header.from=isc.upenn.edu;
  • Ironport-phdr: 9a23:3QScEhxEdXMbd5nXCy+O+j09IxM/srCxBDY+r6Qd0uoXL/ad9pjvdHbS+e9qxAeQG96KtbQZ1KGI7+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhTexe7N/IRe5oQjQucQdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LpwRRT2lCkIKSI28GDPisxxkq1bpg6hpwdiyILQeY2ZKeZycr/Ycd4cWGFPXNteVzZZD428cYUBEvYBM+hboYnzpVQOrAexCga3Cez11jNEmmX70bEm3+g/FwzNwQwuH8gJsHTRtNj5OqUcUOC0zabW1zXPd+5d1Cn96IjScxAhuv+AVq93fMrU1UYvFwPEj1SOpoz/JD6V1/8NvHSB4+p9TeKglWgnqwdrrjex28gsl5DEi4QIwV7K8iV5xZw6Jdy+SENjYN6kFodQuD+AN4twXMwiX39ktDwkxbIbpJ62ejUBxpc/xxPHdfCIaZSE7g/mWeqMPDt0mXdoeLywihqu7UStz+/xWde73VpUqydIl8fAumwQ2xDL98SKROdx8l2l1DqSzQzf9PxILEQumabGKZMsw7g9nYcJv0vZBC/5gkD2gbeWdko6/uio7PzqbK36q5GbK4N4lxjyP7kslcChGOg4NRMBUHaB9eS7yb3j4Vb2QLJXjv0wj6bVqojaJd4cpq6lHQBazpoj6xe4DzegytgYmmQHLE5BeBKAiIjpOEvCL+z/Dfe6m1iskTFryO7aPrD5HJnCNGTPnKrkcLpg9kJQ1Q8+zd5Q6p5IFr0MJfD+VVH+udDGCxI0NhK4z/r6BNll04MRQ2OPAquXMKPItl+I4/oiI+yQa48VuDf8KuYq5+T1gH84gl8SYbOl3YYPaH+mGPRmJV+VbmTxjdccCWsKpBYxTPT2iF2eVj5ef3myX7g75jEmEIKpE53DSpmwgLyawii7BIZWa3tCClCNCnfoa56EV+kWZCKTJM9hjiILVaKnS4A/yRGiqhX2xKR6IerJqWUkssep+tFv4uDJ0VkQ/DdzBY7Vh2OVQWhum24Sbz4rmq1zvBo5gh2My69lm/FCUMFI6ulSegY8KZPGyeFmUZb/Vh+LNoOGUlG7Wti8RCwqQ8gq694If0tnHdi+1FbO0zf8UJEPkLneTrwl4K/GmzDaJ9x80DyOgKwqj0g0T9FnNHatwLNn+g7VQYPFjhPKxO6Raa0A0XuVpy+4xm2UsRQdCVYoXA==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Im not sure how many people use the SCIM change log consumer, I would assume not too many since I haven’t heard much about it.  Or a lot of people use it and it has no issues and no one had any questions J

 

https://spaces.internet2.edu/display/Grouper/Grouper+SCIM+change+log+client

 

Note, that is not pub/sub messaging, that is hitting a SCIM web service endpoint…

 

Thanks

Chris

 

From: Farmer, Jacob [mailto:]
Sent: Monday, May 01, 2017 4:33 PM
To: Hyzer, Chris <>;
Subject: RE: Grouper hooks and a possible alternate approach?

 

Chris,

 

Thanks for the information! The messaging system seems promising.

 

As for messaging more generally, we do a variety of flavors of queuing based on project, so we’re pretty flexible. For our purposes, we’d probably pick whatever Grouper shipped first.

 

I noticed that SCIM support is there, but in beta…how beta is that? Because we could make that work, too.

 

Jacob

 

 

From: Hyzer, Chris []
Sent: Monday, May 1, 2017 2:20 PM
To: Farmer, Jacob <>;
Subject: RE: Grouper hooks and a possible alternate approach?

 

There is built in grouper messaging.  You can configure a change log consumer (already exists, no need to write code), to filter on that group name and send a grouper message.  The thing that needs to be notified can change grouper messaging.

 

We could use better docs for this, and I can improve them if you like, but heres the current link

 

https://spaces.internet2.edu/display/Grouper/Grouper+Messaging+System

https://spaces.internet2.edu/display/Grouper/Grouper+messaging+send+receive+example

 

Do you do messaging at Indiana with AWS, activeMQ, rabbitMQ, azure, etc?  We don’t have adapters for those yet, but if we had one (shouldn’t be hard and we actually are starting to work on them now), we could configure the above connector to just send messages to your message queue system instead of the built in grouper one.

 

The Grouper ESB can send messages out as well, though your system would need to implement a certain HTTP spec or you could do XMPP, though the messaging I think would be preferable…

 

https://spaces.internet2.edu/display/Grouper/Grouper+ESB+Connector

 

If you don’t want to do either of these, then yes, writing a change log consumer would be ideal.  I would use a helper class though, e.g. extend ChangeLogConsumerImpl, and you can mark your class(es) to listen for with an attribute, even if you only have one.

 

https://spaces.internet2.edu/pages/viewpage.action?pageId=14517905

 

Thanks

Chris

 

 

From: [] On Behalf Of Farmer, Jacob
Sent: Monday, May 01, 2017 1:51 PM
To:
Subject: [grouper-users] Grouper hooks and a possible alternate approach?

 

Colleagues,

 

We have been presented with a business need and I’m not sure the best way to resolve it. I would appreciate it if you would be willing to help me brainstorm/consider alternate approaches. I will add that we are new to Grouper and so apologies in advance if this is a trivial problem.

 

We have primarily been working with Grouper to manage LDAP groups in our Active Directory. As we start to consider expanded use cases, we have an application that needs to be notified when a calculated group’s membership changes. Reviewing the docs, there seems to be at least two options: writing a custom grouper hook and creating a worker process that monitors the changelog. We also have a third option in this case: write a separate process that triggers on an update to the LDAP group membership.

 

For those of you who are more experienced -- do any of these jump out as the “right answer”? I’m tempted to write a process to watch the change log because it seems architecturally easiest, but I would appreciate learning from this group’s collective experience.

 

Jacob

 

=========================

Jacob Farmer

Identity Management Systems

(812) 856-0186

 




Archive powered by MHonArc 2.6.19.

Top of Page