Class UsernamePasswordCredentials

    • Constructor Detail

      • UsernamePasswordCredentials

        @Deprecated
        public UsernamePasswordCredentials​(java.lang.String usernamePassword)
        Deprecated.
        (4.5) will be replaced with String, char[] in 5.0
        The constructor with the username and password combined string argument.
        Parameters:
        usernamePassword - the username:password formed string
        See Also:
        toString()
      • UsernamePasswordCredentials

        public UsernamePasswordCredentials​(java.lang.String userName,
                                           java.lang.String password)
        The constructor with the username and password arguments.
        Parameters:
        userName - the user name
        password - the password
    • Method Detail

      • getUserName

        public java.lang.String getUserName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object