Record Class AuthConfig.KerberosConfig

java.lang.Object
java.lang.Record
com.loomcache.common.config.AuthConfig.KerberosConfig
Enclosing class:
AuthConfig

public static record AuthConfig.KerberosConfig(boolean enabled, String loginModuleClassName, @Nullable String principal, @Nullable String keyTab, boolean useKeyTab, boolean storeKey, boolean useTicketCache, @Nullable String ticketCache, boolean renewTgt, boolean doNotPrompt, boolean isInitiator, boolean refreshKrb5Config, boolean debug, AuthConfig.LoginModuleControlFlag controlFlag, Map<String,String> options) extends Record
  • Constructor Details

    • KerberosConfig

      public KerberosConfig(boolean enabled, String loginModuleClassName, @Nullable String principal, @Nullable String keyTab, boolean useKeyTab, boolean storeKey, boolean useTicketCache, @Nullable String ticketCache, boolean renewTgt, boolean doNotPrompt, boolean isInitiator, boolean refreshKrb5Config, boolean debug, AuthConfig.LoginModuleControlFlag controlFlag, Map<String,String> options)
      Creates an instance of a KerberosConfig record class.
      Parameters:
      enabled - the value for the enabled record component
      loginModuleClassName - the value for the loginModuleClassName record component
      principal - the value for the principal record component
      keyTab - the value for the keyTab record component
      useKeyTab - the value for the useKeyTab record component
      storeKey - the value for the storeKey record component
      useTicketCache - the value for the useTicketCache record component
      ticketCache - the value for the ticketCache record component
      renewTgt - the value for the renewTgt record component
      doNotPrompt - the value for the doNotPrompt record component
      isInitiator - the value for the isInitiator record component
      refreshKrb5Config - the value for the refreshKrb5Config record component
      debug - the value for the debug record component
      controlFlag - the value for the controlFlag record component
      options - the value for the options record component
  • Method Details

    • disabled

      public static AuthConfig.KerberosConfig disabled()
    • loginModuleOptions

      public Map<String,String> loginModuleOptions()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • enabled

      public boolean enabled()
      Returns the value of the enabled record component.
      Returns:
      the value of the enabled record component
    • loginModuleClassName

      public String loginModuleClassName()
      Returns the value of the loginModuleClassName record component.
      Returns:
      the value of the loginModuleClassName record component
    • principal

      public @Nullable String principal()
      Returns the value of the principal record component.
      Returns:
      the value of the principal record component
    • keyTab

      public @Nullable String keyTab()
      Returns the value of the keyTab record component.
      Returns:
      the value of the keyTab record component
    • useKeyTab

      public boolean useKeyTab()
      Returns the value of the useKeyTab record component.
      Returns:
      the value of the useKeyTab record component
    • storeKey

      public boolean storeKey()
      Returns the value of the storeKey record component.
      Returns:
      the value of the storeKey record component
    • useTicketCache

      public boolean useTicketCache()
      Returns the value of the useTicketCache record component.
      Returns:
      the value of the useTicketCache record component
    • ticketCache

      public @Nullable String ticketCache()
      Returns the value of the ticketCache record component.
      Returns:
      the value of the ticketCache record component
    • renewTgt

      public boolean renewTgt()
      Returns the value of the renewTgt record component.
      Returns:
      the value of the renewTgt record component
    • doNotPrompt

      public boolean doNotPrompt()
      Returns the value of the doNotPrompt record component.
      Returns:
      the value of the doNotPrompt record component
    • isInitiator

      public boolean isInitiator()
      Returns the value of the isInitiator record component.
      Returns:
      the value of the isInitiator record component
    • refreshKrb5Config

      public boolean refreshKrb5Config()
      Returns the value of the refreshKrb5Config record component.
      Returns:
      the value of the refreshKrb5Config record component
    • debug

      public boolean debug()
      Returns the value of the debug record component.
      Returns:
      the value of the debug record component
    • controlFlag

      public AuthConfig.LoginModuleControlFlag controlFlag()
      Returns the value of the controlFlag record component.
      Returns:
      the value of the controlFlag record component
    • options

      public Map<String,String> options()
      Returns the value of the options record component.
      Returns:
      the value of the options record component