Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

JAVAMAIL POP3 - Secure Password Authentication

Thread view: 
cipher - 14 Feb 2006 04:53 GMT
This is regarding my old posting accesing mailbox using JavaMail API.
When I configured for the same ID in outlook I enabled an option
"Log on using Secure Password Authentication (SPA)".

Now i need to enable this while accessing through the JavaMail code
too.
If you know, can you please let me know as how  this can be done?
cipher - 14 Feb 2006 09:24 GMT
When I try to access it , Iam getting the following error:
S: -ERR A required privilege is not held by the client.
C: QUIT
S: +OK Microsoft Exchange POP3 server version 5.5.2653.23 signing off
javax.mail.AuthenticationFailedException: A required privilege is not
held by the client.
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:128)
    at javax.mail.Service.connect(Service.java:236)
    at javax.mail.Service.connect(Service.java:137)
    at POP3MimeTest.main(POP3MimeTest.java:16)
Exception in thread "main"
Nigel Wade - 14 Feb 2006 09:55 GMT
> This is regarding my old posting accesing mailbox using JavaMail API.
> When I configured for the same ID in outlook I enabled an option
[quoted text clipped - 3 lines]
> too.
> If you know, can you please let me know as how  this can be done?

I'm not sure it can be done. I have a recollection that Outlook/Exchange SPA is
a Microsoft proprietary protocol, based on NTLM. I don't know if Exchange
offers any other form of secure channel.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.