我有一个位于基本身份验证后面的 Artifactory 存储库。我将如何配置 settings.xml 以允许访问?
<mirrors>
<mirror>
<id>artifactory</id>
<mirrorOf>*</mirrorOf>
<url>https://myserver.example.com/artifactory/repo</url>
<name>Artifactory</name>
</mirror>
</mirrors>
<servers>
<!--
This server configuration gives your personal username/password for
artifactory. Note that the server id must match that given in the
mirrors section.
-->
<server>
<id>Artifactory</id>
<username>someArtifactoryUser</username>
<password>someArtifactoryPassword</password>
</server>
所以服务器标签是人工用户的用户凭据,但我还需要提供另一个用户/密码来通过基本身份验证。我会把它放在哪里?!?