dcsimg
Authentification error
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   berengere_vuaillat
Posted On:   Monday, July 23, 2001 09:28 AM

hello, I have a problem while using microsoft exchange server with javaMail. For security reasons the password has to be encrypted but unfortunately in the javaMail Api password is uncrypted. An exception occurs: Internal Servlet Error: javax.servlet.ServletException: MessagingException: javax.mail.AuthenticationFailedException: Basic authentication (uncrypted text) has been desactivated for this protocol at java.lang.Exception.(Exception.java:44) at javax.servlet.ServletException.(ServletException.java:107) at mail.WebMail.doGet(WebMail.java:34) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740   More>>

hello,



I have a problem while using microsoft exchange server with javaMail.



For security reasons the password has to be encrypted but unfortunately in the javaMail Api password is uncrypted.



An exception occurs:

Internal Servlet Error:


javax.servlet.ServletException:


MessagingException: javax.mail.AuthenticationFailedException: Basic authentication (uncrypted text) has been desactivated for this protocol
at java.lang.Exception.(Exception.java:44)

at javax.servlet.ServletException.(ServletException.java:107)
at mail.WebMail.doGet(WebMail.java:34)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))

at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)

at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)

at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)

at org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java(Compiled Code))

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:411)

at java.lang.Thread.run(Thread.java:498)



So what can I do ?



// code used for connexion

store = session.getStore("pop3");

store.connect(host,user,password);



Can I encrypt my password before opening the connexion and notify the serveur that it's encrypted ?



thank you for your help.Bérengère

   <<Less

Re: Authentification error

Posted By:   pascal_laurent  
Posted On:   Thursday, October 25, 2001 06:35 AM

I think that I have the same problem.
Please tell me if you find any solution

Thanks
pascal.laurent@mairie-paris.fr

Re: Authentification error

Posted By:   rohit_anand  
Posted On:   Sunday, October 14, 2001 08:48 PM

I am getting a message similar to yours stating that clear text passwords cannot be authenticated.
I am talking to Exchange 5.5
About | Sitemap | Contact