API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth.kerberos. KerberosTicket View Source
Author(s)
Mayank Upadhyay
Since
1.4
Version
1.21, 07/27/06
Serial
Hierarchy
 Object
      KerberosTicket
Implements
 Destroyable
 Refreshable
 Serializable
Subclasses
Description
public class KerberosTicket
  This class encapsulates a Kerberos ticket and associated information as viewed from the client's point of view.
Constructors
public KerberosTicket (byte[] asn1Encoding, KerberosPrincipal client, KerberosPrincipal server, byte[] sessionKey, int keyType, boolean[] flags, Date authTime, Date startTime, Date endTime, Date renewTill, InetAddress clientAddresses)
  Constructs a KerberosTicket using credentials information that a client either receives from a KDC or reads from a cache.
Methods
Hide/Show inherited methods
public void destroy () throws DestroyFailedException [Specified in Destroyable]
Destroys the ticket and destroys any sensitive information stored in it.
public boolean equals (Object other)
  Compares the specified Object with this KerberosTicket for equality.
publicfinal Date getAuthTime ()
  Returns the time that the client was authenticated.
publicfinal KerberosPrincipal getClient ()
  Returns the client principal associated with this ticket.
publicfinal InetAddress getClientAddresses ()
  Returns a list of addresses from where the ticket can be used.
publicfinal byte getEncoded ()
  Returns an ASN.1 encoding of the entire ticket.
publicfinal Date getEndTime ()
  Returns the expiration time for this ticket's validity period.
publicfinal boolean getFlags ()
  Returns the flags associated with this ticket.
publicfinal Date getRenewTill ()
  Returns the latest expiration time for this ticket, including all renewals.
publicfinal KerberosPrincipal getServer ()
  Returns the service principal associated with this ticket.
publicfinal SecretKey getSessionKey ()
  Returns the session key associated with this ticket.
publicfinal int getSessionKeyType ()
  Returns the key type of the session key associated with this ticket as defined by the Kerberos Protocol Specification.
publicfinal Date getStartTime ()
  Returns the start time for this ticket's validity period.
public int hashCode ()
  Returns a hashcode for this KerberosTicket.
public boolean isCurrent () [Specified in Refreshable]
Determines if this ticket is still current.
public boolean isDestroyed () [Specified in Destroyable]
Determines if this ticket has been destroyed.
publicfinal boolean isForwardable ()
  Determines if this ticket is forwardable.
publicfinal boolean isForwarded ()
  Determines if this ticket had been forwarded or was issued based on authentication involving a forwarded ticket-granting ticket.
publicfinal boolean isInitial ()
  Determines if this ticket was issued using the Kerberos AS-Exchange protocol, and not issued based on some ticket-granting ticket.
publicfinal boolean isPostdated ()
  Determines is this ticket is post-dated.
publicfinal boolean isProxiable ()
  Determines if this ticket is proxiable.
publicfinal boolean isProxy ()
  Determines is this ticket is a proxy-ticket.
publicfinal boolean isRenewable ()
  Determines is this ticket is renewable.
public void refresh () throws RefreshFailedException [Specified in Refreshable]
  Extends the validity period of this ticket.
public String toString ()
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar