Record Class AuthenticationInfo
java.lang.Object
java.lang.Record
ecmwf.common.ssh.AuthenticationInfo
- Record Components:
host- the hostuser- the userpassword- the password
public record AuthenticationInfo(String host, String user, IncomingProfile profile, UserSession session)
extends Record
ECMWF Product Data Store (ECPDS) Project.
- Since:
- 2024-07-01
- Version:
- 6.7.7
- Author:
- Laurent Gougeon invalid input: '<'syi@ecmwf.int>, ECMWF.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.sshd.common.AttributeRepository.AttributeKey<AuthenticationInfo> The Constant authenticationInfo. -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationInfo(String host, String user, IncomingProfile profile, UserSession session) Creates an instance of aAuthenticationInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.host()Returns the value of thehostrecord component.profile()Returns the value of theprofilerecord component.session()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Field Details
-
AUTHENTICATION_INFO
public static final org.apache.sshd.common.AttributeRepository.AttributeKey<AuthenticationInfo> AUTHENTICATION_INFOThe Constant authenticationInfo.
-
-
Constructor Details
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
host
-
user
-
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-