Enum KrbOption

java.lang.Object
java.lang.Enum<KrbOption>
org.apache.kerby.kerberos.kerb.client.KrbOption
All Implemented Interfaces:
Serializable, Comparable<KrbOption>, org.apache.kerby.KOption

public enum KrbOption extends Enum<KrbOption> implements org.apache.kerby.KOption
This defines all the options that come across the client side.
  • Enum Constant Details

    • NONE

      public static final KrbOption NONE
    • KDC_REALM

      public static final KrbOption KDC_REALM
    • KDC_HOST

      public static final KrbOption KDC_HOST
    • KDC_TCP_PORT

      public static final KrbOption KDC_TCP_PORT
    • ALLOW_UDP

      public static final KrbOption ALLOW_UDP
    • ALLOW_TCP

      public static final KrbOption ALLOW_TCP
    • KDC_UDP_PORT

      public static final KrbOption KDC_UDP_PORT
    • CONN_TIMEOUT

      public static final KrbOption CONN_TIMEOUT
    • LIFE_TIME

      public static final KrbOption LIFE_TIME
    • START_TIME

      public static final KrbOption START_TIME
    • RENEWABLE_TIME

      public static final KrbOption RENEWABLE_TIME
    • INCLUDE_ADDRESSES

      public static final KrbOption INCLUDE_ADDRESSES
    • AS_ENTERPRISE_PN

      public static final KrbOption AS_ENTERPRISE_PN
    • CLIENT_PRINCIPAL

      public static final KrbOption CLIENT_PRINCIPAL
    • USE_PASSWD

      public static final KrbOption USE_PASSWD
    • USER_PASSWD

      public static final KrbOption USER_PASSWD
    • USE_KEYTAB

      public static final KrbOption USE_KEYTAB
    • USE_DFT_KEYTAB

      public static final KrbOption USE_DFT_KEYTAB
    • KEYTAB_FILE

      public static final KrbOption KEYTAB_FILE
    • KRB5_CACHE

      public static final KrbOption KRB5_CACHE
    • SERVICE_PRINCIPAL

      public static final KrbOption SERVICE_PRINCIPAL
    • SERVER_PRINCIPAL

      public static final KrbOption SERVER_PRINCIPAL
    • ARMOR_CACHE

      public static final KrbOption ARMOR_CACHE
    • TGT

      public static final KrbOption TGT
    • USE_TGT

      public static final KrbOption USE_TGT
    • CONF_DIR

      public static final KrbOption CONF_DIR
  • Method Details

    • values

      public static KrbOption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static KrbOption valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOptionInfo

      public org.apache.kerby.KOptionInfo getOptionInfo()
      Specified by:
      getOptionInfo in interface org.apache.kerby.KOption
    • fromOptionName

      public static KrbOption fromOptionName(String optionName)