You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Randy Nott (JIRA)" <ji...@apache.org> on 2008/10/16 02:54:44 UTC

[jira] Created: (IVY-943) Allow authentication credentials to be specified in settings file

Allow authentication credentials to be specified in settings file
-----------------------------------------------------------------

                 Key: IVY-943
                 URL: https://issues.apache.org/jira/browse/IVY-943
             Project: Ivy
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0-RC1
            Reporter: Randy Nott
            Priority: Minor


Add functionality to allow HTTP authentication credentials to be specified in the settings file.

When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Randy Nott (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Nott updated IVY-943:
---------------------------

    Attachment: patch.txt

Patch file as requested.

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Priority: Minor
>         Attachments: patch.txt, XmlSettingsParser.java
>
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Randy Nott (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Nott updated IVY-943:
---------------------------

    Attachment: XmlSettingsParser.java

Here is a candidate implementation of the improvement.

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Priority: Minor
>         Attachments: XmlSettingsParser.java
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Randy Nott (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Nott updated IVY-943:
---------------------------

    Attachment: settings.xml

Here is a sample settings file utilizing the new functionality.

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Priority: Minor
>         Attachments: patch.txt, settings.xml, XmlSettingsParser.java
>
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640309#action_12640309 ] 

Maarten Coene commented on IVY-943:
-----------------------------------

Could you please attach this as a patch file?
And could you provide an example how to use this new functionality?

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Priority: Minor
>         Attachments: XmlSettingsParser.java
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-943:
------------------------------

    Remaining Estimate:     (was: 0.08h)
     Original Estimate:     (was: 0.08h)

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Priority: Minor
>         Attachments: XmlSettingsParser.java
>
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-943.
-------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

I've applied your patch into SVN trunk.
Thanks a lot for the contribution!

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: patch.txt, settings.xml, XmlSettingsParser.java
>
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-943) Allow authentication credentials to be specified in settings file

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-943:
------------------------------

    Fix Version/s:     (was: trunk)
                   2.0-RC2

> Allow authentication credentials to be specified in settings file
> -----------------------------------------------------------------
>
>                 Key: IVY-943
>                 URL: https://issues.apache.org/jira/browse/IVY-943
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.0-RC2
>
>         Attachments: patch.txt, settings.xml, XmlSettingsParser.java
>
>
> Add functionality to allow HTTP authentication credentials to be specified in the settings file.
> When HTTP authentication is used to protect a repository, the mechanism for specifying the necessary credentials is through the use of the settings/configure ant task or command line. It is desirable in many instances to be able to decouple these credentials from the build file as they are often different for each user and a settings file seems an ideal place for such customizations, especially when dealing with resolvers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.