You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Stan Lewis (JIRA)" <ji...@apache.org> on 2010/06/24 17:20:51 UTC

[jira] Created: (SM-1956) It should be possible to set the username/password via a header/property for the servicemix-mail provider

It should be possible to set the username/password via a header/property for the servicemix-mail provider
---------------------------------------------------------------------------------------------------------

                 Key: SM-1956
                 URL: https://issues.apache.org/activemq/browse/SM-1956
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-mail
            Reporter: Stan Lewis
            Priority: Minor
         Attachments: SM-1956.txt

The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.

This patch adds this functionality, also removes a little duplicate code.

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


[jira] Assigned: (SM-1956) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1956:
--------------------------------

    Assignee: Freeman Fang

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1956
>                 URL: https://issues.apache.org/activemq/browse/SM-1956
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Reopened: (SMXCOMP-767) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann reopened SMXCOMP-767:
------------------------------------

      Assignee: Lars Heinemann  (was: Freeman Fang)

reopened because of some extensions and cleanup

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-767
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Lars Heinemann
>            Priority: Minor
>             Fix For: servicemix-mail-2010.02
>
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Resolved: (SMXCOMP-767) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann resolved SMXCOMP-767.
------------------------------------

    Resolution: Fixed

all aspects of connection configuration may now be overridden by setting the appropriate message header attributes. Also updated the component wiki to reflect the current state.

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-767
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Lars Heinemann
>            Priority: Minor
>             Fix For: servicemix-mail-2010.02
>
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Updated: (SM-1956) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Stan Lewis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan Lewis updated SM-1956:
---------------------------

    Attachment: SM-1956.txt

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1956
>                 URL: https://issues.apache.org/activemq/browse/SM-1956
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Priority: Minor
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Resolved: (SMXCOMP-767) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMXCOMP-767.
----------------------------------

    Fix Version/s: servicemix-mail-2010.02
       Resolution: Fixed

apply patch on behalf of Stan with thanks

http://svn.apache.org/viewvc?rev=957790&view=rev

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-767
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: servicemix-mail-2010.02
>
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Work started: (SM-1956) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1956 started by Freeman Fang.

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1956
>                 URL: https://issues.apache.org/activemq/browse/SM-1956
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Moved: (SMXCOMP-767) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang moved SM-1956 to SMXCOMP-767:
------------------------------------------

        Project: ServiceMix Components  (was: ServiceMix)
            Key: SMXCOMP-767  (was: SM-1956)
    Component/s: servicemix-mail
                     (was: servicemix-mail)

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-767
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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


[jira] Work started: (SMXCOMP-767) It should be possible to set the username/password via a header/property for the servicemix-mail provider

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SMXCOMP-767 started by Lars Heinemann.

> It should be possible to set the username/password via a header/property for the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-767
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Lars Heinemann
>            Priority: Minor
>             Fix For: servicemix-mail-2010.02
>
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password in the xbean.xml and instead obtain the username/password from an encrypted store and dynamically set these to be used by the servicemix-mail provider when it connects to the SMTP server. Currently the username, password, host and port are only read when the SU is deployed and it appears there's no header or property that the servicemix-mail provider checks before connecting to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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