
fitnesse.fixtures.AuthenticatorSetup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
// 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