[ 
https://issues.apache.org/jira/browse/NET-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471359#comment-13471359
 ] 

Houman Atashbar commented on NET-482:
-------------------------------------

Hi Sebb, thanks for your quick reply.
I haven't looked at the requirements for other servers, but for Google itself 
it is different between 1.0a and 2 versions (add to this 2-legged OAuth which 
doesn't require a token). This is while it doesn't matter for commons-net since 
it uses the XOAUTH string the same way no matter what the protocol is. So, I 
think it would be nice if there was such a helper but I would do it 
conceptually separate to the authentication method itself.
I have no strong opinion on either plain or Base64, or even passing a map of 
key values used to create this string. If it is more consistent to accept a 
plain text, so be it.

                
> Support XOAUTH
> --------------
>
>                 Key: NET-482
>                 URL: https://issues.apache.org/jira/browse/NET-482
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: SMTP
>    Affects Versions: 3.1
>            Reporter: Houman Atashbar
>            Priority: Minor
>         Attachments: commons-net-trunk-patch.txt
>
>
> It would be nice if commons-net supported XOAUTH for authentication.
> I could modify the code slightly to get this working, but I thought maybe 
> there is a better way.
> If not, please have a look at my patch and see if it is worthwhile adding it 
> to trunk.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to