title: How do I access Windows credentials from Java?
body: <p>How do I (or can I?) retrieve the cached credentials for the currently logged-in Windows user in Java? I want to reuse these credentials in some other GSS-API calls. Specifically, I'm answering an SPNEGO challenge from IIS.</p>
  
  <p>Thanks.</p>