Module org.elasticsearch.xcore
Record Class SamlRealmSettings.UserAttributeNameConfiguration
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.core.security.authc.saml.SamlRealmSettings.UserAttributeNameConfiguration
- Enclosing class:
SamlRealmSettings
-
Constructor Summary
ConstructorsConstructorDescriptionUserAttributeNameConfiguration(String principal, String dn, String name, String mail) Creates an instance of aUserAttributeNameConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondn()Returns the value of thednrecord component.final booleanIndicates whether some other object is "equal to" this one.fromConfig(RealmConfig config) final inthashCode()Returns a hash code value for this object.mail()Returns the value of themailrecord component.name()Returns the value of thenamerecord component.Returns the value of theprincipalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UserAttributeNameConfiguration
Creates an instance of aUserAttributeNameConfigurationrecord class.- Parameters:
principal- the value for theprincipalrecord componentdn- the value for thednrecord componentname- the value for thenamerecord componentmail- the value for themailrecord component
-
-
Method Details
-
fromConfig
-
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. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
principal
Returns the value of theprincipalrecord component.- Returns:
- the value of the
principalrecord component
-
dn
Returns the value of thednrecord component.- Returns:
- the value of the
dnrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
mail
Returns the value of themailrecord component.- Returns:
- the value of the
mailrecord component
-