1 Reply Latest reply on Jan 15, 2010 12:14 PM by 843810

    acceptSecContext problem

      Hi All,

      I have a web application that receives a kerberos token from IE web browser, this is OK, I am receiving a token like:

      Token: YIIFdgYGKwYBBQUCoIIFaj...

      To validate the token I am creating a context and then call acceptSecContext

      GSSManager manager = GSSManager.getInstance();
      GSSContext context = manager.createContext((GSSCredential) null);
      context.acceptSecContext(ticket, 0,ticket.length); //Ticket is the token received

      And the method is throwing the following error:

      No valid credentials provided (Mechanism level: Failed to find any Kerberos Key)

      I would appreciatte if anyone can give me any clue of were the cause of this error could be.

      Thanks in advance