Crowd Plugin

Plugin Information

Plugin ID crowd
Latest Release 1.1
Latest Release Date Jan 30, 2010
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

Crowd plugin

This plugin enables use of Atlassian Crowd as an authentication source. Crowd is a commercial identity management and Single Sign-On (SSO) application.

In the current version, the Crowd plugin does not support SSO.
For SSO support, check out the Crowd 2 Plugin.

Configuration

To configure the plugin, you first need to create a new application in Crowd. http://confluence.atlassian.com/display/CROWD/Managing+Applications has more information on how to configure applications in Crowd.

Be sure to also allow connections to Crowd from the server Hudson runs on. As of the current (1.5.1) release, this must be done per IP address; vote for http://jira.atlassian.com/browse/CWD-84 to allow this to be configured on a block basis.

Once you have the application configured in Crowd, you can enable Crowd-based security in Hudson on the Manage Hudson page. Enter the URL of the Crowd's servers endpoint (will typically be /crowd/services/ or /services/) as well as the application name and password you configured in Crowd.

Requirements

This plugin requires Hudson version 1.318 or higher. It has primarily been tested against Crowd version 1.6.

Troubleshooting

Users can log in, but Hudson doesn't see some of their groups

Crowd has a setting, which can be set per application, called "Lower Case Output". If you have, e.g., a group called "SystemAdministrators", and "Lower Case Output" is set, then Crowd will pass this group name to Hudson as "systemadministrators". To fix this, either:

  • Use all-lowercase group names in your authorization settings in Hudson.
  • Or, turn off "Lower Case Output" in Crowd. This is on the "Options" tab for your Hudson application. Note that if you do this, you must make sure to always use the correct capitalization in your Hudson authorization settings.

Version History

Version 1.1 (Jan 30, 2010)
  • Update code for more recent Hudson
Version 1.0 (Jan 16, 2009)
  • Initial release

Labels:

plugin-user plugin-user Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jul 28, 2011

    Gunnar Wagenknecht says:

    If you get the following exception when configuring the plug-in, make sure that ...

    If you get the following exception when configuring the plug-in, make sure that the URL ends with /services/ (eg., https://myserver/crowd/services/). This is a bit confusing, though. In JIRA & Co. you don't need the /services/ suffix.

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    	at java.lang.String.substring(String.java:1949)
    	at com.atlassian.crowd.integration.service.soap.client.ClientPropertiesImpl.generateBaseURL(ClientPropertiesImpl.java:242)
    	at com.atlassian.crowd.integration.service.soap.client.ClientPropertiesImpl.updateProperties(ClientPropertiesImpl.java:86)
    	at com.ds.tools.hudson.crowd.CrowdSecurityRealm.createSecurityComponents(CrowdSecurityRealm.java:76)
    	at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:388)
    
  2. Sep 23, 2011

    Thorsten Heit says:

    Hi, I have written a new connector for Crowd >= 2.1 that solves the actual p...

    Hi,

    I have written a new connector for Crowd >= 2.1 that solves the actual problems of this plugin and especially allows Single-Sign-On. Details here: Crowd 2 Plugin.

    Regards

    Thorsten

  3. Jan 17, 2012

    Aleksey Hariton says:

    Hi, If this plugin compatible with Crowd 2.3.2 or I should use Crowd 2 plugin? ...

    Hi,

    If this plugin compatible with Crowd 2.3.2 or I should use Crowd 2 plugin?

    Thanks.