java.lang.Object | |
↳ | sun.security.krb5.KrbApReq |
This class encapsulates a KRB-AP-REQ that a client sends to a server for authentication.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Contructs a AP-REQ message to send to the peer.
| |||||||||||
Contructs a AP-REQ message from the bytes received from the
peer.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the optional Checksum stored in the
Authenticator for this message.
| |||||||||||
Returns the principal name of the client that generated this
message.
| |||||||||||
Returns the credentials that are contained in the ticket that
is part of this this AP-REP.
| |||||||||||
Returns the ASN.1 encoding that should be sent to the peer.
| |||||||||||
Returns true if mutual authentication is required and hence an
AP-REP will need to be generated.
| |||||||||||
Returns the optional sequence number stored in the
Authenticator for this message.
| |||||||||||
Returns the optional subkey stored in the Authenticator for
this message.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Contructs a AP-REQ message to send to the peer.
tgsCred | the Credentials to be used to construct the
AP Request protocol message. |
---|---|
mutualRequired | Whether mutual authentication is required |
KrbException | for any Kerberos protocol specific error |
---|---|
IOException | for any IO related errors (e.g. socket operations) |
Asn1Exception | |
KrbCryptoException |
Contructs a AP-REQ message from the bytes received from the peer.
message | The message received from the peer |
---|---|
keys | EncrtyptionKey s to decrypt the message;
key selected will depend on etype used to encrypte data |
KrbException | for any Kerberos protocol specific error |
---|---|
IOException | for any IO related errors (e.g. socket operations) |
Returns the optional Checksum stored in the Authenticator for this message. Returns null if none is stored.
Returns the principal name of the client that generated this message.
Returns the credentials that are contained in the ticket that is part of this this AP-REP.
Returns the ASN.1 encoding that should be sent to the peer.
Returns true if mutual authentication is required and hence an AP-REP will need to be generated.
KrbException | |
IOException | |
KrbException |
Returns the optional sequence number stored in the Authenticator for this message. Returns null if none is stored.
Returns the optional subkey stored in the Authenticator for this message. Returns null if none is stored.