Can't get TGT Ticket from the LSA Cache
<p>I have a java client which should receive a TGT ticket from LSA for client server authentication. So the krbc_{username} file  should not be used and is deleted. If i set the krbc_{username} with kinit.exe it works like expected but like said before not goal of my. But however the TGT in the LSA Cache can't be found. This is what i see in the console.</p>

<blockquote>
  <blockquote>
    <blockquote>
      <p>Found no TGT's in LSA</p>
    </blockquote>
  </blockquote>
</blockquote>

<p>A code fragement.</p>

<pre><code>        try {
        LoginContext lc = new LoginContext("Client", new    LibsCallbackHandler(userTicket));

        lc.login();
        Subject s = lc.getSubject();
        logger.info(s);
</code></pre>

<p>In the jaas.conf useTicketCache is set true. The Userticket is set if i log in with a dialog which i am using. If I use my username and password i receive a new ticket which is fine but not enough for single sign on. I also set 'allowtgtsessionkey' to 1 in the registry.</p>