Class 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 Detail

      • UsernamePasswordToken

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

      • getPrincipal

        public String getPrincipal()
      • getPassword

        public char[] getPassword()