public abstract class

KrbKdcReq

extends Object
java.lang.Object
   ↳ sun.security.krb5.KrbKdcReq
Known Direct Subclasses

Summary

Fields
public static final int DEFAULT_KDC_TIMEOUT Default timeout period when requesting a ticket from a KDC.
protected byte[] ibuf
protected byte[] obuf
Public Constructors
KrbKdcReq()
Public Methods
String send(String realm, boolean useTCP)
void send(String realm, String tempKdc, boolean useTCP)
String send(String realm)
Sends the provided data to the KDC of the specified realm.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final int DEFAULT_KDC_TIMEOUT

Default timeout period when requesting a ticket from a KDC. If not specified in the configuration file, a value of 30 seconds is used.

protected byte[] ibuf

protected byte[] obuf

Public Constructors

public KrbKdcReq ()

Public Methods

public String send (String realm, boolean useTCP)

public void send (String realm, String tempKdc, boolean useTCP)

public String send (String realm)

Sends the provided data to the KDC of the specified realm. Returns the response from the KDC. Default realm/KDC is used if realm is null.

Parameters
realm the realm of the KDC where data is to be sent.
Throws
InterruptedIOException if timeout expires
KrbException
IOException