You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by "Burkhardt Stefan (CI/TMP)" <St...@de.bosch.com> on 2008/11/10 14:30:48 UTC

Authorization in Archiva

Hi,

I try to upload an artefact to archiva (Standalone) for a registered
user. The user has a the roles "Registered User", "Global Repository
Manager" "Repository Manager" (internal).
I always get an exception:
2008-11-10 14:17:06,260 [btpool0-3] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
Authorization Denied
[ip=127.0.0.1,isWriteRequest=true,permission=archiva-upload-repository,r
epo=internal] : no matching permissions

On the client side I am using Ivy to deploy the artefact.  I set the
User, the Password on the Client site and the use the realm "Repository
Archiva Managed Internal Repository".

Any Ideas?

Thanks, 
Stefan


Re: Authorization in Archiva

Posted by Maria Odea Ching <oc...@apache.org>.
Hi Stefan,

I'm not sure how deployment works in Ivy but were you able to verify that
the correct credentials are being mapped to the repository you're deploying
to? IMO, the roles/permissions assigned to the user in Archiva seem
correct..

Thanks,
Deng

On Mon, Nov 10, 2008 at 9:30 PM, Burkhardt Stefan (CI/TMP) <
Stefan.Burkhardt@de.bosch.com> wrote:

> Hi,
>
> I try to upload an artefact to archiva (Standalone) for a registered
> user. The user has a the roles "Registered User", "Global Repository
> Manager" "Repository Manager" (internal).
> I always get an exception:
> 2008-11-10 14:17:06,260 [btpool0-3] INFO
> org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
> Authorization Denied
> [ip=127.0.0.1,isWriteRequest=true,permission=archiva-upload-repository,r
> epo=internal] : no matching permissions
>
> On the client side I am using Ivy to deploy the artefact.  I set the
> User, the Password on the Client site and the use the realm "Repository
> Archiva Managed Internal Repository".
>
> Any Ideas?
>
> Thanks,
> Stefan
>
>