Serialized Form
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- readObject is called to restore the state of the
DelegationPermission from a stream.
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- WriteObject is called to save the state of the DelegationPermission
to a stream. The actions are serialized, and the superclass
takes care of the name.
major
int major
minor
int minor
minorMessage
java.lang.String minorMessage
majorString
java.lang.String majorString
principal
KerberosPrincipal principal
- The principal that this secret key belongs to.
-
versionNum
int versionNum
- the version number of this secret key
-
key
javax.security.auth.kerberos.KeyImpl key
KeyImpl
is serialized by writing out the ASN1 Encoded bytes
of the encryption key. The ASN1 encoding is defined in
RFC1510 and as follows:
EncryptionKey ::= SEQUENCE {
keytype[0] INTEGER,
keyvalue[1] OCTET STRING
}
-
readObject
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads this object from a stream (i.e., deserializes it)
writeObject
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
- Save the KerberosPrincipal object to a stream
- Serial Data:
- this
KerberosPrincipal
is serialized
by writing out the PrincipalName and the
realm in their DER-encoded form as specified in Section 5.2 of
RFC1510.
asn1Encoding
byte[] asn1Encoding
- ASN.1 DER Encoding of the Ticket as defined in the
Kerberos Protocol Specification RFC1510.
-
sessionKey
javax.security.auth.kerberos.KeyImpl sessionKey
KeyImpl
is serialized by writing out the ASN1 Encoded bytes
of the encryption key. The ASN1 encoding is defined in RFC1510 and as
follows:
EncryptionKey ::= SEQUENCE {
keytype[0] INTEGER,
keyvalue[1] OCTET STRING
}
-
flags
boolean[] flags
- Ticket Flags as defined in the Kerberos Protocol Specification RFC1510.
-
authTime
java.util.Date authTime
- Time of initial authentication
-
startTime
java.util.Date startTime
- Time after which the ticket is valid.
-
endTime
java.util.Date endTime
- Time after which the ticket will not be honored. (its expiration time).
-
renewTill
java.util.Date renewTill
- For renewable Tickets it indicates the maximum endtime that may be
included in a renewal. It can be thought of as the absolute expiration
time for the ticket, including all renewals. This field may be null
for tickets that are not renewable.
-
client
KerberosPrincipal client
- Client that owns the service ticket
-
server
KerberosPrincipal server
- The service for which the ticket was issued.
-
clientAddresses
java.net.InetAddress[] clientAddresses
- The addresses from where the ticket may be used by the client.
This field may be null when the ticket is usable from any address.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- readObject is called to restore the state of the
ServicePermission from a stream.
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- WriteObject is called to save the state of the ServicePermission
to a stream. The actions are serialized, and the superclass
takes care of the name.
actions
java.lang.String actions
- the actions string.
-