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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Is to allow TCP for KDC
    boolean
    Is to allow UDP for KDC
    boolean
     
    Get KDC host name
    int
    Get KDC port, as both TCP and UDP ports
    Get KDC realm.
    int
    Get KDC TCP port
    int
    Get KDC UDP port
     
     
     

    Methods inherited from class org.apache.kerby.kerberos.kerb.common.Krb5Conf

    addKrb5Config, getBoolean, getEncryptionTypes, getEncryptionTypes, getEncTypes, getInt, getLong, getSection, getString, getStringArray

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdminConfig

      public AdminConfig()
  • Method Details

    • enableDebug

      public boolean enableDebug()
    • getAdminHost

      public String 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

      public String getAdminRealm()
      Get KDC realm.
      Returns:
      The kdc realm
    • getKeyTabFile

      public String getKeyTabFile()
    • getProtocol

      public String getProtocol()
    • getServerName

      public String getServerName()