All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitnesse.fixtures.AuthenticatorSetup Maven / Gradle / Ivy

There is a newer version: 20250223
Show newest version
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the CPL Common Public License version 1.0.
package fitnesse.fixtures;

import static fitnesse.fixtures.FitnesseFixtureContext.authenticator;
import fitnesse.authentication.OneUserAuthenticator;

public class AuthenticatorSetup
{
  private String username;
  private String password;

  public String status() {
    authenticator = new OneUserAuthenticator(username, password);
    return "ok";
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public void setPassword(String password) {
    this.password = password;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy