public final class KerberosTicketUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
getRefreshTime(KerberosTicket ticket) |
static KerberosTicket |
getTicketGrantingTicket(Subject subject) |
static boolean |
isOriginalTicketGrantingTicket(KerberosTicket ticket)
Check whether the server principal is the TGS's principal
|
public static KerberosTicket getTicketGrantingTicket(Subject subject)
public static long getRefreshTime(KerberosTicket ticket)
public static boolean isOriginalTicketGrantingTicket(KerberosTicket ticket)
ticket - the original TGT (the ticket that is obtained when a
kinit is done)Copyright © 2012–2020. All rights reserved.