/** * Get KDC TCP port * * @return The kdc tcp port */ public int getKdcTcpPort() { Integer kdcPort = getInt(KrbConfigKey.KDC_TCP_PORT, true, LIBDEFAULT); if (kdcPort != null && kdcPort > 0) { return kdcPort.intValue(); } return getKdcPort(); }
/** * Get KDC UDP port * * @return The kdc udp port */ public int getKdcUdpPort() { Integer kdcPort = getInt(KrbConfigKey.KDC_UDP_PORT, true, LIBDEFAULT); if (kdcPort != null && kdcPort > 0) { return kdcPort.intValue(); } return getKdcPort(); }
/** * Get KDC UDP port * * @return The kdc udp port */ public int getKdcUdpPort() { Integer kdcPort = getInt(KrbConfigKey.KDC_UDP_PORT, true, LIBDEFAULT); if (kdcPort != null && kdcPort > 0) { return kdcPort.intValue(); } return getKdcPort(); }
/** * Get KDC TCP port * * @return The kdc tcp port */ public int getKdcTcpPort() { Integer kdcPort = getInt(KrbConfigKey.KDC_TCP_PORT, true, LIBDEFAULT); if (kdcPort != null && kdcPort > 0) { return kdcPort.intValue(); } return getKdcPort(); }