/** * Is to allow UDP for KDC * @return true to allow UDP, false otherwise */ public Boolean allowUdp() { return getBoolean(AdminServerConfigKey.ADMIN_ALLOW_UDP, true, KDCDEFAULT) || getInt(AdminServerConfigKey.ADMIN_UDP_PORT, true, KDCDEFAULT) != null || getInt(AdminServerConfigKey.ADMIN_PORT, false, KDCDEFAULT) != null; }
public AbstractInternalAdminServer(AdminServerSetting adminServerSetting) { this.adminServerSetting = adminServerSetting; this.adminServerConfig = adminServerSetting.getAdminServerConfig(); this.backendConfig = adminServerSetting.getBackendConfig(); }
public String getAdminRealm() { return adminServerSetting.getAdminRealm(); } }
public String getServerName() { return getString(AdminServerConfigKey.SERVER_NAME, true, KDCDEFAULT); } }
public boolean enableDebug() { return getBoolean(AdminServerConfigKey.KRB_DEBUG, true, KDCDEFAULT); }
protected String getServiceName() { return adminServerConfig.getAdminServiceName(); }
public boolean enableDebug() { return adminServerConfig.enableDebug(); }
/** * Is to allow TCP for KDC * @return true to allow TCP, false otherwise */ public Boolean allowTcp() { return getBoolean(AdminServerConfigKey.ADMIN_ALLOW_TCP, true, KDCDEFAULT) || getInt(AdminServerConfigKey.ADMIN_TCP_PORT, true, KDCDEFAULT) != null || getInt(AdminServerConfigKey.ADMIN_PORT, false, KDCDEFAULT) != null; }
public String getServerName() { return getString(AdminServerConfigKey.SERVER_NAME, true, KDCDEFAULT); } }
public AbstractInternalAdminServer(AdminServerSetting adminServerSetting) { this.adminServerSetting = adminServerSetting; this.adminServerConfig = adminServerSetting.getAdminServerConfig(); this.backendConfig = adminServerSetting.getBackendConfig(); }
public String getAdminRealm() { return adminServerSetting.getAdminRealm(); } }
/** * Is to allow UDP for KDC * @return true to allow UDP, false otherwise */ public Boolean allowUdp() { return getBoolean(AdminServerConfigKey.ADMIN_ALLOW_UDP, true, KDCDEFAULT) || getInt(AdminServerConfigKey.ADMIN_UDP_PORT, true, KDCDEFAULT) != null || getInt(AdminServerConfigKey.ADMIN_PORT, false, KDCDEFAULT) != null; }
public String getAdminHost() { return getString(AdminServerConfigKey.ADMIN_HOST, true, KDCDEFAULT); }
/** * Is to allow TCP for KDC * @return true to allow TCP, false otherwise */ public Boolean allowTcp() { return getBoolean(AdminServerConfigKey.ADMIN_ALLOW_TCP, true, KDCDEFAULT) || getInt(AdminServerConfigKey.ADMIN_TCP_PORT, true, KDCDEFAULT) != null || getInt(AdminServerConfigKey.ADMIN_PORT, false, KDCDEFAULT) != null; }
public String getAdminServiceName() { return getString(AdminServerConfigKey.ADMIN_SERVICE_NAME, true, KDCDEFAULT); }
public String getKeyTabFile() { return getString(AdminServerConfigKey.KEYTAB_FILE, true, KDCDEFAULT); }
public String getProtocol() { return getString(AdminServerConfigKey.PROTOCOL, true, KDCDEFAULT); }
public String getAdminServiceName() { return getString(AdminServerConfigKey.ADMIN_SERVICE_NAME, true, KDCDEFAULT); }
public String getAdminRealm() { return getString(AdminServerConfigKey.ADMIN_REALM, true, KDCDEFAULT); }
public String getAdminRealm() { return getString(AdminServerConfigKey.ADMIN_REALM, true, KDCDEFAULT); }