Class KerberosTicketUtils

java.lang.Object
io.trino.plugin.base.authentication.KerberosTicketUtils

public final class KerberosTicketUtils extends Object
  • Method Details

    • getTicketGrantingTicket

      public static KerberosTicket getTicketGrantingTicket(Subject subject)
    • getRefreshTime

      public static long getRefreshTime(KerberosTicket ticket)
    • isOriginalTicketGrantingTicket

      public static boolean isOriginalTicketGrantingTicket(KerberosTicket ticket)
      Check whether the server principal is the TGS's principal
      Parameters:
      ticket - the original TGT (the ticket that is obtained when a kinit is done)
      Returns:
      true or false