Class AuthenticationInfo


  • public final class AuthenticationInfo
    extends Object
    A class that holds the user and password for the connection to the server. Used by the HttpConnectorAddress class. Instances of this class are immutable.
    • Constructor Detail

      • AuthenticationInfo

        public AuthenticationInfo​(String user,
                                  String password)
        Parameters:
        user - the user name for the connection
        password - the clear text password for the connection
      • AuthenticationInfo

        public AuthenticationInfo​(String user,
                                  char[] password)
        Parameters:
        user - the user name for the connection
        password - the clear text password for the connection
    • Method Detail

      • getUser

        public String getUser()
        Returns the user name.
        Returns:
        String
      • getPassword

        public String getPassword()
        Returns the password in clear text.
        Returns:
        String