Record Class AuthConfig.LdapConfig
java.lang.Object
java.lang.Record
com.loomcache.common.config.AuthConfig.LdapConfig
- Enclosing class:
AuthConfig
-
Constructor Summary
ConstructorsConstructorDescriptionLdapConfig(boolean enabled, String userProvider, @Nullable String authIdentity, @Nullable String userFilter, @Nullable String authzIdentity, boolean useSsl, AuthConfig.LoginModuleControlFlag controlFlag, Map<String, String> options) Creates an instance of aLdapConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theauthIdentityrecord component.@Nullable StringReturns the value of theauthzIdentityrecord component.Returns the value of thecontrolFlagrecord component.static AuthConfig.LdapConfigdisabled()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.options()Returns the value of theoptionsrecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringReturns the value of theuserFilterrecord component.Returns the value of theuserProviderrecord component.booleanuseSsl()Returns the value of theuseSslrecord component.
-
Constructor Details
-
LdapConfig
public LdapConfig(boolean enabled, String userProvider, @Nullable String authIdentity, @Nullable String userFilter, @Nullable String authzIdentity, boolean useSsl, AuthConfig.LoginModuleControlFlag controlFlag, Map<String, String> options) Creates an instance of aLdapConfigrecord class.- Parameters:
enabled- the value for theenabledrecord componentuserProvider- the value for theuserProviderrecord componentauthIdentity- the value for theauthIdentityrecord componentuserFilter- the value for theuserFilterrecord componentauthzIdentity- the value for theauthzIdentityrecord componentuseSsl- the value for theuseSslrecord 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
-
userProvider
Returns the value of theuserProviderrecord component.- Returns:
- the value of the
userProviderrecord component
-
authIdentity
Returns the value of theauthIdentityrecord component.- Returns:
- the value of the
authIdentityrecord component
-
userFilter
Returns the value of theuserFilterrecord component.- Returns:
- the value of the
userFilterrecord component
-
authzIdentity
Returns the value of theauthzIdentityrecord component.- Returns:
- the value of the
authzIdentityrecord component
-
useSsl
public boolean useSsl()Returns the value of theuseSslrecord component.- Returns:
- the value of the
useSslrecord component
-
controlFlag
Returns the value of thecontrolFlagrecord component.- Returns:
- the value of the
controlFlagrecord component
-
options
-