KerberosTicket


KerberosTicket javax.security.auth.kerberos

Java 1.4 serializable

This class represents a Kerberos ticket: a credential used to authenticate a Kerberos principal to some Kerberos-enabled network service. A Kerberos-based javax.security.auth.spi.LoginModule implementation will instantiate a KerberosTicket object and store it in the private credential set of the authenticated Subject it creates.

Figure 19-17. javax.security.auth.kerberos.KerberosTicket

 public class  KerberosTicket  implements javax.security.auth.Destroyable,          javax.security.auth.Refreshable, Serializable {  // Public Constructors  public  KerberosTicket  (byte[ ]  asn1Encoding  , KerberosPrincipal  client  ,          KerberosPrincipal  server  , byte[ ]  sessionKey  ,          int  keyType  , boolean[ ]  flags  ,          java.util.Date  authTime  , java.util.Date  startTime  ,          java.util.Date  endTime  , java.util.Date  renewTill  ,          java.net.InetAddress[ ]  clientAddresses  );  // Public Instance Methods  public final java.util.Date  getAuthTime  ( );        public final KerberosPrincipal  getClient  ( );        public final java.net.InetAddress[ ]  getClientAddresses  ( );        public final byte[ ]  getEncoded  ( );        public final java.util.Date  getEndTime  ( );        public final boolean[ ]  getFlags  ( );        public final java.util.Date  getRenewTill  ( );        public final KerberosPrincipal  getServer  ( );        public final javax.crypto.SecretKey  getSessionKey  ( );        public final int  getSessionKeyType  ( );        public final java.util.Date  getStartTime  ( );        public final boolean  isForwardable  ( );        public final boolean  isForwarded  ( );        public final boolean  isInitial  ( );        public final boolean  isPostdated  ( );        public final boolean  isProxiable  ( );        public final boolean  isProxy  ( );        public final boolean  isRenewable  ( );  // Methods Implementing Destroyable  public void  destroy  ( ) throws javax.security.auth.DestroyFailedException;        public boolean  isDestroyed  ( );  // Methods Implementing Refreshable  public boolean  isCurrent  ( );        public void  refresh  ( ) throws javax.security.auth.RefreshFailedException;  // Public Methods Overriding Object  public String  toString  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net