Class UsernameAndPassword

java.lang.Object
com.tangosol.net.security.UsernameAndPassword

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

    • 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 Details

    • getUsername

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

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