| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | KrbServiceLocator.
This class holds a DNS service (SRV) record. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Random | |
| private static final String | |
| private static final String[] | |
| private static final String | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String[] | extractHostports(KrbServiceLocator.
Extract hosts and port numbers from a list of SRV records. |
| pack-priv static String[] | Returns: An ordered list of hostports for the Kerberos service or null if the service has not been located.A string realm name. realmName)Locates the KERBEROS service for a given domain. |
| pack-priv static String[] | Returns: An ordered list of hostports for the Kerberos service or null if the service has not been located.A string realm name. realmName, String the protocol string, can be "_udp" or "_tcp" protocol)Locates the KERBEROS service for a given domain. |
| private static String |
| random | back to summary |
|---|---|
| private static final Random random | |
| SRV_RR | back to summary |
|---|---|
| private static final String SRV_RR | |
| SRV_RR_ATTR | back to summary |
|---|---|
| private static final String[] SRV_RR_ATTR | |
| SRV_TXT | back to summary |
|---|---|
| private static final String SRV_TXT | |
| SRV_TXT_ATTR | back to summary |
|---|---|
| private static final String[] SRV_TXT_ATTR | |
| KrbServiceLocator | back to summary |
|---|---|
| private KrbServiceLocator() | |
| extractHostports | back to summary |
|---|---|
| private static String[] extractHostports(KrbServiceLocator. Extract hosts and port numbers from a list of SRV records. An array of hostports is returned or null if none were found. | |
| getKerberosService | back to summary |
|---|---|
| pack-priv static String[] getKerberosService(String realmName) Locates the KERBEROS service for a given domain. Queries DNS for a list of KERBEROS Service Text Records (TXT) for a given domain name. Information on the mapping of DNS hostnames and domain names to Kerberos realms is stored using DNS TXT records | |
| getKerberosService | back to summary |
|---|---|
| pack-priv static String[] getKerberosService(String realmName, String protocol) Locates the KERBEROS service for a given domain. Queries DNS for a list of KERBEROS Service Location Records (SRV) for a given domain name. | |
| selectHostport | back to summary |
|---|---|
| private static String selectHostport(KrbServiceLocator. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(KrbServiceLocator.
Implements java. Compares this object with the specified object for order. |
| hostport | back to summary |
|---|---|
| pack-priv String hostport | |
| priority | back to summary |
|---|---|
| pack-priv int priority | |
| sum | back to summary |
|---|---|
| pack-priv int sum | |
| weight | back to summary |
|---|---|
| pack-priv int weight | |
| SrvRecord | back to summary |
|---|---|
| pack-priv SrvRecord(String srvRecord) throws Exception Creates a service record object from a string record. DNS supplies the string record in the following format:
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(KrbServiceLocator. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |