sun.security.mule.krb5
Class KrbKdcReq
java.lang.Object
sun.security.mule.krb5.KrbKdcReq
- Direct Known Subclasses:
- KrbAsReq, KrbTgsReq
public abstract class KrbKdcReq
- extends Object
|
Field Summary |
static int |
DEFAULT_KDC_TIMEOUT
Default timeout period when requesting a ticket from a KDC. |
protected byte[] |
ibuf
|
protected byte[] |
obuf
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_KDC_TIMEOUT
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.
obuf
protected byte[] obuf
ibuf
protected byte[] ibuf
KrbKdcReq
public KrbKdcReq()
initializeDefaults
public static void initializeDefaults()
send
public String send(String realm,
Config kerberosConfig)
throws IOException,
KrbException
- 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
send
public String send(String realm,
boolean useTCP,
Config kerberosConfig)
throws IOException,
KrbException
- Throws:
IOException
KrbException
send
public void send(String realm,
String tempKdc,
boolean useTCP,
Config kerberosConfig)
throws IOException,
KrbException
- Throws:
IOException
KrbException
Copyright © 2013. All Rights Reserved.