[ANN] Nexus Crowd Plugin Released

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

[ANN] Nexus Crowd Plugin Released

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After much delay, the Nexus Crowd plugin has reached it first public release. If you've built the plugin from source in the past, please read the installation instructions as the configuration model has changed dramatically. Configruation is now done through a configuration file in the sonatype-work/nexus/conf directory, rather than via Plexus. This will make it easier to upgrade in the future as well as support a UI-based configuration (vote for NEXUS-1410 if this is important for you).
 
 
Thanks to everyone who helped me out over the past few months.
 
Justin Edelson
VP, Applications & Platforms
MTV Networks Digital

Re: [ANN] Nexus Crowd Plugin Released

by boycook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. I've downloaded and installed plugin as described here:

https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin

I've got it connecting to my version of crowd (I can see the auth request/response in the crowd log, plus I've used the test link in the documentation) but when nexus loads (using tomcat) I get this error below:

java.lang.ClassCastException: org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be cast to org.sonatype.jsecurity.locators.users.PlexusUserLocator
        at org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimaryLocator(DefaultPlexusUserManager.java:113)
        at org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(DefaultPlexusUserManager.java:67)
        at org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.getUser(AdditinalRolePlexusUserManager.java:26)
        at org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthorizationInfo(AbstractXmlAuthorizingRealm.java:73)
        at org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRealm.java:279)
        at org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:360)
        at org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:356)
        at org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecurity.java:355)
        at org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.java:143)
        at org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAllowed(PermissionsAuthorizationFilter.java:45)
        at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
        at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145)
        at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175)
        at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129)
        at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
        at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
        at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
        at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
        at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
        at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
        at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
        at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:63)
        at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:637)

Does anyone have an idea of what could be wrong? It looks like it's trying to cast the CrowdROLELocator to the PlexusUSERLocator.

Cheers,
Craig Cook

justinedelson wrote:
After much delay, the Nexus Crowd plugin has reached it first public release. If you've built the plugin from source in the past, please read the installation instructions as the configuration model has changed dramatically. Configruation is now done through a configuration file in the sonatype-work/nexus/conf directory, rather than via Plexus. This will make it easier to upgrade in the future as well as support a UI-based configuration (vote for NEXUS-1410 if this is important for you).
 
Documentation can be found here: https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
 
Thanks to everyone who helped me out over the past few months.
 
Justin Edelson
VP, Applications & Platforms
MTV Networks Digital

Re: [ANN] Nexus Crowd Plugin Released

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll take a look at this shortly.

On Feb 11, 2009, at 12:29 PM, "boycook" <craig.cook@...> wrote:

>
> Hi. I've downloaded and installed plugin as described here:
>
> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>
> I've got it connecting to my version of crowd (I can see the auth
> request/response in the crowd log, plus I've used the test link in the
> documentation) but when nexus loads (using tomcat) I get this error  
> below:
>
> java.lang.ClassCastException:
> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be  
> cast to
> org.sonatype.jsecurity.locators.users.PlexusUserLocator
>    at
> org.
> sonatype.
> jsecurity.
> locators.
> users.
> DefaultPlexusUserManager.
> getPrimaryLocator(DefaultPlexusUserManager.java:113)
>    at
> org.
> sonatype.
> jsecurity.
> locators.
> users.DefaultPlexusUserManager.getUser(DefaultPlexusUserManager.java:
> 67)
>    at
> org.
> sonatype.
> jsecurity.
> locators.
> users.
> AdditinalRolePlexusUserManager.
> getUser(AdditinalRolePlexusUserManager.java:26)
>    at
> org.
> sonatype.
> jsecurity.
> realms.
> AbstractXmlAuthorizingRealm.
> doGetAuthorizationInfo(AbstractXmlAuthorizingRealm.java:73)
>    at
> org.
> jsecurity.
> realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRealm.java:279)
>    at
> org.
> jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:
> 360)
>    at
> org.
> jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:
> 356)
>    at
> org.
> sonatype.
> jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecurity.java:
> 355)
>    at
> org.
> jsecurity.
> subject.DelegatingSubject.isPermitted(DelegatingSubject.java:143)
>    at
> org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAllowed
> (PermissionsAuthorizationFilter.java:45)
>    at
> org.
> sonatype.
> nexus.
> security.
> filter.
> authz.
> HttpVerbMappingAuthorizationFilter.
> isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
>    at
> org.
> jsecurity.
> web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:
> 145)
>    at
> org.
> jsecurity.
> web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175)
>    at
> org.
> jsecurity.
> web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129)
>    at
> org.
> jsecurity.
> web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
> 180)
>    at
> org.
> jsecurity.
> web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
>    at
> org.
> jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
>    at
> org.
> jsecurity.
> web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
>    at
> org.
> jsecurity.
> web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
> 180)
>    at
> org.
> jsecurity.
> web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
>    at
> org.
> jsecurity.
> web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
>    at
> org.
> sonatype.
> nexus.
> security.
> filter.
> NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:63)
>    at
> org.
> jsecurity.
> web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
> 180)
>    at
> org.
> apache.
> catalina.
> core.
> ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
>    at
> org.
> apache.
> catalina.
> core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>    at
> org.
> apache.
> catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
>    at
> org.
> apache.
> catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 191)
>    at
> org.
> apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 128)
>    at
> org.
> apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 102)
>    at
> org.
> apache.
> catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>    at
> org.
> apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 286)
>    at
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>    at
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>    at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:447)
>    at java.lang.Thread.run(Thread.java:637)
>
> Does anyone have an idea of what could be wrong? It looks like it's  
> trying
> to cast the CrowdROLELocator to the PlexusUSERLocator.
>
> Cheers,
> Craig Cook
>
>
> justinedelson wrote:
>>
>> After much delay, the Nexus Crowd plugin has reached it first public
>> release. If you've built the plugin from source in the past, please  
>> read
>> the installation instructions as the configuration model has changed
>> dramatically. Configruation is now done through a configuration  
>> file in
>> the sonatype-work/nexus/conf directory, rather than via Plexus.  
>> This will
>> make it easier to upgrade in the future as well as support a UI-based
>> configuration (vote for NEXUS-1410 if this is important for you).
>>
>> Documentation can be found here:
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>
>> Thanks to everyone who helped me out over the past few months.
>>
>> Justin Edelson
>> VP, Applications & Platforms
>> MTV Networks Digital
>>
>>
>
> --
> View this message in context: http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958279.html
> Sent from the Nexus Maven Repository Manager Dev List mailing list  
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


RE: [ANN] Nexus Crowd Plugin Released

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've released version 1.2 of the plugin which fixes this problem. The
wiki page has been updated to reflect this.

Thanks for catching this.

Justin

-----Original Message-----
From: boycook [mailto:craig.cook@...]
Sent: Wednesday, February 11, 2009 12:29 PM
To: nexus-dev@...
Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released


Hi. I've downloaded and installed plugin as described here:

https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin

I've got it connecting to my version of crowd (I can see the auth
request/response in the crowd log, plus I've used the test link in the
documentation) but when nexus loads (using tomcat) I get this error
below:

java.lang.ClassCastException:
org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be cast
to org.sonatype.jsecurity.locators.users.PlexusUserLocator
        at
org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
yLocator(DefaultPlexusUserManager.java:113)
        at
org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
efaultPlexusUserManager.java:67)
        at
org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
User(AdditinalRolePlexusUserManager.java:26)
        at
org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
tionInfo(AbstractXmlAuthorizingRealm.java:73)
        at
org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
lm.java:279)
        at
org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
60)
        at
org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
56)
        at
org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
ty.java:355)
        at
org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
va:143)
        at
org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
lowed(PermissionsAuthorizationFilter.java:45)
        at
org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
        at
org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
lter.java:145)
        at
org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
.java:175)
        at
org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
a:129)
        at
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
lter.java:180)
        at
org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
.java:57)
        at
org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
5)
        at
org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
a:135)
        at
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
lter.java:180)
        at
org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
.java:57)
        at
org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
er.java:382)
        at
org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
(NexusJSecurityFilter.java:63)
        at
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
lter.java:180)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
86)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
5)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:637)

Does anyone have an idea of what could be wrong? It looks like it's
trying to cast the CrowdROLELocator to the PlexusUSERLocator.

Cheers,
Craig Cook


justinedelson wrote:
>
> After much delay, the Nexus Crowd plugin has reached it first public
> release. If you've built the plugin from source in the past, please
> read the installation instructions as the configuration model has
> changed dramatically. Configruation is now done through a
> configuration file in the sonatype-work/nexus/conf directory, rather
> than via Plexus. This will make it easier to upgrade in the future as
> well as support a UI-based configuration (vote for NEXUS-1410 if this
is important for you).

>  
> Documentation can be found here:
> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>  
> Thanks to everyone who helped me out over the past few months.
>  
> Justin Edelson
> VP, Applications & Platforms
> MTV Networks Digital
>
>

--
View this message in context:
http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958
279.html
Sent from the Nexus Maven Repository Manager Dev List mailing list
archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: [ANN] Nexus Crowd Plugin Released

by boycook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's great thanks. Is there a plan to put the plugin in a maven repo at
some point?

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Edelson, Justin" <Justin.Edelson@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 13:15:31 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> I've released version 1.2 of the plugin which fixes this problem. The
> wiki page has been updated to reflect this.
>
> Thanks for catching this.
>
> Justin
>
> -----Original Message-----
> From: boycook [mailto:craig.cook@...]
> Sent: Wednesday, February 11, 2009 12:29 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
>
> Hi. I've downloaded and installed plugin as described here:
>
> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>
> I've got it connecting to my version of crowd (I can see the auth
> request/response in the crowd log, plus I've used the test link in the
> documentation) but when nexus loads (using tomcat) I get this error
> below:
>
> java.lang.ClassCastException:
> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be cast
> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
> at
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
> yLocator(DefaultPlexusUserManager.java:113)
> at
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
> efaultPlexusUserManager.java:67)
> at
> org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
> User(AdditinalRolePlexusUserManager.java:26)
> at
> org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
> tionInfo(AbstractXmlAuthorizingRealm.java:73)
> at
> org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
> lm.java:279)
> at
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
> 60)
> at
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
> 56)
> at
> org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
> ty.java:355)
> at
> org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
> va:143)
> at
> org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
> lowed(PermissionsAuthorizationFilter.java:45)
> at
> org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
> at
> org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
> lter.java:145)
> at
> org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
> .java:175)
> at
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
> a:129)
> at
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
> lter.java:180)
> at
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
> .java:57)
> at
> org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
> 5)
> at
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
> a:135)
> at
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
> lter.java:180)
> at
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
> .java:57)
> at
> org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
> er.java:382)
> at
> org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
> (NexusJSecurityFilter.java:63)
> at
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
> lter.java:180)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 86)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
> 5)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:637)
>
> Does anyone have an idea of what could be wrong? It looks like it's
> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>
> Cheers,
> Craig Cook
>
>
> justinedelson wrote:
>>
>> After much delay, the Nexus Crowd plugin has reached it first public
>> release. If you've built the plugin from source in the past, please
>> read the installation instructions as the configuration model has
>> changed dramatically. Configruation is now done through a
>> configuration file in the sonatype-work/nexus/conf directory, rather
>> than via Plexus. This will make it easier to upgrade in the future as
>> well as support a UI-based configuration (vote for NEXUS-1410 if this
> is important for you).
>>  
>> Documentation can be found here:
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>  
>> Thanks to everyone who helped me out over the past few months.
>>  
>> Justin Edelson
>> VP, Applications & Platforms
>> MTV Networks Digital
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958
> 279.html
> Sent from the Nexus Maven Repository Manager Dev List mailing list
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


RE: [ANN] Nexus Crowd Plugin Released

by Brian E Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is:
http://repository.sonatype.org/content/groups/forge/org/sonatype/nexus/p
lugins/nexus-crowd-plugin/

-----Original Message-----
From: Craig Cook [mailto:craig.cook@...]
Sent: Wednesday, February 11, 2009 10:40 PM
To: nexus-dev@...
Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released

That's great thanks. Is there a plan to put the plugin in a maven repo
at
some point?

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Edelson, Justin" <Justin.Edelson@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 13:15:31 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> I've released version 1.2 of the plugin which fixes this problem. The
> wiki page has been updated to reflect this.
>
> Thanks for catching this.
>
> Justin
>
> -----Original Message-----
> From: boycook [mailto:craig.cook@...]
> Sent: Wednesday, February 11, 2009 12:29 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
>
> Hi. I've downloaded and installed plugin as described here:
>
> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>
> I've got it connecting to my version of crowd (I can see the auth
> request/response in the crowd log, plus I've used the test link in the
> documentation) but when nexus loads (using tomcat) I get this error
> below:
>
> java.lang.ClassCastException:
> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be
cast
> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
> at
>
org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
> yLocator(DefaultPlexusUserManager.java:113)
> at
>
org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
> efaultPlexusUserManager.java:67)
> at
>
org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
> User(AdditinalRolePlexusUserManager.java:26)
> at
>
org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
> tionInfo(AbstractXmlAuthorizingRealm.java:73)
> at
>
org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
> lm.java:279)
> at
>
org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
> 60)
> at
>
org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
> 56)
> at
>
org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
> ty.java:355)
> at
>
org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
> va:143)
> at
>
org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
> lowed(PermissionsAuthorizationFilter.java:45)
> at
>
org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
> at
>
org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
> lter.java:145)
> at
>
org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
> .java:175)
> at
>
org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
> a:129)
> at
>
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
> lter.java:180)
> at
>
org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
> .java:57)
> at
>
org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
> 5)
> at
>
org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
> a:135)
> at
>
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
> lter.java:180)
> at
>
org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
> .java:57)
> at
>
org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
> er.java:382)
> at
>
org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
> (NexusJSecurityFilter.java:63)
> at
>
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
> lter.java:180)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:235)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:233)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :128)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :102)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109)
> at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 86)
> at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
> 5)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:583)
> at
>
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

> at java.lang.Thread.run(Thread.java:637)
>
> Does anyone have an idea of what could be wrong? It looks like it's
> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>
> Cheers,
> Craig Cook
>
>
> justinedelson wrote:
>>
>> After much delay, the Nexus Crowd plugin has reached it first public
>> release. If you've built the plugin from source in the past, please
>> read the installation instructions as the configuration model has
>> changed dramatically. Configruation is now done through a
>> configuration file in the sonatype-work/nexus/conf directory, rather
>> than via Plexus. This will make it easier to upgrade in the future as
>> well as support a UI-based configuration (vote for NEXUS-1410 if this
> is important for you).
>>  
>> Documentation can be found here:
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>  
>> Thanks to everyone who helped me out over the past few months.
>>  
>> Justin Edelson
>> VP, Applications & Platforms
>> MTV Networks Digital
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958

> 279.html
> Sent from the Nexus Maven Repository Manager Dev List mailing list
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: [ANN] Nexus Crowd Plugin Released

by boycook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's great, makes building the project much easier now.

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Brian E. Fox" <brianf@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 22:43:36 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> It is:
> http://repository.sonatype.org/content/groups/forge/org/sonatype/nexus/p
> lugins/nexus-crowd-plugin/
>
> -----Original Message-----
> From: Craig Cook [mailto:craig.cook@...]
> Sent: Wednesday, February 11, 2009 10:40 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> That's great thanks. Is there a plan to put the plugin in a maven repo
> at
> some point?
>
> Cheers,
>
> Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
> (0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
> craig.cook@... | Web: craigcook.co.uk boycook.com
>
>
>> From: "Edelson, Justin" <Justin.Edelson@...>
>> Reply-To: <nexus-dev@...>
>> Date: Wed, 11 Feb 2009 13:15:31 -0500
>> To: <nexus-dev@...>
>> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>> I've released version 1.2 of the plugin which fixes this problem. The
>> wiki page has been updated to reflect this.
>>
>> Thanks for catching this.
>>
>> Justin
>>
>> -----Original Message-----
>> From: boycook [mailto:craig.cook@...]
>> Sent: Wednesday, February 11, 2009 12:29 PM
>> To: nexus-dev@...
>> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>>
>> Hi. I've downloaded and installed plugin as described here:
>>
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>>
>> I've got it connecting to my version of crowd (I can see the auth
>> request/response in the crowd log, plus I've used the test link in the
>> documentation) but when nexus loads (using tomcat) I get this error
>> below:
>>
>> java.lang.ClassCastException:
>> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be
> cast
>> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
>> yLocator(DefaultPlexusUserManager.java:113)
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
>> efaultPlexusUserManager.java:67)
>> at
>>
> org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
>> User(AdditinalRolePlexusUserManager.java:26)
>> at
>>
> org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
>> tionInfo(AbstractXmlAuthorizingRealm.java:73)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
>> lm.java:279)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 60)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 56)
>> at
>>
> org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
>> ty.java:355)
>> at
>>
> org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
>> va:143)
>> at
>>
> org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
>> lowed(PermissionsAuthorizationFilter.java:45)
>> at
>>
> org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
>> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
>> at
>>
> org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
>> lter.java:145)
>> at
>>
> org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
>> .java:175)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:129)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
>> 5)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:135)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
>> er.java:382)
>> at
>>
> org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
>> (NexusJSecurityFilter.java:63)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>> tionFilterChain.java:235)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> erChain.java:206)
>> at
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>> e.java:233)
>> at
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>> e.java:191)
>> at
>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>> :128)
>> at
>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>> :102)
>> at
>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java:109)
>> at
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 86)
>> at
>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>> 5)
>> at
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
>> Http11Protocol.java:583)
>> at
>>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>> at java.lang.Thread.run(Thread.java:637)
>>
>> Does anyone have an idea of what could be wrong? It looks like it's
>> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>>
>> Cheers,
>> Craig Cook
>>
>>
>> justinedelson wrote:
>>>
>>> After much delay, the Nexus Crowd plugin has reached it first public
>>> release. If you've built the plugin from source in the past, please
>>> read the installation instructions as the configuration model has
>>> changed dramatically. Configruation is now done through a
>>> configuration file in the sonatype-work/nexus/conf directory, rather
>>> than via Plexus. This will make it easier to upgrade in the future as
>>> well as support a UI-based configuration (vote for NEXUS-1410 if this
>> is important for you).
>>>  
>>> Documentation can be found here:
>>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>>  
>>> Thanks to everyone who helped me out over the past few months.
>>>  
>>> Justin Edelson
>>> VP, Applications & Platforms
>>> MTV Networks Digital
>>>
>>>
>>
>> --
>> View this message in context:
>>
> http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958
>> 279.html
>> Sent from the Nexus Maven Repository Manager Dev List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


RE: [ANN] Nexus Crowd Plugin Released

by Brian E Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://repository.sonatype.org/content/groups/forge/

always has everything needed to build anything we host.


-----Original Message-----
From: Craig Cook [mailto:craig.cook@...]
Sent: Wednesday, February 11, 2009 10:55 PM
To: nexus-dev@...
Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released

That's great, makes building the project much easier now.

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Brian E. Fox" <brianf@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 22:43:36 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> It is:
> /sonatype/nexus/p
> lugins/nexus-crowd-plugin/
>
> -----Original Message-----
> From: Craig Cook [mailto:craig.cook@...]
> Sent: Wednesday, February 11, 2009 10:40 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> That's great thanks. Is there a plan to put the plugin in a maven repo
> at
> some point?
>
> Cheers,
>
> Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
> (0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
> craig.cook@... | Web: craigcook.co.uk boycook.com
>
>
>> From: "Edelson, Justin" <Justin.Edelson@...>
>> Reply-To: <nexus-dev@...>
>> Date: Wed, 11 Feb 2009 13:15:31 -0500
>> To: <nexus-dev@...>
>> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>> I've released version 1.2 of the plugin which fixes this problem. The
>> wiki page has been updated to reflect this.
>>
>> Thanks for catching this.
>>
>> Justin
>>
>> -----Original Message-----
>> From: boycook [mailto:craig.cook@...]
>> Sent: Wednesday, February 11, 2009 12:29 PM
>> To: nexus-dev@...
>> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>>
>> Hi. I've downloaded and installed plugin as described here:
>>
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>>
>> I've got it connecting to my version of crowd (I can see the auth
>> request/response in the crowd log, plus I've used the test link in
the

>> documentation) but when nexus loads (using tomcat) I get this error
>> below:
>>
>> java.lang.ClassCastException:
>> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be
> cast
>> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
>> at
>>
>
org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
>> yLocator(DefaultPlexusUserManager.java:113)
>> at
>>
>
org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
>> efaultPlexusUserManager.java:67)
>> at
>>
>
org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
>> User(AdditinalRolePlexusUserManager.java:26)
>> at
>>
>
org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
>> tionInfo(AbstractXmlAuthorizingRealm.java:73)
>> at
>>
>
org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
>> lm.java:279)
>> at
>>
>
org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 60)
>> at
>>
>
org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 56)
>> at
>>
>
org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
>> ty.java:355)
>> at
>>
>
org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
>> va:143)
>> at
>>
>
org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
>> lowed(PermissionsAuthorizationFilter.java:45)
>> at
>>
>
org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
>> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
>> at
>>
>
org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
>> lter.java:145)
>> at
>>
>
org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
>> .java:175)
>> at
>>
>
org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:129)
>> at
>>
>
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
>
org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
>
org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
>> 5)
>> at
>>
>
org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:135)
>> at
>>
>
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
>
org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
>
org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
>> er.java:382)
>> at
>>
>
org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
>> (NexusJSecurityFilter.java:63)
>> at
>>
>
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>> tionFilterChain.java:235)
>> at
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> erChain.java:206)
>> at
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>> e.java:233)
>> at
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>> e.java:191)
>> at
>>
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>> :128)
>> at
>>
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>> :102)
>> at
>>
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java:109)
>> at
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 86)
>> at
>>
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>> 5)
>> at
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
>> Http11Protocol.java:583)
>> at
>>
>
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

>> at java.lang.Thread.run(Thread.java:637)
>>
>> Does anyone have an idea of what could be wrong? It looks like it's
>> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>>
>> Cheers,
>> Craig Cook
>>
>>
>> justinedelson wrote:
>>>
>>> After much delay, the Nexus Crowd plugin has reached it first public
>>> release. If you've built the plugin from source in the past, please
>>> read the installation instructions as the configuration model has
>>> changed dramatically. Configruation is now done through a
>>> configuration file in the sonatype-work/nexus/conf directory, rather
>>> than via Plexus. This will make it easier to upgrade in the future
as
>>> well as support a UI-based configuration (vote for NEXUS-1410 if
this

>> is important for you).
>>>  
>>> Documentation can be found here:
>>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>>  
>>> Thanks to everyone who helped me out over the past few months.
>>>  
>>> Justin Edelson
>>> VP, Applications & Platforms
>>> MTV Networks Digital
>>>
>>>
>>
>> --
>> View this message in context:
>>
>
http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958

>> 279.html
>> Sent from the Nexus Maven Repository Manager Dev List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: [ANN] Nexus Crowd Plugin Released

by boycook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm using the plugin artifact as mentioned below, but none of it's
dependencies seem to be included in my project with it. It looks like the
POM hasn't been published. Is there a plan to do this?

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Brian E. Fox" <brianf@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 22:43:36 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> It is:
> http://repository.sonatype.org/content/groups/forge/org/sonatype/nexus/p
> lugins/nexus-crowd-plugin/
>
> -----Original Message-----
> From: Craig Cook [mailto:craig.cook@...]
> Sent: Wednesday, February 11, 2009 10:40 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> That's great thanks. Is there a plan to put the plugin in a maven repo
> at
> some point?
>
> Cheers,
>
> Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
> (0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
> craig.cook@... | Web: craigcook.co.uk boycook.com
>
>
>> From: "Edelson, Justin" <Justin.Edelson@...>
>> Reply-To: <nexus-dev@...>
>> Date: Wed, 11 Feb 2009 13:15:31 -0500
>> To: <nexus-dev@...>
>> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>> I've released version 1.2 of the plugin which fixes this problem. The
>> wiki page has been updated to reflect this.
>>
>> Thanks for catching this.
>>
>> Justin
>>
>> -----Original Message-----
>> From: boycook [mailto:craig.cook@...]
>> Sent: Wednesday, February 11, 2009 12:29 PM
>> To: nexus-dev@...
>> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>>
>> Hi. I've downloaded and installed plugin as described here:
>>
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>>
>> I've got it connecting to my version of crowd (I can see the auth
>> request/response in the crowd log, plus I've used the test link in the
>> documentation) but when nexus loads (using tomcat) I get this error
>> below:
>>
>> java.lang.ClassCastException:
>> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be
> cast
>> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
>> yLocator(DefaultPlexusUserManager.java:113)
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
>> efaultPlexusUserManager.java:67)
>> at
>>
> org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
>> User(AdditinalRolePlexusUserManager.java:26)
>> at
>>
> org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
>> tionInfo(AbstractXmlAuthorizingRealm.java:73)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
>> lm.java:279)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 60)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 56)
>> at
>>
> org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
>> ty.java:355)
>> at
>>
> org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
>> va:143)
>> at
>>
> org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
>> lowed(PermissionsAuthorizationFilter.java:45)
>> at
>>
> org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
>> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
>> at
>>
> org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
>> lter.java:145)
>> at
>>
> org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
>> .java:175)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:129)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
>> 5)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:135)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
>> er.java:382)
>> at
>>
> org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
>> (NexusJSecurityFilter.java:63)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>> tionFilterChain.java:235)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> erChain.java:206)
>> at
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>> e.java:233)
>> at
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>> e.java:191)
>> at
>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>> :128)
>> at
>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>> :102)
>> at
>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java:109)
>> at
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 86)
>> at
>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>> 5)
>> at
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
>> Http11Protocol.java:583)
>> at
>>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>> at java.lang.Thread.run(Thread.java:637)
>>
>> Does anyone have an idea of what could be wrong? It looks like it's
>> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>>
>> Cheers,
>> Craig Cook
>>
>>
>> justinedelson wrote:
>>>
>>> After much delay, the Nexus Crowd plugin has reached it first public
>>> release. If you've built the plugin from source in the past, please
>>> read the installation instructions as the configuration model has
>>> changed dramatically. Configruation is now done through a
>>> configuration file in the sonatype-work/nexus/conf directory, rather
>>> than via Plexus. This will make it easier to upgrade in the future as
>>> well as support a UI-based configuration (vote for NEXUS-1410 if this
>> is important for you).
>>>  
>>> Documentation can be found here:
>>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>>  
>>> Thanks to everyone who helped me out over the past few months.
>>>  
>>> Justin Edelson
>>> VP, Applications & Platforms
>>> MTV Networks Digital
>>>
>>>
>>
>> --
>> View this message in context:
>>
> http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958
>> 279.html
>> Sent from the Nexus Maven Repository Manager Dev List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


RE: [ANN] Nexus Crowd Plugin Released

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
 
All of its dependencies are available via r.s.o or, if you have your own nexus...
crowd-integration-client -> https://maven.atlassian.com/public/
 
Everything else is in central...
 
Justin
 


From: Craig Cook [mailto:craig.cook@...]
Sent: Fri 2/13/2009 6:36 AM
To: nexus-dev@...
Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released

Hi,
I'm using the plugin artifact as mentioned below, but none of it's
dependencies seem to be included in my project with it. It looks like the
POM hasn't been published. Is there a plan to do this?

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Brian E. Fox" <brianf@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 22:43:36 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> It is:
> http://repository.sonatype.org/content/groups/forge/org/sonatype/nexus/p
> lugins/nexus-crowd-plugin/
>
> -----Original Message-----
> From: Craig Cook [craig.cook@...]
> Sent: Wednesday, February 11, 2009 10:40 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> That's great thanks. Is there a plan to put the plugin in a maven repo
> at
> some point?
>
> Cheers,
>
> Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
> (0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
> craig.cook@... | Web: craigcook.co.uk boycook.com
>
>
>> From: "Edelson, Justin" <Justin.Edelson@...>
>> Reply-To: <nexus-dev@...>
>> Date: Wed, 11 Feb 2009 13:15:31 -0500
>> To: <nexus-dev@...>
>> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>> I've released version 1.2 of the plugin which fixes this problem. The
>> wiki page has been updated to reflect this.
>>
>> Thanks for catching this.
>>
>> Justin
>>
>> -----Original Message-----
>> From: boycook [craig.cook@...]
>> Sent: Wednesday, February 11, 2009 12:29 PM
>> To: nexus-dev@...
>> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>>
>> Hi. I've downloaded and installed plugin as described here:
>>
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>>
>> I've got it connecting to my version of crowd (I can see the auth
>> request/response in the crowd log, plus I've used the test link in the
>> documentation) but when nexus loads (using tomcat) I get this error
>> below:
>>
>> java.lang.ClassCastException:
>> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be
> cast
>> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
>> yLocator(DefaultPlexusUserManager.java:113)
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
>> efaultPlexusUserManager.java:67)
>> at
>>
> org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
>> User(AdditinalRolePlexusUserManager.java:26)
>> at
>>
> org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
>> tionInfo(AbstractXmlAuthorizingRealm.java:73)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
>> lm.java:279)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 60)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 56)
>> at
>>
> org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
>> ty.java:355)
>> at
>>
> org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
>> va:143)
>> at
>>
> org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
>> lowed(PermissionsAuthorizationFilter.java:45)
>> at
>>
> org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
>> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
>> at
>>
> org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
>> lter.java:145)
>> at
>>
> org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
>> .java:175)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:129)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
>> 5)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:135)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
>> er.java:382)
>> at
>>
> org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
>> (NexusJSecurityFilter.java:63)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>> tionFilterChain.java:235)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> erChain.java:206)
>> at
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>> e.java:233)
>> at
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>> e.java:191)
>> at
>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>> :128)
>> at
>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>> :102)
>> at
>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java:109)
>> at
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 86)
>> at
>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>> 5)
>> at
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
>> Http11Protocol.java:583)
>> at
>>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>> at java.lang.Thread.run(Thread.java:637)
>>
>> Does anyone have an idea of what could be wrong? It looks like it's
>> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>>
>> Cheers,
>> Craig Cook
>>
>>
>> justinedelson wrote:
>>>
>>> After much delay, the Nexus Crowd plugin has reached it first public
>>> release. If you've built the plugin from source in the past, please
>>> read the installation instructions as the configuration model has
>>> changed dramatically. Configruation is now done through a
>>> configuration file in the sonatype-work/nexus/conf directory, rather
>>> than via Plexus. This will make it easier to upgrade in the future as
>>> well as support a UI-based configuration (vote for NEXUS-1410 if this
>> is important for you).
>>> 
>>> Documentation can be found here:
>>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>> 
>>> Thanks to everyone who helped me out over the past few months.
>>> 
>>> Justin Edelson
>>> VP, Applications & Platforms
>>> MTV Networks Digital
>>>
>>>
>>
>> --
>> View this message in context:
>>
> http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958
>> 279.html
>> Sent from the Nexus Maven Repository Manager Dev List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: [ANN] Nexus Crowd Plugin Released

by boycook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released Yes sorry it seems to be an issue with my nexus. For some reason it’s not pulling the POM through (and therefore not getting the dependencies).

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44 (0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com



From: "Edelson, Justin" <Justin.Edelson@...>
Reply-To: <nexus-dev@...>
Date: Fri, 13 Feb 2009 07:13:14 -0500
To: <nexus-dev@...>
Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released

Could you be more specific? The pom is right here: http://repository.sonatype.org/content/groups/forge/org/sonatype/nexus/plugins/nexus-crowd-plugin/1.2/nexus-crowd-plugin-1.2.pom

All of its dependencies are available via r.s.o or, if you have your own nexus...
nexus-rest-api ->
http://repository.sonatype.org/content/groups/forge/ <http://repository.sonatype.org/content/groups/forge/>
crowd-integration-client -> https://maven.atlassian.com/public/
test-support - http://download.java.net/maven/2/

Everything else is in central...

Justin



From: Craig Cook [craig.cook@...
Sent: Fri 2/13/2009 6:36 AM
To: nexus-dev@...
Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released

Hi,
I'm using the plugin artifact as mentioned below, but none of it's
dependencies seem to be included in my project with it. It looks like the
POM hasn't been published. Is there a plan to do this?

Cheers,

Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
(0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
craig.cook@... | Web: craigcook.co.uk boycook.com


> From: "Brian E. Fox" <brianf@...>
> Reply-To: <nexus-dev@...>
> Date: Wed, 11 Feb 2009 22:43:36 -0500
> To: <nexus-dev@...>
> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> It is:
> http://repository.sonatype.org/content/groups/forge/org/sonatype/nexus/p
> lugins/nexus-crowd-plugin/
>
> -----Original Message-----
> From: Craig Cook [craig.cook@...
> Sent: Wednesday, February 11, 2009 10:40 PM
> To: nexus-dev@...
> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>
> That's great thanks. Is there a plan to put the plugin in a maven repo
> at
> some point?
>
> Cheers,
>
> Craig Cook | Business Technology Consultant | BT Design:DSO | Tel: +44
> (0)2078 095 948 | Ext: 6505948 | Mob: +44 (0)7918 880 501 | E-mail
> craig.cook@... | Web: craigcook.co.uk boycook.com
>
>
>> From: "Edelson, Justin" <Justin.Edelson@...>
>> Reply-To: <nexus-dev@...>
>> Date: Wed, 11 Feb 2009 13:15:31 -0500
>> To: <nexus-dev@...>
>> Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>> I've released version 1.2 of the plugin which fixes this problem. The
>> wiki page has been updated to reflect this.
>>
>> Thanks for catching this.
>>
>> Justin
>>
>> -----Original Message-----
>> From: boycook [craig.cook@...
>> Sent: Wednesday, February 11, 2009 12:29 PM
>> To: nexus-dev@...
>> Subject: Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released
>>
>>
>> Hi. I've downloaded and installed plugin as described here:
>>
>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin
>>
>> I've got it connecting to my version of crowd (I can see the auth
>> request/response in the crowd log, plus I've used the test link in the
>> documentation) but when nexus loads (using tomcat) I get this error
>> below:
>>
>> java.lang.ClassCastException:
>> org.sonatype.nexus.plugins.crowd.client.CrowdRoleLocator cannot be
> cast
>> to org.sonatype.jsecurity.locators.users.PlexusUserLocator
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getPrimar
>> yLocator(DefaultPlexusUserManager.java:113)
>> at
>>
> org.sonatype.jsecurity.locators.users.DefaultPlexusUserManager.getUser(D
>> efaultPlexusUserManager.java:67)
>> at
>>
> org.sonatype.jsecurity.locators.users.AdditinalRolePlexusUserManager.get
>> User(AdditinalRolePlexusUserManager.java:26)
>> at
>>
> org.sonatype.jsecurity.realms.AbstractXmlAuthorizingRealm.doGetAuthoriza
>> tionInfo(AbstractXmlAuthorizingRealm.java:73)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.getAuthorizationInfo(AuthorizingRea
>> lm.java:279)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 60)
>> at
>>
> org.jsecurity.realm.AuthorizingRealm.isPermitted(AuthorizingRealm.java:3
>> 56)
>> at
>>
> org.sonatype.jsecurity.web.WebPlexusSecurity.isPermitted(WebPlexusSecuri
>> ty.java:355)
>> at
>>
> org.jsecurity.subject.DelegatingSubject.isPermitted(DelegatingSubject.ja
>> va:143)
>> at
>>
> org.jsecurity.web.filter.authz.PermissionsAuthorizationFilter.isAccessAl
>> lowed(PermissionsAuthorizationFilter.java:45)
>> at
>>
> org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFil
>> ter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:106)
>> at
>>
> org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFi
>> lter.java:145)
>> at
>>
> org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter
>> .java:175)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:129)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:10
>> 5)
>> at
>>
> org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.jav
>> a:135)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper
>> .java:57)
>> at
>>
> org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilt
>> er.java:382)
>> at
>>
> org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal
>> (NexusJSecurityFilter.java:63)
>> at
>>
> org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFi
>> lter.java:180)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>> tionFilterChain.java:235)
>> at
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> erChain.java:206)
>> at
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>> e.java:233)
>> at
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>> e.java:191)
>> at
>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>> :128)
>> at
>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>> :102)
>> at
>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java:109)
>> at
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 86)
>> at
>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>> 5)
>> at
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
>> Http11Protocol.java:583)
>> at
>>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>> at java.lang.Thread.run(Thread.java:637)
>>
>> Does anyone have an idea of what could be wrong? It looks like it's
>> trying to cast the CrowdROLELocator to the PlexusUSERLocator.
>>
>> Cheers,
>> Craig Cook
>>
>>
>> justinedelson wrote:
>>>
>>> After much delay, the Nexus Crowd plugin has reached it first public
>>> release. If you've built the plugin from source in the past, please
>>> read the installation instructions as the configuration model has
>>> changed dramatically. Configruation is now done through a
>>> configuration file in the sonatype-work/nexus/conf directory, rather
>>> than via Plexus. This will make it easier to upgrade in the future as
>>> well as support a UI-based configuration (vote for NEXUS-1410 if this
>> is important for you).
>>>
>>> Documentation can be found here:
>>> https://docs.sonatype.org/display/Nexus/Nexus+Crowd+Plugin.
>>>
>>> Thanks to everyone who helped me out over the past few months.
>>>
>>> Justin Edelson
>>> VP, Applications & Platforms
>>> MTV Networks Digital
>>>
>>>
>>
>> --
>> View this message in context:
>>
> http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p21958
>> 279.html
>> Sent from the Nexus Maven Repository Manager Dev List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



js development tools

by dtanner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released

I’m writing a plug-in for Nexus and I’m starting work on developing new js for Nexus.  Basically what I have to do is to change the behavior of the “Log In” button.  I was wondering if you have any recommendations as to some sort of tool that would be useful when developing js?  What does your development team use?

 

Thanks.

 

David Tanner

Information Services and Technology

W92-144

dtanner@...

617-253-0110


RE: js development tools

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Re: [nexus-dev] [ANN] Nexus Crowd Plugin Released

We mostly use firebug for debugging, etc and Eclipse for editing.

 

 

From: dtanner [mailto:dtanner@...]
Sent: Friday, February 13, 2009 8:09 AM
To: nexus-dev@...
Subject: [nexus-dev] js development tools

 

I’m writing a plug-in for Nexus and I’m starting work on developing new js for Nexus.  Basically what I have to do is to change the behavior of the “Log In” button.  I was wondering if you have any recommendations as to some sort of tool that would be useful when developing js?  What does your development team use?

 

Thanks.

 

David Tanner

Information Services and Technology

W92-144

dtanner@...

617-253-0110


RE: [ANN] Nexus Crowd Plugin Released

by rkrzewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello there

I've installed version 1.2 of the plugin yesterday. The documentation is a bit lacking and I had some trouble to get it to work, but I succeeded nonetheless. I thought I should share my experience to help other early adopters and/or provide documentation item ideas.

1. I'm running nexus-webapp-1.2.1.war. unpacking the plugin into nexus-work (so that the jars would end up in sonatype-work/nexus/runtime/apps/nexus/lib) did not work. The plugin got activated only after I stuffed the jar files into /WEB-INF/lib/. I recall that Nexus-1.3 will support deploying plugins through the www interface, so I expect it will be addressed by then.

2. I've configured sonatype-work/nexus/conf/crowd-plugin.xml, validated that http://.../nexus/service/local/crowd/test replies "OK" and enabled Crowd securiy realm. Great, I can see users from Crowd (in the Users view, there's a realm selector next to "Delete" button. Took me a while to notice). I was also able to grant roles from Crowd side: I created some roles in Crowd named exactly like the roles in Nexus (not prefixed with "nexus-" like in pre 1.1 plugin), assigned them to users, then used "Refresh" in Crowd and voila! I was albe to see the newly granted role in Nexus' user roles panel, distinguished from Nexus-assigned role by grayed out font. So far so good.

3. Then I have removed all security realms except Crowd using the UI. Bad idea. I got logged out and was unable to log back in. I had to restore NexusMethodAuthorizingRealm and NexusTargetAuthorizingRealm by hand into sonatype-work/nexus/conf/nexus.xml and restart before I was able to log in as the user granted "admin" role through Crowd

4. Then I moved to configuring "anonymous" and "deployment" roles. My first idea was to set up these users in the Crowd directory. I tried that but I had problems authenticating. It turned out that the problem was the users declared in Nexus security.xml are always visible to Crowd (even if XmlAuthenticatingRealm is not active - however I'm not positive about this one, I may have not restarted Nexus after removing this realm using UI) and this somehow interferes with getting authentication info for them from Crowd. I solved this by commenting out admin and deployment users from security.xml and removing anonymous user from Crowd. I've decided to keep anonymous user out of the directory, since it's relevant to only Nexus, not the other applications I'm using with Crowd.
At this point I was able to: log in as administrator using my own Crowd credentials, browser repositories anonymously, and deploy to Nexus repository using Maven1 using deployment user credentials from Crowd.

5. As a further note: I think that prefix based role mapping feature present in the earlier release of the plugin was actually a good thing. Some administrators may be hesitant to create 'admin' role in their Crowd directory and assign it to users who should be able to administer Nexus. Using nexus-admin would be more appropriate. In case of Crowd directory layered on top of LDAP directory, this issue could be circumvented by creating a separate nexus-roles container in LDAP, assigning nexus roles in there and assigning Nexus to a separate directory in Crowd using modified mapping expressions. This method cannot be used with Crowd's internal directory though.

Thanks again for sharing the plugin!

RE: [ANN] Nexus Crowd Plugin Released

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just a thought on the last comment right now: We intended that you would
name nexus roles to match those in the external realm (ie ldap or crowd) not
the other way around.

-----Original Message-----
From: rkrzewski [mailto:rafal@...]
Sent: Sunday, February 15, 2009 9:30 AM
To: nexus-dev@...
Subject: RE: [nexus-dev] [ANN] Nexus Crowd Plugin Released


Hello there

I've installed version 1.2 of the plugin yesterday. The documentation is a
bit lacking and I had some trouble to get it to work, but I succeeded
nonetheless. I thought I should share my experience to help other early
adopters and/or provide documentation item ideas.

1. I'm running nexus-webapp-1.2.1.war. unpacking the plugin into nexus-work
(so that the jars would end up in
sonatype-work/nexus/runtime/apps/nexus/lib) did not work. The plugin got
activated only after I stuffed the jar files into /WEB-INF/lib/. I recall
that Nexus-1.3 will support deploying plugins through the www interface, so
I expect it will be addressed by then.

2. I've configured sonatype-work/nexus/conf/crowd-plugin.xml, validated that
http://.../nexus/service/local/crowd/test replies "OK" and enabled Crowd
securiy realm. Great, I can see users from Crowd (in the Users view, there's
a realm selector next to "Delete" button. Took me a while to notice). I was
also able to grant roles from Crowd side: I created some roles in Crowd
named exactly like the roles in Nexus (not prefixed with "nexus-" like in
pre 1.1 plugin), assigned them to users, then used "Refresh" in Crowd and
voila! I was albe to see the newly granted role in Nexus' user roles panel,
distinguished from Nexus-assigned role by grayed out font. So far so good.

3. Then I have removed all security realms except Crowd using the UI. Bad
idea. I got logged out and was unable to log back in. I had to restore
NexusMethodAuthorizingRealm and NexusTargetAuthorizingRealm by hand into
sonatype-work/nexus/conf/nexus.xml and restart before I was able to log in
as the user granted "admin" role through Crowd

4. Then I moved to configuring "anonymous" and "deployment" roles. My first
idea was to set up these users in the Crowd directory. I tried that but I
had problems authenticating. It turned out that the problem was the users
declared in Nexus security.xml are always visible to Crowd (even if
XmlAuthenticatingRealm is not active - however I'm not positive about this
one, I may have not restarted Nexus after removing this realm using UI) and
this somehow interferes with getting authentication info for them from
Crowd. I solved this by commenting out admin and deployment users from
security.xml and removing anonymous user from Crowd. I've decided to keep
anonymous user out of the directory, since it's relevant to only Nexus, not
the other applications I'm using with Crowd.
At this point I was able to: log in as administrator using my own Crowd
credentials, browser repositories anonymously, and deploy to Nexus
repository using Maven1 using deployment user credentials from Crowd.

5. As a further note: I think that prefix based role mapping feature present
in the earlier release of the plugin was actually a good thing. Some
administrators may be hesitant to create 'admin' role in their Crowd
directory and assign it to users who should be able to administer Nexus.
Using nexus-admin would be more appropriate. In case of Crowd directory
layered on top of LDAP directory, this issue could be circumvented by
creating a separate nexus-roles container in LDAP, assigning nexus roles in
there and assigning Nexus to a separate directory in Crowd using modified
mapping expressions. This method cannot be used with Crowd's internal
directory though.

Thanks again for sharing the plugin!
--
View this message in context:
http://www.nabble.com/-ANN--Nexus-Crowd-Plugin-Released-tp21783770p22023226.
html
Sent from the Nexus Maven Repository Manager Dev List mailing list archive
at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


including a js in index.html

by dtanner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm writing a plug-in and I need to include a js in index.html (index.vm).
I noticed that there is a mechanism to allow this to happen
($pluginPostHeadContribution or $pluginPreHeadContributions).  However, I
cannot find and examples or documentation that shows how this is implemented
via a plug-in.

Can anyone give me some guidance on how to do this?

Thanks

David Tanner
Massachusetts Institute of Technology
Information Services and Technology
W92-144
dtanner@...
617-253-0110
 


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


RE: [ANN] Nexus Crowd Plugin Released

by rkrzewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Following what you said, I've created "nexus-admin" role in Nexus and mapped builting "admin" role to it. Then I've added "nexus-admin" role in Crowd, granted it to myself replacing "admin" role. I've logged out from Nexus, then logged back in successfully. Sweet.

Brian Fox wrote:
Just a thought on the last comment right now: We intended that you would
name nexus roles to match those in the external realm (ie ldap or crowd) not
the other way around.

-----Original Message-----
From: rkrzewski [mailto:rafal@caltha.pl]
...
5. As a further note: I think that prefix based role mapping feature present
in the earlier release of the plugin was actually a good thing. Some
administrators may be hesitant to create 'admin' role in their Crowd
directory and assign it to users who should be able to administer Nexus.
Using nexus-admin would be more appropriate. In case of Crowd directory
layered on top of LDAP directory, this issue could be circumvented by
creating a separate nexus-roles container in LDAP, assigning nexus roles in
there and assigning Nexus to a separate directory in Crowd using modified
mapping expressions. This method cannot be used with Crowd's internal
directory though.

Re: including a js in index.html

by Max Powers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David, please see the plugin wiki page
 
 
Hope that helps out
 
Max

On Sun, Feb 15, 2009 at 10:07 AM, dtanner <dtanner@...> wrote:
I'm writing a plug-in and I need to include a js in index.html (index.vm).
I noticed that there is a mechanism to allow this to happen
($pluginPostHeadContribution or $pluginPreHeadContributions).  However, I
cannot find and examples or documentation that shows how this is implemented
via a plug-in.

Can anyone give me some guidance on how to do this?

Thanks

David Tanner
Massachusetts Institute of Technology
Information Services and Technology
W92-144
dtanner@...
617-253-0110



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



Re: including a js in index.html

by Max Powers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In addition to that, this page shows how to add menu items to the left navigation
 
 
Max

On Sun, Feb 15, 2009 at 10:38 AM, Max Powers <mpowers@...> wrote:
Hi David, please see the plugin wiki page
 
 
Hope that helps out
 
Max

On Sun, Feb 15, 2009 at 10:07 AM, dtanner <dtanner@...> wrote:
I'm writing a plug-in and I need to include a js in index.html (index.vm).
I noticed that there is a mechanism to allow this to happen
($pluginPostHeadContribution or $pluginPreHeadContributions).  However, I
cannot find and examples or documentation that shows how this is implemented
via a plug-in.

Can anyone give me some guidance on how to do this?

Thanks

David Tanner
Massachusetts Institute of Technology
Information Services and Technology
W92-144
dtanner@...
617-253-0110



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...




RE: including a js in index.html

by dtanner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Thanks for the links, I have the js working.  That was easy.

 

I have one more question.  I would like to modify the behavior of the “Log In” button on the “server tab”.  Ideally what I would like to do is to over-ride the “loginHandler” function in the repoServer.RepoServer.js and replace “loginHandler” with my custom handler.  Is this possible to do?

 

If this is not possible, what are possible alternatives?

 

Thanks,

 

 

David Tanner

Massachusetts Institute of Technology

Information Services and Technology

W92-144

dtanner@...

617-253-0110

 


From: Max Powers [mailto:mpowers@...]
Sent: Sunday, February 15, 2009 10:40 AM
To: nexus-dev@...
Subject: Re: [nexus-dev] including a js in index.html

 

In addition to that, this page shows how to add menu items to the left navigation

 

 

Max

On Sun, Feb 15, 2009 at 10:38 AM, Max Powers <mpowers@...> wrote:

Hi David, please see the plugin wiki page

 

 

Hope that helps out

 

Max

On Sun, Feb 15, 2009 at 10:07 AM, dtanner <dtanner@...> wrote:

I'm writing a plug-in and I need to include a js in index.html (index.vm).
I noticed that there is a mechanism to allow this to happen
($pluginPostHeadContribution or $pluginPreHeadContributions).  However, I
cannot find and examples or documentation that shows how this is implemented
via a plug-in.

Can anyone give me some guidance on how to do this?

Thanks

David Tanner
Massachusetts Institute of Technology
Information Services and Technology
W92-144
dtanner@...
617-253-0110



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

 

 

< Prev | 1 - 2 | Next >