Quantcast

Crowd plugin with Nexus 2.8.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Crowd plugin with Nexus 2.8.1

Blake
Greetings,

I have Nexus community edition up and running and am trying to get the crowd plugin to play nicely but so far am not having any luck.

From what I have gathered it seems that crowd had some issues with the 2.8.1 version of Nexus so I am using SNAPSHOT 2.8 version found here. http://patrickroumanoff.github.io/nexus-crowd-plugin/

Based on the above my crowd configuration is $NEXUS_HOME/sonatype-work/nexus/conf/crowd-plugin.xml

Based on the logs seems that the crowd plugin and manager is loading and starting without an issue it is just not seeing the users.  I have checked crowd multiple times to ensure everything is correct and am baffled at the issue.

<?xml version="1.0" encoding="UTF-8"?>
<crowdConfiguration>
  <crowdServerUrl>https://linux-crowd.company.com/crowd/services/</crowdServerUrl>
  <applicationName>nexus</applicationName>
  <applicationPassword>Nexu5</applicationPassword>
</crowdConfiguration>

logs from wrapper.log

*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.api.CrowdTestPlexusResource
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.config.DefaultCrowdPluginConfiguration
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.client.CrowdAuthorizationManager
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.client.DefaultCrowdClientHolder
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.client.CrowdUserManager
*SYSTEM org.sonatype.nexus.NxApplication - Plugin manager request "ACTIVATE" on plugin "com.roumanoff.nexus:nexus-crowd-plugin:2.8.0-SNAPSHOT" was successful.
*SYSTEM org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm - Crowd Realm activated...
*SYSTEM org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm.authorizationCache.2' does not yet exist.  Creating now.
*SYSTEM org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm.authorizationCache.2]
org.sonatype.nexus.plugins.crowd.client.CrowdUserManager - CrowdUserManager is starting...
org.sonatype.nexus.plugins.crowd.client.CrowdAuthorizationManager - CrowdAuthorizationManager is starting...
jvm 1    |      at org.sonatype.nexus.plugins.crowd.client.rest.RestClient.getCookieConfig(RestClient.java:173) ~[na:na]
jvm 1    |      at org.sonatype.nexus.plugins.crowd.api.CrowdTestPlexusResource.get(CrowdTestPlexusResource.java:62) ~[na:na]
jvm 1    |      at org.sonatype.nexus.plugins.crowd.client.rest.RestClient.getCookieConfig(RestClient.java:173) ~[na:na]
jvm 1    |      at org.sonatype.nexus.plugins.crowd.api.CrowdTestPlexusResource.get(CrowdTestPlexusResource.java:62) ~[na:na]

Any help or additional troubleshooting steps to get this working is appreciated.

Thanks,
Blake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Crowd plugin with Nexus 2.8.1

Peter Lynch-2
I can't tell much from that log snippet - it doesn't look complete.

Just to clarify, you are trying to use a fork of a very old Nexus plugin. Sonatype no longer maintains the original plugin and issues with the fork at http://patrickroumanoff.github.io/nexus-crowd-plugin/ should be reported to that fork's maintainer.

Sonatype does offer an official crowd plugin and this is included with Nexus Professional.

-Peter



On Mon, Aug 11, 2014 at 9:14 PM, Blake <[hidden email]> wrote:
Greetings,

I have Nexus community edition up and running and am trying to get the crowd plugin to play nicely but so far am not having any luck.

From what I have gathered it seems that crowd had some issues with the 2.8.1 version of Nexus so I am using SNAPSHOT 2.8 version found here. http://patrickroumanoff.github.io/nexus-crowd-plugin/

Based on the above my crowd configuration is $NEXUS_HOME/sonatype-work/nexus/conf/crowd-plugin.xml

Based on the logs seems that the crowd plugin and manager is loading and starting without an issue it is just not seeing the users.  I have checked crowd multiple times to ensure everything is correct and am baffled at the issue.

<?xml version="1.0" encoding="UTF-8"?>
<crowdConfiguration>
  <crowdServerUrl>https://linux-crowd.company.com/crowd/services/</crowdServerUrl>
  <applicationName>nexus</applicationName>
  <applicationPassword>Nexu5</applicationPassword>
</crowdConfiguration>

logs from wrapper.log

*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.api.CrowdTestPlexusResource
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.config.DefaultCrowdPluginConfiguration
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.client.CrowdAuthorizationManager
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.client.DefaultCrowdClientHolder
*SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: org.sonatype.nexus.plugins.crowd.client.CrowdUserManager
*SYSTEM org.sonatype.nexus.NxApplication - Plugin manager request "ACTIVATE" on plugin "com.roumanoff.nexus:nexus-crowd-plugin:2.8.0-SNAPSHOT" was successful.
*SYSTEM org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm - Crowd Realm activated...
*SYSTEM org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm.authorizationCache.2' does not yet exist.  Creating now.
*SYSTEM org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.nexus.plugins.crowd.CrowdAuthenticatingRealm.authorizationCache.2]
org.sonatype.nexus.plugins.crowd.client.CrowdUserManager - CrowdUserManager is starting...
org.sonatype.nexus.plugins.crowd.client.CrowdAuthorizationManager - CrowdAuthorizationManager is starting...
jvm 1    |      at org.sonatype.nexus.plugins.crowd.client.rest.RestClient.getCookieConfig(RestClient.java:173) ~[na:na]
jvm 1    |      at org.sonatype.nexus.plugins.crowd.api.CrowdTestPlexusResource.get(CrowdTestPlexusResource.java:62) ~[na:na]
jvm 1    |      at org.sonatype.nexus.plugins.crowd.client.rest.RestClient.getCookieConfig(RestClient.java:173) ~[na:na]
jvm 1    |      at org.sonatype.nexus.plugins.crowd.api.CrowdTestPlexusResource.get(CrowdTestPlexusResource.java:62) ~[na:na]

Any help or additional troubleshooting steps to get this working is appreciated.

Thanks,
Blake

Loading...