Welcome to Nexus-crowd-plugin.
This fork is to keep an up to date version of the nexus-crowd-plugin. With so many updates both on the nexus and crowd front, it's hard to keep track! And those two awesome products work so well together....
Setup
Usage for Nexus 3.x
Add a
nexusapplication to Crowd with aSECRETsecretLook into the file
bin/nexus.vmoptionsto locate the value of parameterkaraf.etc-
Create a file called
crowd-plugin.propertiesunder<karaf.etc>folderapplicationName=nexus applicationPassword=SECRET crowdServerUrl=http://host:port/crowd/You can also use the following properties
- cacheTTL (value is seconds; default value is 3600 seconds)
- httpMaxConnections (default value is 20)
- httpTimeout (value in milliseconds; default value is 5000msecs)
- httpProxyHost
- httpProxyPort
- httpProxyUsername
- httpProxyPassword
Copy the bundle under
NEXUS_HOME/system/com/roumanoff/nexus/nexus-crowd-plugin/<version>/nexus-crowd-plugin-<version>.jarModify the file
<karaf.etc>/startup.properties, add the new linemvn\:com.roumanoff.nexus/nexus-crowd-plugin/<version> = 101Start Nexus and use the Administration->Security->Realms page to add
OSS Crowd Authentication Realmto the list of active realms (at the bottom so you can still use the admin account stored in Nexus DB for which you have changed the password, right ?).
Usage for Nexus < 3.0
Add a
nexusapplication to Crowd with aSECRETsecret-
Create a file called
crowd-plugin.xmlundersonatype-work/nexus/conf<?xml version="1.0" encoding="UTF-8"?> <crowdConfiguration> <crowdServerUrl>http://host:port/crowd/</crowdServerUrl> <applicationName>nexus</applicationName> <applicationPassword>SECRET</applicationPassword> </crowdConfiguration> unzip the bundle under
sonatype-work/nexus/plugin-repositoryStart Nexus and use the Administration->Server panel to add
OSS Crowd Authentication Realmto the list of active realms.
Plugin Download
- For nexus 3.3.x: nexus-crowd-plugin-3.3.0.jar
- For nexus 3.1.x: nexus-crowd-plugin-3.1.0.jar
- For nexus 3.0.x: nexus-crowd-plugin-3.0.0.jar
- For nexus 2.9.x: nexus-crowd-plugin-2.9.0-bundle.zip
- For nexus 2.8.x: nexus-crowd-plugin-2.8.1-bundle.zip
- For nexus 2.7.x: nexus-crowd-plugin-2.7.0-bundle.zip
- For nexus before 2.7.x: nexus-crowd-plugin-2.0.7-bundle.zip
Watch out for the confusing version numbers, version 2.7.0 is for nexus 2.7 and version 2.0.7 is for nexus before 2.7.
Plan for next iterations
- enable a group filter
- provide a configuration UI
- enable Single Sign On (SSO)
Authors and Contributors
@PatrickRoumanoff and @flopma based on initial work by @justinedelson from @sonatype