grouper-users - [grouper-users] RE: Grouper hooks and a possible alternate approach?
Subject: Grouper Users - Open Discussion List
List archive
- From: "Farmer, Jacob" <>
- To: "Hyzer, Chris" <>, "" <>
- Subject: [grouper-users] RE: Grouper hooks and a possible alternate approach?
- Date: Mon, 1 May 2017 20:33:20 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:Q3xvABJcBYQE7QTNj9mcpTZWNBhigK39O0sv0rFitYgfK/vxwZ3uMQTl6Ol3ixeRBMOAuqwC1rad6vyxEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT68bL9oLBi7ogrdutQZjIZmN6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhSEaPDA77W7XkNR9gqJFrhy8uxxxzY3aYI+XO/p/YqzScsgXRWVdUspNTyFNHp+wY5UJAuEcPehYtY79p14WoBewBQejHvnvyjpWiX/sxaExzuAvHhva0wwnBN0CvmnfodL3NKcKX+C61rPIzTDdYPNMwjr96ZXIfgo/rv6RQLJ9aMzcwlQhGQPCi1Wfs43lPzWN2+QMtWib8/RvVfipi2E5twF9vCKjydkxhYnUgI8e11PK9T1hzYooO9G1TFR3bNygHZdKqi2WLZZ6T8AhTm1wpSo3xaEKtYSmcCUJ1pgr3R3SZv+df4WI7B/vTOiRLil7iX55fb+yggi+/lS+xeLmU8S4zldHojdLktTJuH0Byx7e5dWCR/Zy4kitxTCC3B3J5O5eO0A7j6/bJoYhwrEukpoTtlzOHi/sl0XskK+Wc18r+u6y5+T6Y7XmuoScO5V1igH4L6sum9awAeIiPQQUQWeU5Pm82KXi/U3/XrpKkuU7nrTHvJ3eP8gWpKq0DxVI3oo59hqyDDSr3MwdnXYdLVJFfByHj5LuO1HLOP34D++/g1q2nzdxwvDJIKfhD47MLnjeirvuY6ty61NExAop0d9f/45UCq0GIP/rVU/xrtvYDgIhMwOq2ebrEch91pgAVmKVGa+UK6fSsV6T5uIzOOmAepUZuDf7K/g5+fHul3k5lkEBfaW3x5cYdm23Huk1a3meNDDMk8UMCyNClQokTfegwAmHWj5CdXuod6Mn7XcmEI+gC8HOSp37xPTL0z28A4VbfCVbEV2WCl/pcZmJQfEBdHjUL8N82HRQWqKmVpcsz1SzrwLg0JJmKPbZ4CsVqcil2dRosb79jxY3oHZaBt6Y3nvJB0N9lWQCDXdi3rhxqFZ4x02r0LU+jvBFQ48Ar8hVWxs3YMaPh9dxDMr/D1rM
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 [mailto:] 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 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 |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- [grouper-users] Grouper hooks and a possible alternate approach?, Farmer, Jacob, 05/01/2017
- [grouper-users] RE: Grouper hooks and a possible alternate approach?, Hyzer, Chris, 05/01/2017
- Re: [grouper-users] RE: Grouper hooks and a possible alternate approach?, Julio Polo, 05/01/2017
- RE: [grouper-users] RE: Grouper hooks and a possible alternate approach?, Farmer, Jacob, 05/01/2017
- Re: [grouper-users] RE: Grouper hooks and a possible alternate approach?, Julio Polo, 05/01/2017
- Re: [grouper-users] RE: Grouper hooks and a possible alternate approach?, William G. Thompson, Jr., 05/01/2017
- Re: [grouper-users] RE: Grouper hooks and a possible alternate approach?, Julio Polo, 05/01/2017
- RE: [grouper-users] RE: Grouper hooks and a possible alternate approach?, Farmer, Jacob, 05/01/2017
- [grouper-users] RE: Grouper hooks and a possible alternate approach?, Farmer, Jacob, 05/01/2017
- [grouper-users] RE: Grouper hooks and a possible alternate approach?, Hyzer, Chris, 05/02/2017
- Re: [grouper-users] RE: Grouper hooks and a possible alternate approach?, Julio Polo, 05/01/2017
- [grouper-users] RE: Grouper hooks and a possible alternate approach?, Hyzer, Chris, 05/01/2017
Archive powered by MHonArc 2.6.19.