title: How to get user name before accepting security context using token send by client?
body: <p>I am working with application which acts as a server and uses GSSAPI for kerberos authentication.</p>
  
  <p><strong>Application working</strong><br>
  At start application do Acquire credentials<br>
  when ever client sends negotiate : token<br>
  accepts context using gss_accept_sec_context<br>
  calls display name to get the User name like MyName@DOMAIN</p>
  
  <p>Currently application is performing authentication for each and every session.</p>
  
  <p><strong>SSO authentication with caching</strong></p>
  
  <p>But i would like modify the application to perform the authentication once for first session and cache the <strong>something</strong> to re authenticate user using <strong>something</strong>.
  Here i can't cache the User name (MyName@DOMAIN) because to get the user name application again accept the context and call display name.</p>
  
  <p>Is there any way to perform SSO authentication with caching?</p>