Class UsernameAndPassword


  • public class UsernameAndPassword
    extends Object
    Security token containing a username and password.
    Author:
    as 2011.12.23
    • Constructor Detail

      • UsernameAndPassword

        public UsernameAndPassword​(String sUsername,
                                   String sPassword)
        Construct a new UsernameAndPassword instance.
        Parameters:
        sUsername - the username
        sPassword - the password
      • UsernameAndPassword

        public UsernameAndPassword​(String sUsername,
                                   char[] acPassword)
        Construct a new UsernameAndPassword instance.
        Parameters:
        sUsername - the username
        acPassword - the password
    • Method Detail

      • getUsername

        public String getUsername()
        Return the username.
        Returns:
        the username
      • getPassword

        public char[] getPassword()
        Return the password.
        Returns:
        the password