Note that there are some explanatory texts on larger screens.

plurals
  1. USamirsk
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COYes you need to validate with Kerberos (Krb) at least once. You use kinit.exe found in your Java. This allows you to create a local ticket cache by validating with a pwd. The ticket you get is the validation for Krb so from then on (until expires) you can turn to krb and validate without using a pwd. THIS works. I have the krb ticket and can turn to krb. The new problem (explained in the 2nd answer below) is that after validating with the krb ticket, krb sends me the ticket for the imap server. But somehow it is not caching and so authentication with the imap fails. Any ideas as to the cause?
      singulars
    2. COThanks but it seems that they are. Even with my ticketCache enabled I only succeed with the real user and pwd. Here is the output (messing the comment space): IMAP DEBUG: AUTH: GSSAPI DEBUG: protocolConnect login, host=<host>, user=<real_user>, password=<non-null> A0 LOGIN <real_user> dummyPwd A0 NO Login failed: authentication failure.
      singulars
    3. COFigured out solution to Javamail & Kerberos! I plan to post here for everyone who has been searching for a code example. But I have one last issue before my solution is complete. I have to work with Kerberos over SSL. So I use the IMAPSSLStore. However the URLName requires a username and password. When I provide it Javamail gets a ticket from Kerberos and uses it to contact IMAP sever. The issue remains is that I require Single-sign on where the user never has to provide the user/pwd. But IMAPSSLStore requires them and throws an exception. How do I emplement single sign-on with javamail?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload