archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Véret" <antoine.ve...@gmail.com>
Subject Re: authorization denied
Date Thu, 01 Feb 2007 09:53:38 GMT
Hello, in the default configuration, i dont succeed to browse the repo, i
receive an http401 error with guest or my own user.

It works when i comment the line "<default-interceptor-ref
name="securedStack"/>" in the xwork-security.xml, but i hope its a temporary
workaround.

When i add the repository observer role to my user, the following exception
is thrown :

2007-02-01 10:36:39,520 [TP-Processor12] INFO
Action:pss-assignments         - in edit user now
2007-02-01 10:36:39,520 [TP-Processor12] INFO
Action:pss-assignments         - add roles button was clicked
2007-02-01 10:36:39,520 [TP-Processor12] INFO
Action:pss-assignments         - we selected some roles to grant 2
2007-02-01 10:36:39,525 [TP-Processor12] INFO
Action:pss-assignments         - adding Repository Observer - FTInterne to
guest
2007-02-01 10:36:39,526 [TP-Processor12] INFO
Action:pss-assignments         - adding Repository Observer - FTPublicMirror
to guest
2007-02-01 10:36:39,571 [TP-Processor12] WARN
OgnlUtil                       - Caught OgnlException while setting property
'username' on type '
com.opensymphony.webwork.dispatcher.ServletActionRedirectResult'.
ognl.NoSuchPropertyException:
com.opensymphony.webwork.dispatcher.ServletActionRedirectResult.username
        at ognl.ObjectPropertyAccessor.setProperty(
ObjectPropertyAccessor.java:133)
        at
com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.setProperty(
OgnlValueStack.java:64)
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
        at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl.SimpleNode.setValue(SimpleNode.java:246)
        at ognl.Ognl.setValue(Ognl.java:476)
        at com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:186)
        at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(
OgnlUtil.java:360)
        at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java
:76)
        at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java
:49)
        at com.opensymphony.xwork.ObjectFactory.buildResult(
ObjectFactory.java:186)
        at org.codehaus.plexus.xwork.PlexusObjectFactory.buildResult(
PlexusObjectFactory.java:149)
        at com.opensymphony.xwork.DefaultActionInvocation.createResult(
DefaultActionInvocation.java:171)
        at com.opensymphony.xwork.DefaultActionInvocation.executeResult(
DefaultActionInvocation.java:308)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:206)
        at
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(
DefaultWorkflowInterceptor.java:168)
        at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(
MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(
ValidationInterceptor.java:115)
        at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(
MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at
com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:171)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at
com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.intercept
(DebuggingInterceptor.java:147)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(
I18nInterceptor.java:151)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at
com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(
ExceptionMappingInterceptor.java:186)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:188)
        at com.opensymphony.xwork.DefaultActionProxy.execute(
DefaultActionProxy.java:113)
        at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction
(DispatcherUtils.java:225)
        at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
FilterDispatcher.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
PageFilter.java:118)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(
PageFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
        at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter
(ActionContextCleanUp.java:88)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
:199)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
:282)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
        at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:697)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

I update correctly my settings.xml with "repository" and the archiva
snapshot was built yesterday.
Any suggestion ?

On 1/31/07, Robert Dale <robert.dale@duke.edu> wrote:
>
> The title looked right, but the page looks wrong and outdated -- /proxy/
> is no longer used.
>
> in your settings.xml:
>
> <settings>
>   <mirrors>
>     <mirror>
>       <id>archiva</id>
>       <name>Mirror of http://repo1.maven.org/maven2/</name>
>       <url>http://username:password@myrepository.com/repository/foo</url>
>       <mirrorOf>central</mirrorOf>
>     </mirror>
>   </mirrors>
> </settings>
>
> Try something like that.
>
> --
> Robert Dale
>
>


-- 
Antoine Véret

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message