Record Class LdapConnectionParameters
java.lang.Object
java.lang.Record
org.forgerock.am.identity.application.model.LdapConnectionParameters
- Record Components:
ldapServers- the LDAP serversldapUser- the LDAP user.ldapPassword- the LDAP password.startSearchLocation- the start search location.useStartTls- whether to use StartTLS.mtlsEnabled- whether to use mutual TLS.mtlsSecretLabel- the mutual TLS secret label.realm- the realm.
@Builder
public record LdapConnectionParameters(Set<org.forgerock.openam.ldap.LDAPURL> ldapServers, String ldapUser, char[] ldapPassword, String startSearchLocation, boolean useStartTls, boolean mtlsEnabled, String mtlsSecretLabel, Realm realm)
extends Record
Record representing the LDAP store connection parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionLdapConnectionParameters(Set<org.forgerock.openam.ldap.LDAPURL> ldapServers, String ldapUser, char[] ldapPassword, String startSearchLocation, boolean useStartTls, boolean mtlsEnabled, String mtlsSecretLabel, Realm realm) Creates an instance of aLdapConnectionParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.forgerock.am.identity.application.model.LdapConnectionParametersBuilderbuilder()Creates a newBuilderinstance forLdapConnectionParameters.booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.char[]Returns the value of theldapPasswordrecord component.Set<org.forgerock.openam.ldap.LDAPURL>Returns the value of theldapServersrecord component.ldapUser()Returns the value of theldapUserrecord component.booleanReturns the value of themtlsEnabledrecord component.Returns the value of themtlsSecretLabelrecord component.realm()Returns the value of therealmrecord component.Returns the value of thestartSearchLocationrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseStartTlsrecord component.
-
Constructor Details
-
LdapConnectionParameters
public LdapConnectionParameters(Set<org.forgerock.openam.ldap.LDAPURL> ldapServers, String ldapUser, char[] ldapPassword, String startSearchLocation, boolean useStartTls, boolean mtlsEnabled, String mtlsSecretLabel, Realm realm) Creates an instance of aLdapConnectionParametersrecord class.- Parameters:
ldapServers- the value for theldapServersrecord componentldapUser- the value for theldapUserrecord componentldapPassword- the value for theldapPasswordrecord componentstartSearchLocation- the value for thestartSearchLocationrecord componentuseStartTls- the value for theuseStartTlsrecord componentmtlsEnabled- the value for themtlsEnabledrecord componentmtlsSecretLabel- the value for themtlsSecretLabelrecord componentrealm- the value for therealmrecord component
-
-
Method Details
-
builder
public static org.forgerock.am.identity.application.model.LdapConnectionParametersBuilder builder()Creates a newBuilderinstance forLdapConnectionParameters. -
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 '=='. -
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. -
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. -
ldapServers
Returns the value of theldapServersrecord component.- Returns:
- the value of the
ldapServersrecord component
-
ldapUser
Returns the value of theldapUserrecord component.- Returns:
- the value of the
ldapUserrecord component
-
ldapPassword
public char[] ldapPassword()Returns the value of theldapPasswordrecord component.- Returns:
- the value of the
ldapPasswordrecord component
-
startSearchLocation
Returns the value of thestartSearchLocationrecord component.- Returns:
- the value of the
startSearchLocationrecord component
-
useStartTls
public boolean useStartTls()Returns the value of theuseStartTlsrecord component.- Returns:
- the value of the
useStartTlsrecord component
-
mtlsEnabled
public boolean mtlsEnabled()Returns the value of themtlsEnabledrecord component.- Returns:
- the value of the
mtlsEnabledrecord component
-
mtlsSecretLabel
Returns the value of themtlsSecretLabelrecord component.- Returns:
- the value of the
mtlsSecretLabelrecord component
-
realm
Returns the value of therealmrecord component.- Returns:
- the value of the
realmrecord component
-