Class KerberosTicketUtils
java.lang.Object
io.trino.plugin.base.authentication.KerberosTicketUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic longgetRefreshTime(KerberosTicket ticket) static KerberosTicketgetTicketGrantingTicket(Subject subject) static booleanCheck whether the server principal is the TGS's principal
-
Method Details
-
getTicketGrantingTicket
-
getRefreshTime
-
isOriginalTicketGrantingTicket
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
-