javax.mail.AuthenticationFailedException: Auth method not enabled

Atlassian JIRA | Raduz Benicky | 8 years ago
  1. 0

    based on David Yu's suggestion: "Hello Raduz, It doesn't look like we can support CRAM-MD5 out of the box after speaking with a dev. I also thought that perhaps you'd be able to articulate your requirements better if the feature request was submitted by you." I would like to suggest an implementation of CRAM-MD5 authentication method for the Confluence Mail Archiving feature as per Davis's finding: "I did some more testing here and found out a few things. It doesn't appear to be using atlassian-mail for this part of the code. According to my stack traces, it's using com.atlassian.confluence.mail.DefaultMailAccountManager. javax.mail.AuthenticationFailedException: Auth method not enabled at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:456) at javax.mail.Service.connect(Service.java:236) at com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:256) at com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:112) at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:89) at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:59) at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:242) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) I don't see any properties file for us to set to enable CRAM-MD5 (assuming this even works). The only way I can see is modifying the source code itself to support CRAM-MD5." thank you Raduz

    Atlassian JIRA | 8 years ago | Raduz Benicky
    javax.mail.AuthenticationFailedException: Auth method not enabled
  2. 0

    based on David Yu's suggestion: "Hello Raduz, It doesn't look like we can support CRAM-MD5 out of the box after speaking with a dev. I also thought that perhaps you'd be able to articulate your requirements better if the feature request was submitted by you." I would like to suggest an implementation of CRAM-MD5 authentication method for the Confluence Mail Archiving feature as per Davis's finding: "I did some more testing here and found out a few things. It doesn't appear to be using atlassian-mail for this part of the code. According to my stack traces, it's using com.atlassian.confluence.mail.DefaultMailAccountManager. javax.mail.AuthenticationFailedException: Auth method not enabled at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:456) at javax.mail.Service.connect(Service.java:236) at com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:256) at com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:112) at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:89) at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:59) at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:242) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) I don't see any properties file for us to set to enable CRAM-MD5 (assuming this even works). The only way I can see is modifying the source code itself to support CRAM-MD5." thank you Raduz

    Atlassian JIRA | 8 years ago | Raduz Benicky
    javax.mail.AuthenticationFailedException: Auth method not enabled
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to connect to gmail using IMAP

    Stack Overflow | 3 years ago | KodeSeeker
    javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)
  5. 0

    GMail OAuth authentication. Am I retreving the OAuth token correctly?

    Stack Overflow | 3 years ago | KodeSeeker
    javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)

  1. serious2monkeys 3 times, last 1 month ago
19 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.mail.AuthenticationFailedException

    Auth method not enabled

    at com.sun.mail.imap.IMAPStore.protocolConnect()
  2. JavaMail API (compat)
    IMAPStore.protocolConnect
    1. com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:456)
    1 frame
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:236)
    1 frame
  4. com.atlassian.confluence
    DefaultMailAccountManager.pollAllSpaces
    1. com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:256)
    2. com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:112)
    3. com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:89)
    4. com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:59)
    5. com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:242)
    5 frames
  5. Java RT
    DelegatingMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3 frames