Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

connect to Exchange Server using IMAP NTLM without supply a password ?

843834Jul 28 2010 — edited Aug 7 2010
hi,

I am working on a mail client using IMAP ... and we have ExchangeServer. There is a request now, that the users should not supply username and password to connect to the server?! I've take JavaMail 1.4.3. in order to use NTLM auth. So I connect following way(actually logon fail as described in this forum ).

props.put("mail.imap.auth.ntlm.domain", "true");
session = Session.getInstance(props, null);
store = session.getStore("imap");
store.connect(pMachine, pUser, pPassword);

but the question is Should it be possible at all (without password) ? which overloaded connect function should be used ?

any help appreciated
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2010
Added on Jul 28 2010
5 comments
622 views