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:
11: public String password;
12:
13: public String status() {
14: FitnesseFixtureContext.context.authenticator = new OneUserAuthenticator(
15: username, password);
16: return "ok";
17: }
18: }
|