01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.fixtures;
04:
05: import fit.ColumnFixture;
06: import fitnesse.authentication.OneUserAuthenticator;
07:
08: public class AuthenticatorSetup extends ColumnFixture {
09: public String username;
10: public String password;
11:
12: public String status() {
13: FitnesseFixtureContext.context.authenticator = new OneUserAuthenticator(
14: username, password);
15: return "ok";
16: }
17: }
|