public abstract class

KrbKdcReq

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

Summary

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

Constants

private static final int DEFAULT_KDC_PORT

Default port for a KDC.

Constant Value: 88 (0x00000058)

private static final int DEFAULT_KDC_RETRY_LIMIT

Constant Value: 3 (0x00000003)

Fields

private static final boolean DEBUG

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

private static int udpPrefLimit

Public Constructors

public KrbKdcReq ()

Public Methods

public static void initializeDefaults ()

public String send (String realm, Config kerberosConfig)

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.
kerberosConfig
Throws
InterruptedIOException if timeout expires
KrbException
IOException

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

Parameters
realm
tempKdc
useTCP
kerberosConfig
Throws
IOException
KrbException

public String send (String realm, boolean useTCP, Config kerberosConfig)

Parameters
realm
useTCP
kerberosConfig
Throws
IOException
KrbException