Record Class AuthConfig.JaasConfig
java.lang.Object
java.lang.Record
com.loomcache.common.config.AuthConfig.JaasConfig
- Enclosing class:
AuthConfig
-
Constructor Summary
ConstructorsConstructorDescriptionJaasConfig(boolean enabled, String loginContextName, List<AuthConfig.LoginModuleConfig> loginModules, Set<String> rolePrincipalClassNames) Creates an instance of aJaasConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthConfig.JaasConfigdisabled()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.Returns the value of theloginContextNamerecord component.Returns the value of theloginModulesrecord component.Returns the value of therolePrincipalClassNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JaasConfig
public JaasConfig(boolean enabled, String loginContextName, List<AuthConfig.LoginModuleConfig> loginModules, Set<String> rolePrincipalClassNames) Creates an instance of aJaasConfigrecord class.- Parameters:
enabled- the value for theenabledrecord componentloginContextName- the value for theloginContextNamerecord componentloginModules- the value for theloginModulesrecord componentrolePrincipalClassNames- the value for therolePrincipalClassNamesrecord component
-
-
Method Details
-
disabled
-
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
-
loginContextName
Returns the value of theloginContextNamerecord component.- Returns:
- the value of the
loginContextNamerecord component
-
loginModules
Returns the value of theloginModulesrecord component.- Returns:
- the value of the
loginModulesrecord component
-
rolePrincipalClassNames
-