Class UsernamePasswordToken

java.lang.Object
org.yamcs.security.UsernamePasswordToken
All Implemented Interfaces:
AuthenticationToken

public class UsernamePasswordToken extends Object implements AuthenticationToken
A password-based token, usually associated with BASIC AUTH requests (convenient through curl)
  • Constructor Details

    • UsernamePasswordToken

      public UsernamePasswordToken(String username, char[] password)
  • Method Details

    • getPrincipal

      public String getPrincipal()
    • getPassword

      public char[] getPassword()
    • toString

      public String toString()
      Overrides:
      toString in class Object