| Modifier and Type | Class and Description |
|---|---|
| private static enum | KdcComm.
What to do when a KDC is unavailable, specified in the java.security file with key krb5.kdc.bad.policy. |
| pack-priv static class | KdcComm.
Maintains a KDC accessible list. |
| Modifier and Type | Field and Description |
|---|---|
| private static KdcComm. | |
| private static int | defaultKdcRetryLimit
max retry time for a single KDC, default Krb5.KDC_RETRY_LIMIT (3), Must be > 0. |
| private static int | defaultKdcTimeout
timeout requesting a ticket from KDC, in millisec, default Krb5.KDC_TIMEOUT (30000). |
| private static int | defaultUdpPrefLimit
max UDP packet size, default Krb5.KDC_DEFAULT_UDP_PREF_LIMIT (1465). |
| private final String | realm
The instance fields |
| private static int | |
| private static int |
| Modifier and Type | Method and Description |
|---|---|
| private int | Returns: a value for the keythe given realm in which the setting is requested. Returns
the global setting if null realm, String the key for the setting key, int default value defValue, boolean true if value must be >0, false if value must be >=0 mustBePositive)Returns krb5.conf setting of |
| public static void | |
| private static int | |
| private static int | Returns: the integer value in milliseconds, or -1 if input is null or has an invalid formatthe time string s)Parses a time value string. |
| public byte[] | |
| private byte[] | |
| private byte[] | |
| private byte[] |
| badPolicy | back to summary |
|---|---|
| private static KdcComm. | |
| defaultKdcRetryLimit | back to summary |
|---|---|
| private static int defaultKdcRetryLimit max retry time for a single KDC, default Krb5.KDC_RETRY_LIMIT (3), Must be > 0. | |
| defaultKdcTimeout | back to summary |
|---|---|
| private static int defaultKdcTimeout timeout requesting a ticket from KDC, in millisec, default Krb5.KDC_TIMEOUT (30000). Must be > 0. | |
| defaultUdpPrefLimit | back to summary |
|---|---|
| private static int defaultUdpPrefLimit max UDP packet size, default Krb5.KDC_DEFAULT_UDP_PREF_LIMIT (1465). Must be >= 0 and <= Krb5.KDC_HARD_UDP_LIMIT (32700). | |
| realm | back to summary |
|---|---|
| private final String realm The instance fields | |
| tryLessMaxRetries | back to summary |
|---|---|
| private static int tryLessMaxRetries | |
| tryLessTimeout | back to summary |
|---|---|
| private static int tryLessTimeout | |
| KdcComm | back to summary |
|---|---|
| public KdcComm(String realm) throws KrbException | |
| getRealmSpecificValue | back to summary |
|---|---|
| private int getRealmSpecificValue(String realm, String key, int defValue, boolean mustBePositive) Returns krb5.conf setting of | |
| initStatic | back to summary |
|---|---|
| public static void initStatic() Read global settings | |
| parseNonNegativeIntString | back to summary |
|---|---|
| private static int parseNonNegativeIntString(String intString) | |
| parseTimeString | back to summary |
|---|---|
| private static int parseTimeString(String s) Parses a time value string. If it ends with "s", parses as seconds. Otherwise, parses as milliseconds.
| |
| send | back to summary |
|---|---|
| public byte[] send(KrbKdcReq req) throws IOException, KrbException | |
| send | back to summary |
|---|---|
| private byte[] send(KrbKdcReq req, boolean useTCP) throws IOException, KrbException | |
| send | back to summary |
|---|---|
| private byte[] send(KrbKdcReq req, String tempKdc, boolean useTCP) throws IOException, KrbException | |
| sendIfPossible | back to summary |
|---|---|
| private byte[] sendIfPossible(KrbKdcReq req, String tempKdc, boolean useTCP) throws IOException, KrbException | |
| Modifier and Type | Field and Description |
|---|---|
| public static final KdcComm. | |
| public static final KdcComm. | |
| public static final KdcComm. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static KdcComm. | |
| public static KdcComm. |
| NONE | back to summary |
|---|---|
| public static final KdcComm. | |
| TRY_LAST | back to summary |
|---|---|
| public static final KdcComm. | |
| TRY_LESS | back to summary |
|---|---|
| public static final KdcComm. | |
| BpType | back to summary |
|---|---|
| private BpType() | |
| valueOf | back to summary |
|---|---|
| public static KdcComm. | |
| values | back to summary |
|---|---|
| public static KdcComm. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static synchronized void | |
| private static synchronized boolean | |
| private static synchronized List | |
| private static synchronized void | |
| private static synchronized void |
| bads | back to summary |
|---|---|
| private static Set<String> bads | |
| KdcAccessibility | back to summary |
|---|---|
| pack-priv KdcAccessibility() | |
| addBad | back to summary |
|---|---|
| private static synchronized void addBad(String kdc) | |
| isBad | back to summary |
|---|---|
| private static synchronized boolean isBad(String kdc) | |
| list | back to summary |
|---|---|
| private static synchronized List | |
| removeBad | back to summary |
|---|---|
| private static synchronized void removeBad(String kdc) | |
| reset | back to summary |
|---|---|
| private static synchronized void reset() | |