grouper-users - Re: [grouper-users] Re: Grouper Atlassian Connector
Subject: Grouper Users - Open Discussion List
List archive
- From: Neha Deshpande <>
- To: "Hyzer, Chris" <>
- Cc: "" <>
- Subject: Re: [grouper-users] Re: Grouper Atlassian Connector
- Date: Mon, 22 Aug 2016 10:14:53 -0400
- Ironport-phdr: 9a23:SGBFxBY7DhtpLqGq/HlRyKf/LSx+4OfEezUN459isYplN5qZpsuybnLW6fgltlLVR4KTs6sC0LWG9f27EjVdqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aSV3DMl8/BvXnF5SWx++3zeGpsdWHZg5IlSiwe5tzNx7wsB3csM9QjId/fPUf0BzM911Fe+0e6W5zJUqamRrxrpO28JN48zxZvdo88sIGXKnnKfdrBYdEBSgrZjhmrPbgsgPOGFOC
I committed my latest work. I think it is mostly there, but I haven’t been able to get it to work successfully.
Basically get the 2.3 branch grouperAtlassianConnector and grouperClient. Build both of them. Add in the jars in grouperAtlassianconnector. And add in the properties from the grouperAtlassianConnector to the grouper.client.properties. You need Grouper web services running. Make sure web services run in Jira (i.e. if you use SSO you need to make sure they are exposed) Use V5 as the atlassian version in grouper.client.properties.
You can run it and it should sync things
edu.internet2.middleware.
grouperAtlassianConnector.db. GrouperAtlassianDataReconcile (as command line args pass in “full” and “readonly” or “notReadonly”)
Anyways, let me know if you need help J
Thanks
Chris
From: Neha Deshpande [mailto:]
Sent: Monday, August 15, 2016 10:55 AM
To: Hyzer, Chris <>
Cc:
Subject: Re: [grouper-users] Re: Grouper Atlassian Connector
Hi Chris,
Yes, we should be able to help with that as we are trying to develop it at the moment.
We are unsure how this would fit in with the existing Atlassian connector, we might need additional guidance.
Would it be possible to setup a one hour meeting with our dev team?
Thanks,
On Mon, Aug 15, 2016 at 10:22 AM, Hyzer, Chris <> wrote:
I want to edit the existing Atlassian connector to work with web services as an option as well. Is that something you can help develop/test? J
Btw, I wouldn’t use rules to do provisioning, I would make a change log consumer like the other provisioners… (including Atlassian)
Thanks
Chris
From: Neha Deshpande [mailto:]
Sent: Thursday, August 11, 2016 1:30 PM
To: Hyzer, Chris <>
Cc:
Subject: Re: [grouper-users] Re: Grouper Atlassian Connector
Hi Chris,
We think we are going to go ahead with using the JIRA API to add/ remove users to JIRA groups. We were thinking of using grouper rules to trigger the changes.
Do you have any example on using custom classes with the rule framework. Where do we put the java classes that we write to trigger rules?
Are there any other syncing mechanism with grouper that we could potentially use in place of rules to do the same?
Thanks,
On Wed, Jul 13, 2016 at 5:37 PM, Hyzer, Chris <> wrote:
We use it at penn. However, Atlassian removed support for externalized users/groups a while back. I think no one runs Atlassian products that old anymore, so I need to update the docs for the new setup.
I believe the recommended approach is to read groups from LDAP which are provisioned from Grouper. You need isMemberOf and hasMember. You might need to integrate through Atlassian Crowd, not sure.
At Penn we only have isMemberOf. The connector currently syncs groups to the Atlassian tables, and relies on Atlassian reading from the tables every hour approximately. So, at Penn when we change an Atlassian group in grouper it takes generally an hour to see it reflected in Jira/Confluence. However, sometimes it doesn’t work (refreshing the cache from the DB) for whatever reason, so we nightly restart Atlassian.
Are you interested in the new approach?
Note, last summer (last time I checked), one of Jira|Confluence has a user/grouper WS API. But the other didn’t so I didn’t pursue it. When they both do we could use that to provision from grouper.
Thanks
Chris
From: [mailto:] On Behalf Of Neha Deshpande
Sent: Wednesday, July 13, 2016 3:27 PM
To:
Subject: [grouper-users] Re: Grouper Atlassian Connector
Are there any universities who use Atlassian connector who we can hopefully talk to?
Thanks,
On Tue, Jul 12, 2016 at 4:55 PM, Neha Deshpande <> wrote:
Hello,
I am trying to use grouper for group management for our Atlassian tools and have been unsuccessful so far. I was able to follow steps as listed in https://spaces.internet2.
edu/display/Grouper/Grouper+ .Atlassian+connector
I copy jars to JIRA and make updates to the osuser.xml file and migrate the JIRA groups and users to grouper. (I skipped the step where it sets privileges because I was not sure what it did)
The group and membership information was not stored in groupbase and membershipbase tables as mentioned in the documentation so I did not need to truncate them. We are using JIRA version 5.9.5 maybe they changed that?
Any changes I make to JIRA groups in grouper are not reflected in JIRA.
This is what my grouper.client.properties looks like:
##############################
## ## Atlassian connector settings
##############################
##
# put a folder name that is the root for atlassian groups
atlassian.root = Atlassian
# atlassian source to use (leave blank for all sources)
atlassian.subject.search.
sourceId =
# atlassian search by id, identifier, or idOrIdentifer (idOrIdentifier is Grouper 2.0+)
atlassian.subject.search.
subjectId = identifier
# number of minutes to cache reads
# defaults to 10. Note, crank this up to 25 hours if you are doing XMPP notifications
atlassian.cache.minutes = 10
# number of minutes to cache profile reads
# defaults to 10
atlassian.cache.profile.
minutes = 20
# each cache has a failsafe cache, so that if grouper is down, and the data has been loaded,
# since atlassian has been started, the stale verison of the data can be retrieved
atlassian.cache.failsafe.hours = 48
# list all sources here, and how to get the atlassian id
atlassian.source.jdbc.sourceId = jdbc
# should be "id" or an attribute name to get the identifier for atlassian
atlassian.source.jdbc.
idOrAttribute = ID # email attribute for this source (needed if using the ProfileProvider)
atlassian.source.jdbc.
emailAttribute = EMAIL # should be "name" or "description" or an attribute name to get the name for atlassian (needed if using the ProfileProvider)
atlassian.source.jdbc.
nameAttribute = name
#atlassian name of group which has all users in it, e.g. jira-users
atlassian.usersGroup = jira-users
# grouper group name of all users that have ever been in atlassian (profile service has access to these). Leave blank to
# just use the users group
atlassian.grouperAllUsersGroup =
# if you are doing XMPP for cache clearing, set to true, and set the XMPP sections of this config
atlassian.
registerXmppListeners = false
# if incremental changes come through, then dont clear now, clear sometime in the future so that multiple changes
# cause fewer cache refreshes. Note that changes come through the change log so that they are already buffered a little bit
# this should probably at least be 15 seconds...
atlassian.
xmppIncrementalClearCacheSecon dsInFuture = 75
# if all users must be in atlassian.
grouperAllUsersGroup, # or if lookups of old users can be done without having to be in this group
atlassian.
requireGrouperAllUsersGroupFor Lookups = false
# groups which should be assigned to various privileges for new groups created in confluence
atlassian.updaters =
atlassian.admins =
atlassian.readers =
# pretend these memberships exist (e.g. to bootstrap or for users not in grouper)
atlassian.autoadd.
administrators.groupname = jira-administrators atlassian.autoadd.
administrators.usernames = admin
atlassian.autoadd.users.
groupname = jira-users atlassian.autoadd.users.
usernames = admin
# users not in idm, this is needed if using the profile provider
atlassian.autoadd.admin.user.
id = adminatlassian.autoadd.admin.user.
name = Atlassian ADMINatlassian.autoadd.admin.user.
email =
#ignore calls on this user to the web service
atlassian.ws.users.to.ignore = admin
#put a valid subject id or identifier here for testing, and that user's email and name
atlassian.test.
subjectIdOrIdentifier = atlassian.test.email =
# if you are using the edu.internet2.middleware.
grouperAtlassianConnector. GrouperLoggingAccessProviderWr apper # to log an access provider, set the underlying class here
atlassian.logging.
accessProvider.class = com.atlassian.jira.user. osuser.JiraOFBizAccessProvider
# if you are using the edu.internet2.middleware.
grouperAtlassianConnector. GrouperLoggingAccessProviderWr apper # to log an access provider, set the underlying class here
atlassian.logging.
profileProvider.class = com.atlassian.jira.user. osuser. JiraOFBizProfileProvider
# if using the external authenticator, then this says if we should store the user token in session
# as opposed to getting it from the external authentication each time
atlassian.authentication.
cacheUserToken = false
# if using the external authenticator, then this is the request attribute where the principal name is
# note, if it is REMOTE_USER, that will already be checked
atlassian.authentication.
requestPrincipalAttributeName =
# if you are not in prod, and you want to backdoor as someone else, put a parameter name here (e.g. gibberish alphanumeric, or backdoorNetid)
# and if that param is in the URL or posted to the application, it will be used. Note, if you use this then cacheUserToken will be true
# since this will not be in the URL for every request
atlassian.authentication.
backdoorRequestParameterName =
# if you are not in prod, and you want to backdoor as someone else, put comma separated usernames here who
# are allowed to backdoor as someone else
atlassian.authentication.
backdoorAllowedUsers =
Thanks,
--
Neha Deshpande
IT Engineer
DIT - Enterprise Engineering
University of Maryland
--
Neha Deshpande
IT Engineer
DIT - Enterprise Engineering
University of Maryland
--
Neha Deshpande
IT Engineer
DIT - Enterprise Engineering
University of Maryland
--
Neha Deshpande
IT Engineer
DIT - Enterprise Engineering
University of Maryland
IT Engineer
DIT - Enterprise Engineering
University of Maryland
- Re: [grouper-users] Re: Grouper Atlassian Connector, Neha Deshpande, 08/11/2016
- RE: [grouper-users] Re: Grouper Atlassian Connector, Hyzer, Chris, 08/15/2016
- Re: [grouper-users] Re: Grouper Atlassian Connector, Neha Deshpande, 08/15/2016
- RE: [grouper-users] Re: Grouper Atlassian Connector, Hyzer, Chris, 08/18/2016
- Re: [grouper-users] Re: Grouper Atlassian Connector, Neha Deshpande, 08/22/2016
- RE: [grouper-users] Re: Grouper Atlassian Connector, Hyzer, Chris, 08/22/2016
- Re: [grouper-users] Re: Grouper Atlassian Connector, Neha Deshpande, 08/23/2016
- RE: [grouper-users] Re: Grouper Atlassian Connector, Hyzer, Chris, 08/22/2016
- Re: [grouper-users] Re: Grouper Atlassian Connector, Neha Deshpande, 08/22/2016
- RE: [grouper-users] Re: Grouper Atlassian Connector, Hyzer, Chris, 08/18/2016
- Re: [grouper-users] Re: Grouper Atlassian Connector, Neha Deshpande, 08/15/2016
- RE: [grouper-users] Re: Grouper Atlassian Connector, Hyzer, Chris, 08/15/2016
Archive powered by MHonArc 2.6.19.