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 Summary
ConstructorsConstructorDescriptionKerberosConfig(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 aKerberosConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontrolFlagrecord component.booleandebug()Returns the value of thedebugrecord component.static AuthConfig.KerberosConfigdisabled()booleanReturns the value of thedoNotPromptrecord component.booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisInitiatorrecord component.@Nullable StringkeyTab()Returns the value of thekeyTabrecord component.Returns the value of theloginModuleClassNamerecord component.options()Returns the value of theoptionsrecord component.@Nullable StringReturns the value of theprincipalrecord component.booleanReturns the value of therefreshKrb5Configrecord component.booleanrenewTgt()Returns the value of therenewTgtrecord component.booleanstoreKey()Returns the value of thestoreKeyrecord component.@Nullable StringReturns the value of theticketCacherecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseKeyTabrecord component.booleanReturns the value of theuseTicketCacherecord component.
-
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 aKerberosConfigrecord class.- Parameters:
enabled- the value for theenabledrecord componentloginModuleClassName- the value for theloginModuleClassNamerecord componentprincipal- the value for theprincipalrecord componentkeyTab- the value for thekeyTabrecord componentuseKeyTab- the value for theuseKeyTabrecord componentstoreKey- the value for thestoreKeyrecord componentuseTicketCache- the value for theuseTicketCacherecord componentticketCache- the value for theticketCacherecord componentrenewTgt- the value for therenewTgtrecord componentdoNotPrompt- the value for thedoNotPromptrecord componentisInitiator- the value for theisInitiatorrecord componentrefreshKrb5Config- the value for therefreshKrb5Configrecord componentdebug- the value for thedebugrecord componentcontrolFlag- the value for thecontrolFlagrecord componentoptions- the value for theoptionsrecord component
-
-
Method Details
-
disabled
-
loginModuleOptions
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
loginModuleClassName
Returns the value of theloginModuleClassNamerecord component.- Returns:
- the value of the
loginModuleClassNamerecord component
-
principal
Returns the value of theprincipalrecord component.- Returns:
- the value of the
principalrecord component
-
keyTab
Returns the value of thekeyTabrecord component.- Returns:
- the value of the
keyTabrecord component
-
useKeyTab
public boolean useKeyTab()Returns the value of theuseKeyTabrecord component.- Returns:
- the value of the
useKeyTabrecord component
-
storeKey
public boolean storeKey()Returns the value of thestoreKeyrecord component.- Returns:
- the value of the
storeKeyrecord component
-
useTicketCache
public boolean useTicketCache()Returns the value of theuseTicketCacherecord component.- Returns:
- the value of the
useTicketCacherecord component
-
ticketCache
Returns the value of theticketCacherecord component.- Returns:
- the value of the
ticketCacherecord component
-
renewTgt
public boolean renewTgt()Returns the value of therenewTgtrecord component.- Returns:
- the value of the
renewTgtrecord component
-
doNotPrompt
public boolean doNotPrompt()Returns the value of thedoNotPromptrecord component.- Returns:
- the value of the
doNotPromptrecord component
-
isInitiator
public boolean isInitiator()Returns the value of theisInitiatorrecord component.- Returns:
- the value of the
isInitiatorrecord component
-
refreshKrb5Config
public boolean refreshKrb5Config()Returns the value of therefreshKrb5Configrecord component.- Returns:
- the value of the
refreshKrb5Configrecord component
-
debug
public boolean debug()Returns the value of thedebugrecord component.- Returns:
- the value of the
debugrecord component
-
controlFlag
Returns the value of thecontrolFlagrecord component.- Returns:
- the value of the
controlFlagrecord component
-
options
-