Class AdminConfig
java.lang.Object
org.apache.kerby.config.Conf
org.apache.kerby.kerberos.kerb.common.Krb5Conf
org.apache.kerby.kerberos.kerb.admin.kadmin.remote.AdminConfig
- All Implemented Interfaces:
org.apache.kerby.config.Config
public class AdminConfig
extends org.apache.kerby.kerberos.kerb.common.Krb5Conf
Kerb client side configuration API.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kerby.kerberos.kerb.common.Krb5Conf
addKrb5Config, getBoolean, getEncryptionTypes, getEncryptionTypes, getEncTypes, getInt, getLong, getSection, getString, getStringArrayMethods inherited from class org.apache.kerby.config.Conf
addIniConfig, addJsonConfig, addMapConfig, addPropertiesConfig, addPropertiesConfig, addResource, addXmlConfig, getBoolean, getBoolean, getBoolean, getClass, getClass, getClass, getConfig, getConfig, getFloat, getFloat, getFloat, getInstance, getInstance, getInstance, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getNames, getResource, getString, getString, getString, getTrimmed, getTrimmed, reload, setBoolean, setBoolean, setFloat, setFloat, setInt, setInt, setLong, setLong, setString, setString
-
Constructor Details
-
AdminConfig
public AdminConfig()
-
-
Method Details
-
enableDebug
public boolean enableDebug() -
getAdminHost
Get KDC host name- Returns:
- The kdc host
-
getAdminPort
public int getAdminPort()Get KDC port, as both TCP and UDP ports- Returns:
- The kdc host
-
getAdminTcpPort
public int getAdminTcpPort()Get KDC TCP port- Returns:
- The kdc tcp port
-
allowUdp
public boolean allowUdp()Is to allow UDP for KDC- Returns:
- true to allow UDP, false otherwise
-
allowTcp
public boolean allowTcp()Is to allow TCP for KDC- Returns:
- true to allow TCP, false otherwise
-
getAdminUdpPort
public int getAdminUdpPort()Get KDC UDP port- Returns:
- The kdc udp port
-
getAdminRealm
Get KDC realm.- Returns:
- The kdc realm
-
getKeyTabFile
-
getProtocol
-
getServerName
-