1 Reply Latest reply: Jan 15, 2010 6:14 AM by 843810 RSS

    acceptSecContext problem

    843810
      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