java.lang.Error: GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)

Stack Overflow | Kinnera | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Get Kerberos ticket using java in a cross forest domains

    Stack Overflow | 8 months ago | Kinnera
    java.lang.Error: GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)

    Root Cause Analysis

    1. java.lang.Error

      GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)

      at sample.KerberosTicketRetriever$TicketCreatorAction.run()
    2. Java EE Connector Architecture API Specification
      KerberosTicketRetriever$TicketCreatorAction.run
      1. sample.KerberosTicketRetriever$TicketCreatorAction.run(KerberosTicketRetriever.java:94)
      1 frame
    3. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:483)
      2 frames
    4. Java EE Connector Architecture API Specification
      KerberosTicketRetriever.main
      1. sample.KerberosTicketRetriever.retrieveTicket(KerberosTicketRetriever.java:194)
      2. sample.KerberosTicketRetriever.main(KerberosTicketRetriever.java:202)
      2 frames