[ 
http://jira.codehaus.org/browse/MRM-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146573#action_146573
 ] 

Maria Odea Ching commented on MRM-915:
--------------------------------------

I can't seem to replicate the NPE, but I'm getting a blank browse page even if 
I have assigned the 'guest' user the Global Repository Observer role. I get the 
same blank page in browse even if I'm logged in as admin. I can perform a 
search though except when I click on a search result, I get an 'Unable to find 
project model for [org.apache.maven.plugins:maven-clean-plugin:2.2]' error but 
not NPE.

I have the following configuration in my security.properties:

user.manager.impl=ldap
ldap.user.store.enabled=true
ldap.bind.authenticator.enabled=true
redback.default.admin=admin
redback.default.guest=guest

security.policy.password.expiration.enabled=false
ldap.config.hostname=localhost
ldap.config.port=10389
ldap.config.base.dn=dc=redback,dc=plexus,dc=codehaus,dc=org
ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory
ldap.config.bind.dn=uid=admin,ou=system
ldap.config.password=XXXXX

Do we have the same configuration? Btw, I'm using ApacheDS and running on Linux 
7.04. 

> NPE with rss links
> ------------------
>
>                 Key: MRM-915
>                 URL: http://jira.codehaus.org/browse/MRM-915
>             Project: Archiva
>          Issue Type: Bug
>          Components: Users/Security, web application
>    Affects Versions: 1.1.1
>            Reporter: Emmanuel Venisse
>            Assignee: Maria Odea Ching
>             Fix For: 1.1.2
>
>
> With LDAP, I get the following exception when I use the rss icon on the 
> browse page:
> {noformat}
> java.lang.NullPointerException
>       
> org.apache.maven.archiva.security.DefaultUserRepositories.getObservableRepositoryIds(DefaultUserRepositories.java:76)
>       
> org.apache.maven.archiva.web.rss.RssFeedServlet.getObservableRepos(RssFeedServlet.java:305)
>       
> org.apache.maven.archiva.web.rss.RssFeedServlet.isAllowed(RssFeedServlet.java:267)
>       
> org.apache.maven.archiva.web.rss.RssFeedServlet.doGet(RssFeedServlet.java:124)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
>       
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>       
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>       
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> {noformat}
> My guest user have the global repository observer role but the login isn't 
> 'guest' so securitySystem.getUserManager().findUser( principal ) return null
> Rss works fine if I use the repoId parameter on RssFessServlet instead of 
> groupId/artifactId.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to