| java.lang.Object |
| ↳ |
javax.security.auth.kerberos.KerberosTicket |
| |
↳ |
sun.security.mule.jgss.krb5.Krb5InitCredential |
Class Overview
Implements the krb5 initiator credential element.
Summary
|
[Expand]
Inherited Constants |
From class
javax.security.auth.kerberos.KerberosTicket
| int |
FORWARDABLE_TICKET_FLAG |
|
| int |
FORWARDED_TICKET_FLAG |
|
| int |
INITIAL_TICKET_FLAG |
|
| int |
NUM_FLAGS |
|
| int |
POSTDATED_TICKET_FLAG |
|
| int |
PROXIABLE_TICKET_FLAG |
|
| int |
PROXY_TICKET_FLAG |
|
| int |
RENEWABLE_TICKET_FLAG |
|
| long |
serialVersionUID |
|
|
|
[Expand]
Inherited Fields |
From class
javax.security.auth.kerberos.KerberosTicket
|
private
byte[] |
asn1Encoding |
|
|
private
Date |
authTime |
|
|
private
KerberosPrincipal |
client |
|
|
private
InetAddress[] |
clientAddresses |
|
|
private
boolean |
destroyed |
|
|
private
Date |
endTime |
|
|
private
boolean[] |
flags |
|
|
private
Date |
renewTill |
|
|
private
KerberosPrincipal |
server |
|
|
private
KeyImpl |
sessionKey |
|
|
private
Date |
startTime |
|
|
|
[Expand]
Inherited Methods |
From class
javax.security.auth.kerberos.KerberosTicket
|
void
|
destroy()
|
|
boolean
|
equals(Object arg0)
|
|
final
Date
|
getAuthTime()
|
|
final
KerberosPrincipal
|
getClient()
|
|
final
InetAddress[]
|
getClientAddresses()
|
|
final
byte[]
|
getEncoded()
|
|
final
Date
|
getEndTime()
|
|
final
boolean[]
|
getFlags()
|
|
final
Date
|
getRenewTill()
|
|
final
KerberosPrincipal
|
getServer()
|
|
final
SecretKey
|
getSessionKey()
|
|
final
int
|
getSessionKeyType()
|
|
final
Date
|
getStartTime()
|
|
int
|
hashCode()
|
|
boolean
|
isCurrent()
|
|
boolean
|
isDestroyed()
|
|
final
boolean
|
isForwardable()
|
|
final
boolean
|
isForwarded()
|
|
final
boolean
|
isInitial()
|
|
final
boolean
|
isPostdated()
|
|
final
boolean
|
isProxiable()
|
|
final
boolean
|
isProxy()
|
|
final
boolean
|
isRenewable()
|
|
void
|
refresh()
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
javax.security.auth.Destroyable
|
abstract
void
|
destroy()
|
|
abstract
boolean
|
isDestroyed()
|
|
From interface
javax.security.auth.Refreshable
|
abstract
boolean
|
isCurrent()
|
|
abstract
void
|
refresh()
|
|
From interface
sun.security.mule.jgss.spi.GSSCredentialSpi
|
abstract
void
|
dispose()
Called to invalidate this credential element and release
any system recourses and cryptographic information owned
by the credential.
|
|
abstract
int
|
getAcceptLifetime()
Returns the accept lifetime remaining.
|
|
abstract
int
|
getInitLifetime()
Returns the init lifetime remaining.
|
|
abstract
Oid
|
getMechanism()
Returns the oid representing the underlying credential
mechanism oid.
|
|
abstract
GSSNameSpi
|
getName()
Returns the principal name for this credential.
|
|
abstract
Provider
|
getProvider()
|
|
abstract
boolean
|
isAcceptorCredential()
Determines if this credential element can be used by a context
acceptor.
|
|
abstract
boolean
|
isInitiatorCredential()
Determines if this credential element can be used by a context
initiator.
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
7723415700837898232
(0x6b2f15a8d51e17f8)
Fields
Public Methods
public
void
dispose
()
Called to invalidate this credential element.
public
int
getAcceptLifetime
()
Returns the accept lifetime remaining.
Returns
- the accept lifetime remaining in seconds
Throws
| GSSException
| may be thrown
|
public
int
getInitLifetime
()
Returns the init lifetime remaining.
Returns
- the init lifetime remaining in seconds
Throws
| GSSException
| may be thrown
|
Parameters
| name
| |
| delegatedCred
| |
| kerberosConfig
| |
public
final
Oid
getMechanism
()
Returns the oid representing the underlying credential
mechanism oid.
Returns
- the Oid for this credential mechanism
Throws
| GSSException
| may be thrown
|
public
final
GSSNameSpi
getName
()
Returns the principal name for this credential. The name
is in mechanism specific format.
Returns
- GSSNameSpi representing principal name of this credential
Throws
| GSSException
| may be thrown
|
public
final
Provider
getProvider
()
public
boolean
isAcceptorCredential
()
Determines if this credential element can be used by a context
acceptor.
Returns
- true if it can be used for accepting contexts
public
boolean
isInitiatorCredential
()
Determines if this credential element can be used by a context
initiator.
Returns
- true if it can be used for initiating contexts