You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Sewe (JIRA)" <ji...@apache.org> on 2017/03/02 16:47:45 UTC
[jira] [Commented] (MNG-5585) match server credentials based on
server realm
[ https://issues.apache.org/jira/browse/MNG-5585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892585#comment-15892585 ]
Andreas Sewe commented on MNG-5585:
-----------------------------------
FYI, Eclipse Tycho has recently (version 1.0.0) introduced a similar feature for [sharing mirror settings for multiple repositories|https://wiki.eclipse.org/Tycho/Target_Platform/Authentication_and_Mirrors#Mirroring_multiple_Repositories]. As this feature request is similar (sharing settings/credentials for multiple repositories), the configuration syntax chosen by the Tycho developers (overloading repository/id) may serve as inspiration.
> match server credentials based on server realm
> ----------------------------------------------
>
> Key: MNG-5585
> URL: https://issues.apache.org/jira/browse/MNG-5585
> Project: Maven
> Issue Type: Improvement
> Components: Settings
> Affects Versions: 3.x / Backlog
> Reporter: nicolas de loof
>
> credentials for repositories are identified based on arbitrary ID. This is error prone and fragile design, especially as there's no way to diagnose which credentials are used (see MNG-5584).
> A realm-based server matching would better follow the way HTTP security is defined, and could be easily used for other protocols based (for sample) on domain name.
> <server>
> <id>xxx</id>
> <realm>[optional protocol://]repo.acme.com</realm>
> ..
> </server>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)