You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Allen Reese (JIRA)" <ji...@apache.org> on 2011/07/21 19:04:58 UTC

[jira] [Created] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

Admin commands which take --amqurl should accept --user and --pass options
--------------------------------------------------------------------------

                 Key: AMQ-3411
                 URL: https://issues.apache.org/jira/browse/AMQ-3411
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.5.0
            Reporter: Allen Reese
            Priority: Minor


While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese updated AMQ-3411:
-----------------------------

    Attachment:     (was: AMQ-3411.patch)

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Priority: Minor
>         Attachments: AMQ-3411.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese reopened AMQ-3411:
------------------------------


I'm going to attach a new patch that adds --user, --password, --passwordFactory and --factory to the help, I thought I had added them.

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3411.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese updated AMQ-3411:
-----------------------------

    Attachment: AMQ-3411_help.patch

Attaching a patch that adds the missing help lines.

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3411.patch, AMQ-3411_help.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese updated AMQ-3411:
-----------------------------

    Patch Info: [Patch Available]

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Priority: Minor
>         Attachments: AMQ-3411.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Dejan Bosanac resolved AMQ-3411.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.6.0
         Assignee: Dejan Bosanac

Patch committed with svn revision 1150708. Thanks!

The only thing I see missing is the documentation of these new options in command help text

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3411.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese updated AMQ-3411:
-----------------------------

    Attachment: AMQ-3411.patch

svn add activemq-console/src/test/java/org/apache/activemq/console
Must be done or the tests will be lost.

This patch adds:

        "    --user <user>                 Set the username to use connecting",
        "    --password <password>         Set the password to use connecting",
        "    --factory <Class>             Set connection factory that should be used for creating connections",
        "                                  Must be a subclass of ActiveMQConnectionFactory",
        "    --passwordFactory <Class>     Set class which will do password lookups",
        "                                  Must be a subclass of PasswordFactory",


And fixes the AmqMessagesUtil to use the connection factory so username/password are used for the connections.

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Priority: Minor
>         Attachments: AMQ-3411.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese resolved AMQ-3411.
------------------------------

    Resolution: Fixed

Fixed in 5.6-SNAPSHOT

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3411.patch, AMQ-3411_help.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071243#comment-13071243 ] 

Timothy Bish commented on AMQ-3411:
-----------------------------------

Patch applied in trunk

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3411.patch, AMQ-3411_help.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese closed AMQ-3411.
----------------------------


This is all complete, and the patches work for me.

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3411.patch, AMQ-3411_help.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3411) Admin commands which take --amqurl should accept --user and --pass options

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

Allen Reese updated AMQ-3411:
-----------------------------

    Attachment: AMQ-3411.patch

Fixed patch with sets svn:eolstyle correctly. the last one had dos line-endings.

> Admin commands which take --amqurl should accept --user and --pass options
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3411
>                 URL: https://issues.apache.org/jira/browse/AMQ-3411
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.0
>            Reporter: Allen Reese
>            Priority: Minor
>         Attachments: AMQ-3411.patch
>
>
> While using the fix for AMQ-3410, I realized that username and password are not available to be passed via command line.
> I'll add a new parameter --user and --pass to allow username and password to be passed when --amqurl is passed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira